Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 377 for expectGet (0.25 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheRemoteBuildScriptIntegrationTest.groovy

            server.start()
    
            scriptUrl = "${server.uri}/${scriptName}"
            scriptFile = file("remote-script.gradle") << """
                println 'loaded remote script'
            """
            server.expectGet "/$scriptName", scriptFile
    
            buildFile << """
                apply from: '$scriptUrl'
                task ok
            """
    
            configurationCache = newConfigurationCacheFixture()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/integTest/groovy/org/gradle/jvm/toolchain/JavaToolchainDownloadSpiAuthenticationIntegrationTest.groovy

                    }
                }
            """
    
            file("src/main/java/Foo.java") << "public class Foo {}"
    
            server.expectHead("/path/toolchain.zip", toolchainArchive)
            server.expectGet("/path/toolchain.zip", toolchainArchive)
    
            when:
            failure = executer
                    .withTasks("compileJava")
                    .requireOwnGradleUserHomeDir("needs to be able to provision fresh toolchains")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 06:41:25 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/ExternalScriptExecutionIntegrationTest.groovy

            TestFile script = testFile('external.gradle')
            server.expectUserAgent(UserAgentMatcher.matchesNameAndVersion("Gradle", GradleVersion.current().getVersion()))
            server.expectGet('/external.gradle', script)
            server.start()
    
            script << """
                task doStuff
                assert buildscript.sourceFile == null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. cni/test/testdata/expected/minikube_cni.conflist.expected

    Ben Leggett <******@****.***> 1716316321 -0400
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 875 bytes
    - Viewed (0)
  5. tensorflow/cc/experimental/base/tests/tensor_test.cc

      ASSERT_TRUE(status.ok()) << status.message();
    
      EXPECT_EQ(tensor.dims(), 1);
      EXPECT_EQ(tensor.dtype(), dtype);
      absl::Span<const typename TypeParam::type> tensor_view(
          reinterpret_cast<typename TypeParam::type*>(tensor.data()), value.size());
      EXPECT_EQ(tensor_view[0], 42);
      EXPECT_EQ(tensor_view[1], 100);
      EXPECT_EQ(tensor_view[2], 0);
      EXPECT_EQ(tensor_view[3], 1);
      EXPECT_EQ(tensor_view[4], 4);
      EXPECT_EQ(tensor_view[5], 29);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 09:56:08 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/utils/math_utils_test.cc

      EXPECT_EQ(quantized_fraction, 19661);
      EXPECT_EQ(shift, 1);
    
      EXPECT_TRUE(succeeded(QuantizeMultiplier(15.5, quantized_fraction, shift)));
      EXPECT_EQ(quantized_fraction, 31744);
      EXPECT_EQ(shift, 4);
    
      EXPECT_TRUE(succeeded(QuantizeMultiplier(1, quantized_fraction, shift)));
      EXPECT_EQ(quantized_fraction, 16384);
      EXPECT_EQ(shift, 1);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 05:58:41 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. security/pkg/server/ca/authenticate/oidc_test.go

    	tests := []struct {
    		name        string
    		expectRet   bool
    		audToCheck  []string
    		audExpected []string
    	}{
    		{
    			name:        "audience is in the expected set",
    			expectRet:   true,
    			audToCheck:  []string{"aud1"},
    			audExpected: []string{"aud1", "aud2"},
    		},
    		{
    			name:        "audience is NOT in the expected set",
    			expectRet:   false,
    			audToCheck:  []string{"aud3"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/cc/calibration/calibration_parameters_test.cc

      // Expect 2 bins: [0, 2), [2, 4].
      EXPECT_EQ(num_bins, 2);
    }
    
    TEST(CalibrationParametersTest, CalculateNumBinsNotDivisible) {
      int32_t num_bins = CalculateActualNumBins(
          /*min_value=*/0.0, /*max_value=*/5.0, /*bin_width=*/2.0);
    
      // Expect 3 bins: [0, 2), [2, 4), [4, 6].
      EXPECT_EQ(num_bins, 3);
    }
    
    TEST(CalibrationParametersTest, CalculateBinIndex) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 05 09:09:34 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_to_hlo_test.cc

      CellReader<int64_t> counts(kBridgeStatusCounter);
    
      auto result = CompileMlirModule(kMlirModuleStr);
    
      ASSERT_THAT(result, IsOkOrFiltered());
      EXPECT_EQ(mlir_bridge_legalize_count.Delta("tf.Acos"), 0);
      EXPECT_THAT(result,
                  IncrementedOrFiltered(counts.Delta(kMlirCombinedMlirSuccess), 1));
      EXPECT_THAT(result,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/transforms/xla_legalize_tf_test.cc

          "/tensorflow/core/tf2xla/v1/mlir_failed_xla_legalize_tf_pass_count");
    
      auto status = BuildAndRunPipeline(kMlirIllegalOpStr, legalizeTFPasses());
    
      EXPECT_TRUE(status);
      EXPECT_EQ(legalize_failure_count.Read("tf.DoesntExist", "Unknown"), 1);
    }
    
    TEST(XlaLegalizeTest, LegalOp) {
      // We expect legalization to fail for legal op with dynamic shapes:
      static constexpr char kMlirLegalOpStr[] = R"(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:16:07 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top