Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 68 for 01234567 (0.32 sec)

  1. tests/sql_builder_test.go

    		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)
    	}
    }
    
    func TestGroupConditions(t *testing.T) {
    	type Pizza struct {
    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. src/math/big/natconv_test.go

    	{"0b__1000", 0, false, nat{0x8}, 2, 4, errInvalSep, 0},
    	{"0o60___0", 0, false, nat{0600}, 8, 3, errInvalSep, 0},
    	{"0466_", 0, false, nat{0466}, 8, 3, errInvalSep, 0},
    	{"01234567_8", 0, false, nat{01234567}, 8, 7, errInvalSep, '8'},
    	{"1_.", 0, true, nat{1}, 10, 0, errInvalSep, 0},
    	{"0._1", 0, true, nat{1}, 10, -1, errInvalSep, 0},
    	{"2.7_", 0, true, nat{27}, 10, -1, errInvalSep, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 12:54:00 UTC 2019
    - 16.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/CacheEvictionTest.java

            CacheBuilder.newBuilder().concurrencyLevel(1).maximumSize(10).build(loader);
        CacheTesting.warmUp(cache, 0, 10);
        Set<Integer> keySet = cache.asMap().keySet();
        assertThat(keySet).containsExactly(0, 1, 2, 3, 4, 5, 6, 7, 8, 9);
    
        // re-order
        getAll(cache, asList(0, 1, 2));
        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).containsExactly(3, 4, 5, 6, 7, 8, 9, 0, 1, 2);
    
        // evict 3, 4, 5
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 14.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/scanner_test.go

    		{IntLit, "01293", "01293", "invalid digit '9' in octal literal"},
    		{IntLit, "0F.", "0 F .", ""}, // only accept 0-9
    		{IntLit, "0123F.", "0123 F .", ""},
    		{IntLit, "0123456x", "0123456 x", ""},
    
    		// decimals
    		{IntLit, "1", "1", ""},
    		{IntLit, "1234", "1234", ""},
    
    		{IntLit, "1f", "1 f", ""}, // only accept 0-9
    
    		{ImagLit, "0i", "0i", ""},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 14 16:11:21 UTC 2022
    - 21.9K bytes
    - Viewed (0)
  5. src/fmt/doc.go

    If width is provided, it applies after leading spaces are
    trimmed and specifies the maximum number of runes to read
    to satisfy the verb. For example,
    
    	Sscanf(" 1234567 ", "%5s%d", &s, &i)
    
    will set s to "12345" and i to 67 while
    
    	Sscanf(" 12 34 567 ", "%5s%d", &s, &i)
    
    will set s to "12" and i to 34.
    
    In all the scanning functions, a carriage return followed
    immediately by a newline is treated as a plain newline
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/testdata/arm64error.s

    	ANDW	$0x6006000060060, R27, R5                        // ERROR "cannot use REGTMP as source"
    	STP	(R3, R4), 0x1234567(R27)                         // ERROR "REGTMP used in large offset store"
    	LDP	0x1234567(R27), (R3, R4)                         // ERROR "REGTMP used in large offset load"
    	STP	(R26, R27), 700(R2)                              // ERROR "cannot use REGTMP as source"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 03:28:17 UTC 2023
    - 37.8K bytes
    - Viewed (0)
  7. src/sort/sort_test.go

    	Sort(IntSlice(data))
    }
    
    func TestReverseRange(t *testing.T) {
    	data := []int{1, 2, 3, 4, 5, 6, 7}
    	ReverseRange(IntSlice(data), 0, len(data))
    	for i := len(data) - 1; i > 0; i-- {
    		if data[i] > data[i-1] {
    			t.Fatalf("reverseRange didn't work")
    		}
    	}
    
    	data1 := []int{1, 2, 3, 4, 5, 6, 7}
    	data2 := []int{1, 2, 5, 4, 3, 6, 7}
    	ReverseRange(IntSlice(data1), 2, 5)
    	for i, v := range data1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:41:04 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/Collections2Test.java

        assertPermutationsCount(6, Collections2.permutations(newArrayList(1, 2, 3)));
        assertPermutationsCount(5040, Collections2.permutations(newArrayList(1, 2, 3, 4, 5, 6, 7)));
        assertPermutationsCount(40320, Collections2.permutations(newArrayList(1, 2, 3, 4, 5, 6, 7, 8)));
      }
    
      public void testPermutationSetSizeOverflow() {
        // 13 elements overflow an int
        assertEquals(
            Integer.MAX_VALUE,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 10:16:44 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  9. src/net/netip/fuzz_test.go

    	"127.1",
    	// IPv4 field has value >255.
    	"192.168.300.1",
    	// IPv4 with too many fields.
    	"192.168.0.1.5.6",
    	// IPv6 with not enough fields.
    	"1:2:3:4:5:6:7",
    	// IPv6 with too many fields.
    	"1:2:3:4:5:6:7:8:9",
    	// IPv6 with 8 fields and a :: expander.
    	"1:2:3:4::5:6:7:8",
    	// IPv6 with a field bigger than 2b.
    	"fe801::1",
    	// IPv6 with non-hex values in field.
    	"fe80:tail:scal:e::",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 20 23:46:23 UTC 2021
    - 10.5K bytes
    - Viewed (0)
  10. src/go/token/position_test.go

    }
    
    var tests = []struct {
    	filename string
    	source   []byte // may be nil
    	size     int
    	lines    []int
    }{
    	{"a", []byte{}, 0, []int{}},
    	{"b", []byte("01234"), 5, []int{0}},
    	{"c", []byte("\n\n\n\n\n\n\n\n\n"), 9, []int{0, 1, 2, 3, 4, 5, 6, 7, 8}},
    	{"d", nil, 100, []int{0, 5, 10, 20, 30, 70, 71, 72, 80, 85, 90, 99}},
    	{"e", nil, 777, []int{0, 80, 100, 120, 130, 180, 267, 455, 500, 567, 620}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 20:26:14 UTC 2024
    - 14.3K bytes
    - Viewed (0)
Back to top