- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 55 for O2 (0.04 sec)
-
platforms/documentation/docs/src/snippets/cpp/basic/groovy/build.gradle
compilerArgs.add '-W3' // Define toolchain-specific compiler options compilerArgs.addAll toolChain.map { toolChain -> if (toolChain in [ Gcc, Clang ]) { return ['-O2', '-fno-access-control'] } else if (toolChain in VisualCpp) { return ['/Zi'] } return [] } } // end::cpp-compiler-options-all-variants[]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.7K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/execution/scope/internal/MojoExecutionScopeTest.java
Object o1 = new Object(); scope.seed(Object.class, o1); assertSame(o1, scope.scope(Key.get(Object.class), null).get()); scope.enter(); Object o2 = new Object(); scope.seed(Object.class, o2); assertSame(o2, scope.scope(Key.get(Object.class), null).get()); scope.exit(); assertSame(o1, scope.scope(Key.get(Object.class), null).get()); scope.exit();
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Sat Apr 15 17:24:20 UTC 2023 - 3.6K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/cpp/basic/kotlin/build.gradle.kts
compilerArgs.add("-W3") // Define toolchain-specific compiler options compilerArgs.addAll(toolChain.map { toolChain -> when (toolChain) { is Gcc, is Clang -> listOf("-O2", "-fno-access-control") is VisualCpp -> listOf("/Zi") else -> listOf() } }) } // end::cpp-compiler-options-all-variants[] // tag::cpp-compiler-options-per-variants[]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingSortedMap.java
static int unsafeCompare( @CheckForNull Comparator<?> comparator, @CheckForNull Object o1, @CheckForNull Object o2) { if (comparator == null) { return ((Comparable<@Nullable Object>) o1).compareTo(o2); } else { return ((Comparator<@Nullable Object>) comparator).compare(o1, o2); } } /** * A sensible definition of {@link #containsKey} in terms of the {@code firstKey()} method of
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 12 15:26:39 UTC 2023 - 5.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ingest/IngestFactory.java
} final Ingester[] newIngesters = Arrays.copyOf(ingesters, ingesters.length + 1); newIngesters[ingesters.length] = ingester; Arrays.sort(newIngesters, (o1, o2) -> o1.priority - o2.priority); ingesters = newIngesters; } public Ingester[] getIngesters() { return ingesters; }
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.4K bytes - Viewed (0) -
platforms/jvm/jvm-services/src/main/java/org/gradle/internal/jvm/inspection/JvmInstallationMetadataComparator.java
public JvmInstallationMetadataComparator(File currentJavaHome) { this.currentJavaHome = currentJavaHome; } @Override public int compare(JvmInstallationMetadata o1, JvmInstallationMetadata o2) { return Comparator .comparing(this::isCurrentJvm) .thenComparing(this::isJdk) .thenComparing(this::extractVendor, Comparator.reverseOrder())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 2.3K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/integtests/fixtures/FixSpockJUnitRulesOrderExtension.groovy
interceptor.ruleFields.sort(new Comparator<FieldInfo>() { @Override int compare(FieldInfo o1, FieldInfo o2) { def o1Class = o1.reflection.declaringClass def o2Class = o2.reflection.declaringClass if (o1Class != o2Class) { if (o1Class.isAssignableFrom(o2Class)) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.3K bytes - Viewed (0) -
subprojects/diagnostics/src/main/java/org/gradle/configuration/TaskDetails.java
*/ @NonNullApi class TaskDetails { final static Comparator<TaskDetails> DEFAULT_COMPARATOR = (o1, o2) -> { // tasks in higher-up projects first int depthCompare = o1.getProjectDepth() - o2.getProjectDepth(); if (depthCompare != 0) { return depthCompare; } return o1.getPath().compareTo(o2.getPath()); }; /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 11 10:07:07 UTC 2023 - 4.8K bytes - Viewed (0) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/msvcpp/VisualCppCompilerArgsTransformerTest.groovy
def args = transformer.transform(spec) args.containsAll(expected) where: debug | optimize | expected true | false | ["/Zi"] false | true | ["/O2"] true | true | ["/Zi", "/O2"] } def "transforms system header and include args correctly"() { def spec = Stub(NativeCompileSpec) def includes = [ new File("/foo"), new File("/bar") ]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/python/op_reg_gen_test.py
def _composite_no_op(): pass @Composite( 'TestCompositeOp', inputs=['x: T', 'y: T'], attrs=['act: {"", "relu"}', 'trans: bool = true'], derived_attrs=['T: numbertype'], outputs=['o1: T', 'o2: T']) def _composite_op(x, y, act, trans): return x + act, y + trans class TFRGenTensorTest(test.TestCase): """MLIR Generation Tests for MLIR TFR Program.""" def test_op_reg_gen(self):
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Sep 28 21:37:05 UTC 2021 - 2.5K bytes - Viewed (0)