Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for ErrRange (0.22 sec)

  1. src/math/big/int_test.go

    			t.Errorf("SetString(%s, 0) failed", s)
    			continue
    		}
    
    		want, err := strconv.ParseUint(s, 0, 64)
    		if err != nil {
    			// check for sign explicitly (ErrRange doesn't cover signed input)
    			if s[0] == '-' || err.(*strconv.NumError).Err == strconv.ErrRange {
    				if x.IsUint64() {
    					t.Errorf("IsUint64(%s) succeeded unexpectedly", s)
    				}
    			} else {
    				t.Errorf("ParseUint(%s) failed", s)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
  2. cmd/api-errors.go

    			}
    			// Add more other SDK related errors here if any in future.
    		default:
    			//nolint:gocritic
    			if errors.Is(err, errMalformedEncoding) || errors.Is(err, errChunkTooBig) || errors.Is(err, strconv.ErrRange) {
    				apiErr = APIError{
    					Code:           "BadRequest",
    					Description:    err.Error(),
    					HTTPStatusCode: http.StatusBadRequest,
    				}
    			} else {
    				apiErr = APIError{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 92.1K bytes
    - Viewed (1)
  3. pilot/pkg/networking/core/route/route.go

    // Note: Currently we are not fully utilizing this structure. We could invoke this logic
    // once for all sidecars in the cluster to compute all RDS for inside the mesh and arrange
    // it by listener port. However to properly use such an optimization, we need to have an
    // eventing subsystem to invalidate the computed routes if any service changes/virtual Services change.
    type VirtualHostWrapper struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    			if !watcher.nonblockingAdd(event) {
    				c.blockedWatchers = append(c.blockedWatchers, watcher)
    			}
    		}
    
    		if len(c.blockedWatchers) > 0 {
    			// dispatchEvent is called very often, so arrange
    			// to reuse timers instead of constantly allocating.
    			startTime := time.Now()
    			timeout := c.dispatchTimeoutBudget.takeAvailable()
    			c.timer.Reset(timeout)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  5. src/runtime/asm_amd64.s

    TEXT main(SB),NOSPLIT,$-8
    	JMP	runtime·rt0_go(SB)
    
    // _rt0_amd64_lib is common startup code for most amd64 systems when
    // using -buildmode=c-archive or -buildmode=c-shared. The linker will
    // arrange to invoke this function as a global constructor (for
    // c-archive) or when the shared library is loaded (for c-shared).
    // We expect argc and argv to be passed in the usual C ABI registers
    // DI and SI.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  6. src/testing/testing.go

    	p := c.parent
    	p.mu.Lock()
    	defer p.mu.Unlock()
    
    	c.mu.Lock()
    	defer c.mu.Unlock()
    
    	if len(c.output) > 0 {
    		// Add the current c.output to the print,
    		// and then arrange for the print to replace c.output.
    		// (This displays the logged output after the --- FAIL line.)
    		format += "%s"
    		args = append(args[:len(args):len(args)], c.output)
    		c.output = c.output[:0]
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/lib.go

    	// and turn off -s internally: the external linker needs the symbol
    	// information for its final link.
    	debug_s = *FlagS
    	*FlagS = false
    
    	// create temporary directory and arrange cleanup
    	if *flagTmpdir == "" {
    		dir, err := os.MkdirTemp("", "go-link-")
    		if err != nil {
    			log.Fatal(err)
    		}
    		*flagTmpdir = dir
    		ownTmpDir = true
    		AtExit(func() {
    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/os/os_test.go

    	if s != "new" {
    		t.Fatalf("writeFile: after truncate have %q want %q", s, "new")
    	}
    }
    
    func TestStatDirWithTrailingSlash(t *testing.T) {
    	t.Parallel()
    
    	// Create new temporary directory and arrange to clean it up.
    	path := t.TempDir()
    
    	// Stat of path should succeed.
    	if _, err := Stat(path); err != nil {
    		t.Fatalf("stat %s failed: %s", path, err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  9. src/cmd/cgo/gcc.go

    	// For names, find out whether they are integer constants.
    	// We used to look at specific warning or error messages here, but that tied the
    	// behavior too closely to specific versions of the compilers.
    	// Instead, arrange that we can infer what we need from only the presence or absence
    	// of an error on a specific line.
    	//
    	// For each name, we generate these lines, where xxx is the index in toSniff plus one.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top