Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 90 for 2345678 (0.12 sec)

  1. tests/sql_builder_test.go

    	if !regexp.MustCompile(`.*age.*=false,`).MatchString(sql) {
    		t.Errorf("Failed to generate sql, got %v", sql)
    	}
    
    	stmt = dryRunDB.Model(&user).Where("id = ?", 1).Updates(map[string]interface{}{"age": ageFloat(0.12345678)}).Statement
    	sql = DB.Dialector.Explain(stmt.SQL.String(), stmt.Vars...)
    	if !regexp.MustCompile(`.*age.*=0.123457,`).MatchString(sql) {
    		t.Errorf("Failed to generate sql, got %v", sql)
    	}
    }
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  2. pkg/registry/core/service/strategy_test.go

    			Ports: []api.ServicePort{
    				makeValidServicePort("p", "TCP", 8675),
    				makeValidServicePort("q", "TCP", 309),
    			},
    			ClusterIP:             "1.2.3.4",
    			ClusterIPs:            []string{"1.2.3.4", "5:6:7::8"},
    			IPFamilyPolicy:        &preferDual,
    			IPFamilies:            []api.IPFamily{"IPv4", "IPv6"},
    			InternalTrafficPolicy: &clusterInternalTrafficPolicy,
    		},
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

            IteratorTester.KnownOrder.KNOWN_ORDER) {
          @Override
          protected Iterator<List<Integer>> newTargetIterator() {
            Iterator<Integer> source = Iterators.forArray(1, 2, 3, 4, 5, 6, 7);
            return Iterators.partition(source, 3);
          }
        }.test();
      }
    
      public void testPartition_view() {
        List<Integer> list = asList(1, 2);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 03 13:01:51 UTC 2024
    - 55.7K bytes
    - Viewed (0)
  4. src/time/example_test.go

    	// representation of the time stamp,
    	//	Jan 2 15:04:05 2006 MST
    	// An easy way to remember this value is that it holds, when presented
    	// in this order, the values (lined up with the elements above):
    	//	  1 2  3  4  5    6  -7
    	// There are some wrinkles illustrated below.
    
    	// Most uses of Format and Parse use constant layout strings such as
    	// the ones defined in this package, but the interface is flexible,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 13 01:05:00 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  5. src/internal/bisect/bisect.go

    			start = i + 1
    			wid = 4
    			continue
    		}
    		switch c {
    		default:
    			return nil, &parseError{"invalid pattern syntax: " + pattern}
    		case '2', '3', '4', '5', '6', '7', '8', '9':
    			if wid != 4 {
    				return nil, &parseError{"invalid pattern syntax: " + pattern}
    			}
    			fallthrough
    		case '0', '1':
    			bits <<= wid
    			bits |= uint64(c - '0')
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 17:28:43 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  6. pkg/kubelet/pod_workers_test.go

    		t:         t,
    	}
    
    	tests := []struct {
    		pod       *v1.Pod
    		mirrorPod *v1.Pod
    	}{
    		{
    			&v1.Pod{},
    			&v1.Pod{},
    		},
    		{
    			podWithUIDNameNs("12345678", "foo", "new"),
    			podWithUIDNameNs("12345678", "fooMirror", "new"),
    		},
    		{
    			podWithUIDNameNs("98765", "bar", "new"),
    			podWithUIDNameNs("98765", "barMirror", "new"),
    		},
    	}
    
    	for i, tt := range tests {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 75.6K bytes
    - Viewed (0)
  7. src/runtime/hash_test.go

    	if testing.Short() {
    		t.Skip("Skipping in short mode")
    	}
    	if race.Enabled {
    		t.Skip("Too long for race mode")
    	}
    	testenv.ParallelOn64Bit(t)
    	h := newHashSet()
    	permutation(t, h, []uint32{0, 1, 2, 3, 4, 5, 6, 7}, 8)
    	permutation(t, h, []uint32{0, 1 << 29, 2 << 29, 3 << 29, 4 << 29, 5 << 29, 6 << 29, 7 << 29}, 8)
    	permutation(t, h, []uint32{0, 1}, 20)
    	permutation(t, h, []uint32{0, 1 << 31}, 20)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 17:50:18 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  8. tensorflow/cc/gradients/math_grad_test.cc

        return CRV({{-1.0f, 0.5f}, {1.0f, 0.5f}, {2, -1}});
      };
      TestCWiseGrad<complex64, complex64>(SQRT, x_fn);
    }
    
    TEST_F(CWiseUnaryGradTest, Rsqrt) {
      auto x_fn = [this](const int i) { return RV({1, 2, 3, 4, 5, 6, 7, 8}); };
      TestCWiseGrad<float, float>(RSQRT, x_fn);
    }
    
    TEST_F(CWiseUnaryGradTest, Rsqrt_Complex) {
      auto x_fn = [this](const int i) {
        return CRV({{-1.0f, 0.5f}, {1.0f, 0.5f}, {2, -1}});
      };
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 25 18:20:20 UTC 2023
    - 36K bytes
    - Viewed (0)
  9. src/time/format_test.go

    	}
    	if time.Second() != 57 {
    		t.Errorf("%s: bad second: %d not %d", test.name, time.Second(), 57)
    	}
    	// Nanoseconds must be checked against the precision of the input.
    	nanosec, err := strconv.ParseUint("012345678"[:test.fracDigits]+"000000000"[:9-test.fracDigits], 10, 0)
    	if err != nil {
    		panic(err)
    	}
    	if time.Nanosecond() != int(nanosec) {
    		t.Errorf("%s: bad nanosecond: %d not %d", test.name, time.Nanosecond(), nanosec)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:58:29 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  10. pkg/proxy/nftables/proxier_test.go

    					Name:      "very-long-service-name-why-would-you-even-do-this-i-mean-really",
    				},
    				Port: "port-443-providing-the-hypertext-transmission-protocol-with-tls",
    			},
    			protocol: "sctp",
    			endpoint: "[1234:5678:9abc:def0::abc:1234]:443",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 173.5K bytes
    - Viewed (0)
Back to top