This paper first studies the graphic outer and inner cut by convex polygon, then the graphic cut by arbitrary polygon. Its application of compiler program proves to be satisfactory.
本文首先讨论了凸多边形对图形的外裁剪和内裁剪,在此基础上研究了任意多边形对图形的裁剪问题,通过编程应用,效果良好。
By compiling before the program executes, the AOT compiler must be conservative about classes, fields, and methods referenced by the code it compiles.
由于在程序执行前进行编译,AOT编译器必须谨慎对待它所编译的代码所引用的类、字段和方法。
But the computer scientist definitely will understand what's happening in the compiler, operating system, and CPU when a program is compiled and run.
但是计算机科学家明确知道,当一个程序在编译和运行时,在编译器、操作系统、CPU中发生着什么。
Isn't it amazing how much code the compiler actually generates for such a tiny program?
对于这么一个小的程序,编译器生成了这么多的代码,真的很令人惊异!
Perhaps the best and most successful example of this is a compiler, which translates a high-level language program into an equivalent machine language implementation.
也许这方面最好和最成功的例子就是编译器,它能够将一个高级语言程序解释成一个与之相当的机器语言的执行程序。
A compiled program will need to be recompiled to move it to another platform, and thus will require a compiler.
编译的程序需要重新编译,才能迁移到另一个平台上,因此需要编译器。
If you compile the program containing unwanted elements with the THREAD compiler option, they are flagged as errors.
如果使用THREAD编译器选项编译包含不恰当元素的程序,则会将这些元素标记为错误。
To compile this program, you need the C compiler and the development files (headers and libraries) for GTK+.
要编译这个程序,需要C编译器和GTK+的开发文件(头和库)。
However, the JIT compiler must also carefully balance the time it takes to compile a program because that time adds to the program's execution time.
然而,JIT编译器还必须注意抵消它编译程序消耗的时间,因为这些时间将延长程序的执行时间。
Unsurprisingly, neither compiler does nearly as well as the hand-coded assembly language version from the previous article, but for this program XLC outperformed GCC.
毫不奇怪,没有哪种编译器可以接近上一篇文章中手工编写的汇编语言版本,不过对于这个程序来说,XLC的效果比GCC更好。
To make a recursive call, you must either code the recursive clause (or attribute) in the PROGRAM-ID paragraph of the recursively called program or specify the THREAD compiler option.
要执行递归调用,必须在以递归方式调用的程序的PROGRAM - ID段落中编写RECURsive子句(或属性),或指定THREAD编译器选项。
The compiler is free to reorder certain instructions as an optimization when it would not change the semantics of the program.
当编译器不会改变程序的语义时,作为一种优化它可以随意地重新排序某些指令。
If your program has the RECURSIVE attribute or is compiled with the THREAD compiler option, data that is defined in the LINKAGE SECTION is not accessible on subsequent invocations of the program.
如果程序包含RECUR SIVE属性,或使用THREAD编译器选项编译,那么后续的程序调用将无法访问LINKAGESECTION中定义的数据。
If the program is such that the compiler cannot vectorize, it automatically tries to call the equivalent MASS scalar functions.
如果汇编器不能对程序进行向量化,它会自动试着调用等价MASS标量函数。
Note: the -ggdb option in this example differs from Nigel's article in that it tells the GNU Compiler Collection (GCC) to optimize the program for debugging with GDB.
注意:此示例中的- ggdb选项与Nigel文章中所述的选项不同,因为它告诉gnu编译器集(GCC)优化该程序,以便于使用gdb来进行调试。
Porting an application program includes using the Linux standard compiler GCC and some associated tools.
移植应用程序涉及到使用Linux标准编译器GCC和其他一些相关的工具。
Since the CLR does not support static locals, the Visual Basic compiler must do additional work to make the program successful.
因为CLR不支持静态局部变量,所以VisualBasic编译器必须执行一些额外的工作才能使该程序成功。
Note: The -ggdb option in Listing 2 differs from Nigel's article in that it tells the GCC compiler to optimize the program for debugging with the GDB Debugger, which you'll use later.
注意:清单2 中的 -ggdb选项和Nigel的文章中的内容有些不同,该选项用于告诉GCC编译器对该程序进行优化,以便使用 GDB调试工具对其进行调试,您将在以后用到该调试工具。
The first section of HelloProgram is an English-language comment, which is simply program text that is ignored by the compiler.
Hello程序的第一部分是用英语写的注释,注释一般是一段简单的文字而且编译器会忽略这一段。
When you compile a COBOL program, use the cob2_r command for non-CICS applications for which you need the THREAD compiler.
在编译COBOL程序时,可以对需要THREAD编译器的非cics应用程序使用cob2_r命令。
The sample ODBC program must be compiled by an appropriate C programming language compiler, such as Visual C++.
示例ODBC程序必须用一个适当的C语言编译器编译,例如Visual C++。
Reference counting is simple, but requires significant assistance from the compiler and imposes overhead on the mutator (the term for the user program, from the perspective of the garbage collector).
引用计数很简单,但是需要编译器的重要配合,并且增加了赋值函数(mutator)的开销(这个术语是针对用户程序的,是从垃圾收集器的角度来看的)。
The compiler is actually free to take some liberties with the program order within a thread as long as as-if-serial semantics are preserved.
编译器实际上对在线程中使用程序顺序是可以有一些自由的——只要保留了as - if -serial语义。
To tell the compiler whether your program is C or C++, this is what you need to do
为了告诉编译器您的程序是C还是 C++,需要
With WPO, the compiler can inline functions from any source file in the program.
有了WPO,编译器就可以从程序中的所有源文件内联函数。
So that is a flag that tells the compiler that I want to use or link into my own program code that someone else wrote that lives somewhere else on the system whose moniker is CS50.
所以那是一个标记,用来告诉编译器我想使用,或连接我自己的程序代码到一个叫做CS50的系统中的程序,可能其他人在那个系统写了这些程序。
For the first call to a program after a cancel of that program, or for a method invocation, the compiler initializes the fields of these special registers to their initial values.
对于某个程序被取消后的第一个调用,或对于某个方法调用,编译器会初始化这些专用寄存器的字段,将它们作为初始值。
In other words, the compiler generates pretty much the same code you would have written by hand without generics, casts and all, after checking the type-safety of your program.
换句话说,编译器生成的代码与您手工编写的不用泛型、检查程序的类型安全后进行强制类型转换所得到的代码基本相同。
Because the compiler had access to the full program source code, the MUDFLAP diagnostics are very valuable.
由于编译器可以访问完整的程序源代码,所以MUDFLAP诊断非常有价值。
Because AOT compilation occurs before the program executes, the compiler can't make any assumptions about which classes have been loaded.
因为是在程序执行前进行AOT编译的,所以编译器无法预测加载了哪些类。
应用推荐