Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for NCases (0.12 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test.py

    from tensorflow.python.saved_model import tag_constants
    from tensorflow.python.types import core
    
    _CalibrationMethod = qc.CalibrationOptions.CalibrationMethod
    
    
    # Test cases for Static Range Quantization.
    # Tries to run all tests cases in both the graph mode (default in TF1) and the
    # eager mode (default in TF2) to ensure support for when TF2 is disabled.
    class StaticRangeQuantizationTest(quantize_model_test_base.QuantizedModelTest):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  2. pilot/pkg/model/telemetry_logging_test.go

    				celFormatter,
    			},
    		},
    	}
    
    	for _, tc := range cases {
    		t.Run(tc.name, func(t *testing.T) {
    			got := accessLogJSONFormatters(tc.json)
    			assert.Equal(t, tc.expected, got)
    		})
    	}
    }
    
    func TestAccessLogTextFormatters(t *testing.T) {
    	cases := []struct {
    		name     string
    		text     string
    		expected []*core.TypedExtensionConfig
    	}{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 54K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/sidecar_simulation_test.go

    		return &model.Proxy{ConfigNamespace: ns}
    	}
    	cases := []struct {
    		name            string
    		cfg             []Configer
    		proxy           *model.Proxy
    		routeName       string
    		expected        map[string][]string
    		expectedGateway map[string][]string
    		oldestWins      bool
    	}{
    		// Port 80 has special cases as there is defaulting logic around this port
    		{
    			name: "simple port 80",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  4. src/time/time_test.go

    				t0.Format(RFC3339Nano), d, rnd, t1.Format(RFC3339Nano),
    				absString(t0), int64(d), absString(rnd), absString(t1))
    			return false
    		}
    		return true
    	}
    
    	// manual test cases
    	for _, tt := range truncateRoundTests {
    		testOne(tt.t.Unix(), int64(tt.t.Nanosecond()), int64(tt.d))
    	}
    
    	// exhaustive near 0
    	for i := 0; i < 100; i++ {
    		for j := 1; j < 100; j++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/listener_test.go

    	anyPorts := append(privilegedPorts, unprivilegedPorts...)
    
    	// multiple test cases to ensure that privileged ports get treated differently
    	// only under certain conditions, namely
    	// 1) proxy explicitly indicated it is not using Iptables
    	// 2) proxy explicitly indicated it is not a privileged process (cannot bind to  1-1023)
    	cases := []struct {
    		name           string
    		unprivileged   bool // whether proxy is unprivileged
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test.go

    	return p.description
    }
    
    type ratchetingTestCase struct {
    	Name       string
    	Disabled   bool
    	Operations []ratchetingTestOperation
    }
    
    func runTests(t *testing.T, cases []ratchetingTestCase) {
    	featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.CRDValidationRatcheting, true)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 59.5K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/lib.go

    	Trampoline func(ctxt *Link, ldr *loader.Loader, ri int, rs, s loader.Sym)
    
    	// Assembling the binary breaks into two phases, writing the code/data/
    	// dwarf information (which is rather generic), and some more architecture
    	// specific work like setting up the elf headers/dynamic relocations, etc.
    	// The phases are called "Asmb" and "Asmb2". Asmb2 needs to be defined for
    	// every architecture, but only if architecture has an Asmb function will
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/PPC64.rules

                   (MOVDstorezero [16] destptr
                           (MOVDstorezero [8] destptr
                                   (MOVDstorezero [0] destptr mem))))
    
    // Handle cases not handled above
    // Lowered Short cases do not generate loops, and as a result don't clobber
    // the address registers or flags.
    (Zero [s] ptr mem) && buildcfg.GOPPC64 <= 8 && s < 64 => (LoweredZeroShort [s] ptr mem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_8.adoc

    In prior versions of Gradle, many of these circumstances were detected and handled by failing the build.
    However, some cases went undetected or did not trigger build failures.
    In Gradle 9.0, all changes to a configuration after it has been observed will become an error.
    After a configuration of any type has been observed, it should be considered immutable.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 17:01:07 UTC 2024
    - 90.7K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/NodeState.java

            // This is a heuristic, more than truth: it is possible that the 2 long hashs
            // are identical AND that the sizes of collections are identical, but it's
            // extremely unlikely (never happened on test cases even on large dependency graph)
            return cachedModuleResolutionFilter != null
                && previousIncomingHash == incomingHash
                && previousIncomingEdgeCount == incomingEdgeCount;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 58.9K bytes
    - Viewed (0)
Back to top