Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 126 for NCases (0.33 sec)

  1. cmd/object-api-listobjects_test.go

    				}
    			}
    			// Since there are cases for which ListObjects fails, this is
    			// necessary. Test passes as expected, but the output values
    			// are verified for correctness here.
    			if err == nil && testCase.shouldPass {
    				// The length of the expected ListObjectsResult.Objects
    				// should match in both expected result from test cases
    				// and in the output. On failure calling t.Fatalf,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 11:07:40 UTC 2024
    - 73.1K bytes
    - Viewed (0)
  2. 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)
  3. tensorflow/c/experimental/filesystem/filesystem_interface.h

    /// that plugins provide (some are mandatory, some are optional, with or without
    /// a default implementation).
    ///
    /// Each plugin implements the operations that are supported and TensorFlow will
    /// properly handle the cases when an operation is not supported (i.e., return
    /// the corresponding `Status` value).
    ///
    /// REQUIRED OPERATIONS: All required operations are marked as such, including
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 27 17:36:54 UTC 2022
    - 53.1K bytes
    - Viewed (0)
  4. 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)
  5. plugin/pkg/admission/noderestriction/admission_test.go

    		svcacctResource  = api.Resource("serviceaccounts").WithVersion("v1")
    		tokenrequestKind = api.Kind("TokenRequest").WithVersion("v1")
    
    		leaseResource = coordination.Resource("leases").WithVersion("v1beta1")
    		leaseKind     = coordination.Kind("Lease").WithVersion("v1beta1")
    		lease         = &coordination.Lease{
    			ObjectMeta: metav1.ObjectMeta{
    				Name:      "mynode",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 73.2K 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/math/big/float_test.go

    		// prec at upper limit
    		{"0", MaxPrec, "0", Exact},
    		{"-0", MaxPrec, "-0", Exact},
    		{"-Inf", MaxPrec, "-Inf", Exact},
    		{"+Inf", MaxPrec, "+Inf", Exact},
    
    		// just a few regular cases - general rounding is tested elsewhere
    		{"1.5", 1, "2", Above},
    		{"-1.5", 1, "-2", Below},
    		{"123", 1e6, "123", Exact},
    		{"-123", 1e6, "-123", Exact},
    	} {
    		x := makeFloat(test.x).SetPrec(test.prec)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 51.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/Futures.java

       *     fetchCounterFuture, FetchException.class, x -> 0, directExecutor());
       * }</pre>
       *
       * <p>When selecting an executor, note that {@code directExecutor} is dangerous in some cases. See
       * the warnings the {@link MoreExecutors#directExecutor} documentation.
       *
       * @param input the primary input {@code Future}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  9. 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)
  10. src/html/template/exec_test.go

    var (
    	bigInt  = fmt.Sprintf("0x%x", int(1<<uint(reflect.TypeFor[int]().Bits()-1)-1))
    	bigUint = fmt.Sprintf("0x%x", uint(1<<uint(reflect.TypeFor[int]().Bits()-1)))
    )
    
    var execTests = []execTest{
    	// Trivial cases.
    	{"empty", "", "", nil, true},
    	{"text", "some text", "some text", nil, true},
    	{"nil action", "{{nil}}", "", nil, false},
    
    	// Ideal constants.
    	{"ideal int", "{{typeOf 3}}", "int", 0, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
Back to top