Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for firstterm (0.13 sec)

  1. src/cmd/go/internal/fsys/fsys.go

    		fi, err := os.Stat(actualFilePath)
    		if err == nil && fi.Mode().IsRegular() {
    			return true, nil
    		}
    		if err != nil && firstErr == nil {
    			firstErr = err
    		}
    	}
    
    	// No go files found in directory.
    	return false, firstErr
    }
    
    // walk recursively descends path, calling walkFn. Copied, with some
    // modifications from path/filepath.walk.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:35:34 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  2. pkg/kubelet/userns/userns_manager.go

    	firstZero, found, err := m.used.AllocateNext()
    	if err != nil {
    		return 0, 0, err
    	}
    	if !found {
    		return 0, 0, fmt.Errorf("could not find an empty slot to allocate a user namespace")
    	}
    
    	klog.V(5).InfoS("new pod user namespace allocation", "podUID", pod)
    
    	firstID = uint32((firstZero + m.off) * userNsLength)
    	m.usedBy[pod] = firstID
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  3. src/net/http/request_test.go

    		var log bytes.Buffer
    		buf := make([]byte, 1000)
    		var firstErr error
    		for {
    			n, err := r.Read(buf)
    			fmt.Fprintf(&log, "Read(%d) = %d, %v\n", len(buf), n, err)
    			if err == nil {
    				continue
    			}
    			if firstErr == nil {
    				firstErr = err
    				continue
    			}
    			if !reflect.DeepEqual(err, firstErr) {
    				return fmt.Errorf("non-sticky error. got log:\n%s", log.Bytes())
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:42:34 UTC 2024
    - 44K bytes
    - Viewed (0)
  4. src/os/exec/exec.go

    		type goroutineStatus struct {
    			running  int
    			firstErr error
    		}
    		statusc := make(chan goroutineStatus, 1)
    		statusc <- goroutineStatus{running: len(c.goroutine)}
    		for _, fn := range c.goroutine {
    			go func(fn func() error) {
    				err := fn()
    
    				status := <-statusc
    				if status.firstErr == nil {
    					status.firstErr = err
    				}
    				status.running--
    				if status.running == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 41.4K bytes
    - Viewed (0)
Back to top