Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Balint (0.19 sec)

  1. src/cmd/cgo/gcc.go

    								if sdat, err := sect.Data(); err == nil {
    									data := sdat[s.Value-sect.Addr:]
    									strlen := bo.Uint64(data[:8])
    									if strlen > (1<<(uint(p.IntSize*8)-1) - 1) { // greater than MaxInt?
    										fatalf("string literal too big")
    									}
    									strlens[n] = int(strlen)
    								}
    							}
    						}
    						break
    					}
    				}
    			}
    
    			buildStrings()
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  2. src/bytes/bytes_test.go

    	{"1 2 3 4", " ", 3, []string{"1", "2", "3 4"}},
    	{"1 2", " ", 3, []string{"1", "2"}},
    	{"123", "", 2, []string{"1", "23"}},
    	{"123", "", 17, []string{"1", "2", "3"}},
    	{"bT", "T", math.MaxInt / 4, []string{"b", ""}},
    	{"\xff-\xff", "", -1, []string{"\xff", "-", "\xff"}},
    	{"\xff-\xff", "-", -1, []string{"\xff", "\xff"}},
    }
    
    func TestSplit(t *testing.T) {
    	for _, tt := range splittests {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
Back to top