Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 90 for projected (0.39 sec)

  1. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/AbstractFunctionalTypeTest.kt

        protected
        fun <T : Any> assertDeferredEvaluationOf(deferred: T, force: T.() -> Any?) {
            Runtime.value = "before"
            val value = configurationCacheRoundtripOf(deferred)
    
            Runtime.value = "after"
            assertThat(
                force(value),
                equalTo("after")
            )
        }
    
        protected
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

      public void testAwait_CountDownLatch() {
        final CountDownLatch latch = new CountDownLatch(1);
        Object x =
            new Object() {
              @Override
              protected void finalize() {
                latch.countDown();
              }
            };
        x = null; // Hint to the JIT that x is unreachable
        GcFinalization.await(latch);
        assertEquals(0, latch.getCount());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. platforms/extensibility/unit-test-fixtures/src/main/java/org/gradle/testfixtures/internal/TestGlobalScopeServices.java

    public class TestGlobalScopeServices extends GlobalScopeServices {
        public TestGlobalScopeServices() {
            super(false, AgentStatus.disabled());
        }
    
        @Provides
        @Override
        protected CacheFactory createCacheFactory(FileLockManager fileLockManager, ExecutorFactory executorFactory, BuildOperationRunner buildOperationRunner) {
            return new TestInMemoryCacheFactory();
        }
    
        @Provides
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

        private final long tMinus;
    
        protected DelayedActionRunnable(long tMinus) {
          this.tMinus = tMinus;
        }
    
        @Override
        public final void run() {
          try {
            Thread.sleep(tMinus);
          } catch (InterruptedException e) {
            throw new AssertionError(e);
          }
          doAction();
        }
    
        protected abstract void doAction();
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 16:06:39 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/AbstractConfigurationCacheIntegrationTest.groovy

            fails(ENABLE_CLI_OPT, LOG_REPORT_LINK_AS_WARNING, *tasks)
        }
    
        protected void assertTestsExecuted(String testClass, String... testNames) {
            new DefaultTestExecutionResult(testDirectory)
                .testClass(testClass)
                .assertTestsExecuted(testNames)
        }
    
        protected static String removeVfsLogOutput(String normalizedOutput) {
            normalizedOutput
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/ToolingApiBackedGradleExecuter.groovy

        }
    
        void withToolingApiJvmArgs(String... args) {
            jvmArgs.addAll(args.toList())
        }
    
        @Override
        void assertCanExecute() throws AssertionError {
        }
    
        @Override
        protected ExecutionResult doRun() {
            def output = new ByteArrayOutputStream()
            def error = new ByteArrayOutputStream()
            def args = allArgs
            args.remove("--no-daemon")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/models/ProjectStateStore.kt

        private
        val currentValues = ConcurrentHashMap<K, CalculatedValueContainer<BlockAddress, *>>()
    
        protected
        abstract fun projectPathForKey(key: K): Path?
    
        protected
        abstract fun write(encoder: Encoder, value: V)
    
        protected
        abstract fun read(decoder: Decoder): V
    
        /**
         * Collects all values used during execution
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredBuildInputsTestKitInjectedJavaPluginIntegrationTest.groovy

            void assertCanExecute() throws AssertionError {
            }
    
            @Override
            protected ExecutionResult doRun() {
                def runnerResult = createRunner().build()
                return OutputScrapingExecutionResult.from(runnerResult.output, "")
            }
    
            @Override
            protected ExecutionFailure doRunWithFailure() {
                def runnerResult = createRunner().buildAndFail()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

                    stk.pop();
                }
            }
    
            @Override
            protected Activation.Builder transformActivation_ActiveByDefault(
                    Supplier<? extends Activation.Builder> creator, Activation.Builder builder, Activation target) {
                return builder;
            }
    
            @Override
            protected Activation.Builder transformActivation_File(
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 10 11:04:53 UTC 2024
    - 73.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model_test.cc

      float scale = (float_max - float_min) / ((1 << bit_num) - 1);
      EXPECT_THAT(scale, FloatNear(quantized_quant_params.scale[0], eps));
    }
    
    class QuantizeModelTest : public testing::Test {
     protected:
      QuantizeModelTest() {
        input_model_ = ReadModel(internal::kConvModelWith0Plus10Weights);
        readonly_model_ = input_model_->GetModel();
        model_ = UnPackFlatBufferModel(*readonly_model_);
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 73.9K bytes
    - Viewed (0)
Back to top