Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 132 for allDone (0.18 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

          this.connection?.incrementSuccessCount()
        }
    
        if (callDone) {
          return callDone(e)
        }
    
        return e
      }
    
      internal fun noMoreExchanges(e: IOException?): IOException? {
        var callDone = false
        this.withLock {
          if (expectMoreExchanges) {
            expectMoreExchanges = false
            callDone = !requestBodyOpen && !responseBodyOpen
          }
        }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  2. src/net/tcpsockopt_windows.go

    	switch {
    	case idle < 0 && interval >= 0:
    		// Given that we can't set KeepAliveInterval alone, and this code path
    		// is new, it doesn't exist before, so we just return an error.
    		return syscall.WSAENOPROTOOPT
    	case idle >= 0 && interval < 0:
    		// Although we can't set KeepAliveTime alone either, this existing code
    		// path had been backing up [SetKeepAlivePeriod] which used to be set both
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:35 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. test/typeparam/typelist.go

    	return p["test"]
    }
    
    // Testing partial and full type inference, including the case where the types can
    // be inferred without needing the types of the function arguments.
    
    // Cannot embed stand-alone type parameters. Disabled for now.
    /*
    func f0[A any, B interface{type C}, C interface{type D}, D interface{type A}](A, B, C, D)
    func f0x() {
            f := f0[string]
            f("a", "b", "c", "d")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 09:04:48 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. src/syscall/rlimit.go

    // best approach was for Go to raise the limit unconditionally for itself,
    // and then leave old software to set the limit back as needed.
    // Code that really wants Go to leave the limit alone can set the hard limit,
    // which Go of course has no choice but to respect.
    func init() {
    	var lim Rlimit
    	if err := Getrlimit(RLIMIT_NOFILE, &lim); err == nil && lim.Cur != lim.Max {
    		origRlimitNofile.Store(&lim)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:57 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. cmd/batch-job-common-types.go

    	sf.line, sf.col = val.Line, val.Column
    	return nil
    }
    
    // InRange returns true in the following cases and false otherwise,
    // - sf.LowerBound < sz, when sf.LowerBound alone is specified
    // - sz < sf.UpperBound, when sf.UpperBound alone is specified
    // - sf.LowerBound < sz < sf.UpperBound when both are specified,
    func (sf BatchJobSizeFilter) InRange(sz int64) bool {
    	if sf.UpperBound > 0 && sz > int64(sf.UpperBound) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/profile/profile.go

    	if len(p.SampleType) != len(ratios) {
    		return fmt.Errorf("mismatched scale ratios, got %d, want %d", len(ratios), len(p.SampleType))
    	}
    	allOnes := true
    	for _, r := range ratios {
    		if r != 1 {
    			allOnes = false
    			break
    		}
    	}
    	if allOnes {
    		return nil
    	}
    	fillIdx := 0
    	for _, s := range p.Sample {
    		keepSample := false
    		for i, v := range s.Value {
    			if ratios[i] != 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ForwardingMapEntry.java

     *
     * <p><b>Warning:</b> The methods of {@code ForwardingMapEntry} forward <i>indiscriminately</i> to
     * the methods of the delegate. For example, overriding {@link #getValue} alone <i>will not</i>
     * change the behavior of {@link #equals}, which can lead to unexpected behavior. In this case, you
     * should override {@code equals} as well, either providing your own implementation, or delegating
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Mar 19 19:28:11 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. pkg/kubelet/kubeletconfig/configfiles/configfiles.go

    }
    
    // resolveRelativePaths makes relative paths absolute by resolving them against `root`
    func resolveRelativePaths(paths []*string, root string) {
    	for _, path := range paths {
    		// leave empty paths alone, "no path" is a valid input
    		// do not attempt to resolve paths that are already absolute
    		if len(*path) > 0 && !utilfs.IsAbs(*path) {
    			*path = filepath.Join(root, *path)
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 10 17:13:59 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ForwardingMapEntry.java

     *
     * <p><b>Warning:</b> The methods of {@code ForwardingMapEntry} forward <i>indiscriminately</i> to
     * the methods of the delegate. For example, overriding {@link #getValue} alone <i>will not</i>
     * change the behavior of {@link #equals}, which can lead to unexpected behavior. In this case, you
     * should override {@code equals} as well, either providing your own implementation, or delegating
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Mar 19 19:28:11 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. src/go/printer/gobuild.go

    		x, _ = constraint.Parse(p.commentTextAt(p.goBuild[0]))
    	}
    
    	var block []byte
    	if x == nil {
    		// Don't have a valid //go:build expression to treat as truth.
    		// Bring all the lines together but leave them alone.
    		// Note that these are already tabwriter-escaped.
    		for _, pos := range p.goBuild {
    			block = append(block, p.lineAt(pos)...)
    		}
    		for _, pos := range p.plusBuild {
    			block = append(block, p.lineAt(pos)...)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top