Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for firstterm (0.16 sec)

  1. src/net/dial.go

    			}
    		}
    
    		c, err := sd.dialSingle(dialCtx, ra)
    		if err == nil {
    			return c, nil
    		}
    		if firstErr == nil {
    			firstErr = err
    		}
    	}
    
    	if firstErr == nil {
    		firstErr = &OpError{Op: "dial", Net: sd.network, Source: nil, Addr: nil, Err: errMissingAddress}
    	}
    	return nil, firstErr
    }
    
    // dialSingle attempts to establish and returns a single connection to
    // the destination address.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  2. src/go/types/errors.go

    		// to the position (pos) in the original expression.
    		span := spanOf(check.errpos)
    		e.Pos = span.pos
    		e.go116start = span.start
    		e.go116end = span.end
    	}
    
    	if check.firstErr == nil {
    		check.firstErr = e
    	}
    
    	f := check.conf.Error
    	if f == nil {
    		panic(bailout{}) // record first error and exit
    	}
    	f(e)
    }
    
    const (
    	invalidArg = "invalid argument: "
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. src/go/types/check.go

    	unionTypeSets map[*Union]*_TypeSet      // computed type sets for union types
    	mono          monoGraph                 // graph for detecting non-monomorphizable instantiation loops
    
    	firstErr error                 // first error encountered
    	methods  map[*TypeName][]*Func // maps package scope type names to associated non-blank (non-interface) methods
    	untyped  map[ast.Expr]exprInfo // map of expressions without final type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  4. pkg/controller/controller_utils.go

    	if len(taints) == 0 {
    		return nil
    	}
    	firstTry := true
    	return clientretry.RetryOnConflict(UpdateTaintBackoff, func() error {
    		var err error
    		var oldNode *v1.Node
    		// First we try getting node from the API server cache, as it's cheaper. If it fails
    		// we get it from etcd to be sure to have fresh data.
    		option := metav1.GetOptions{}
    		if firstTry {
    			option.ResourceVersion = "0"
    			firstTry = false
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 12 15:34:44 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/check.go

    	unionTypeSets map[*Union]*_TypeSet        // computed type sets for union types
    	mono          monoGraph                   // graph for detecting non-monomorphizable instantiation loops
    
    	firstErr error                    // first error encountered
    	methods  map[*TypeName][]*Func    // maps package scope type names to associated non-blank (non-interface) methods
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. pkg/controller/podautoscaler/horizontal.go

    		// then go on and try other mappings until we find a good one
    		if i == 0 {
    			firstErr = err
    		}
    	}
    
    	// make sure we handle an empty set of mappings
    	if firstErr == nil {
    		firstErr = fmt.Errorf("unrecognized resource")
    	}
    
    	return nil, schema.GroupResource{}, firstErr
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  9. 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)
  10. cmd/erasure-server-pool.go

    			}
    		}
    	}()
    
    	wg.Wait()
    	ch := make(chan struct{})
    	select {
    	case updateCloser <- ch:
    		<-ch
    	case <-ctx.Done():
    		mu.Lock()
    		if firstErr == nil {
    			firstErr = ctx.Err()
    		}
    		defer mu.Unlock()
    	}
    	return firstErr
    }
    
    // MakeBucket - creates a new bucket across all serverPools simultaneously
    // even if one of the sets fail to create buckets, we proceed all the successful
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 82.5K bytes
    - Viewed (0)
Back to top