Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of about 10,000 for returns_ (0.17 sec)

  1. src/strconv/itoa.go

    	if fastSmalls && 0 <= i && i < nSmalls && base == 10 {
    		return small(int(i))
    	}
    	_, s := formatBits(nil, uint64(i), base, i < 0, false)
    	return s
    }
    
    // Itoa is equivalent to [FormatInt](int64(i), 10).
    func Itoa(i int) string {
    	return FormatInt(int64(i), 10)
    }
    
    // AppendInt appends the string form of the integer i,
    // as generated by [FormatInt], to dst and returns the extended buffer.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/httpstream/httpstream.go

    }
    
    func (u *UpgradeFailureError) Error() string {
    	return fmt.Sprintf("unable to upgrade streaming request: %s", u.Cause)
    }
    
    // IsUpgradeFailure returns true if the passed error is (or wrapped error contains)
    // the UpgradeFailureError.
    func IsUpgradeFailure(err error) bool {
    	if err == nil {
    		return false
    	}
    	var upgradeErr *UpgradeFailureError
    	return errors.As(err, &upgradeErr)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:33:38 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/api/meta/help.go

    		return nil, errExpectFieldItems
    	}
    	switch items.Kind() {
    	case reflect.Interface, reflect.Pointer:
    		target := reflect.TypeOf(items.Interface()).Elem()
    		if target.Kind() != reflect.Slice {
    			return nil, errExpectSliceItems
    		}
    		return items.Interface(), nil
    	case reflect.Slice:
    		return items.Addr().Interface(), nil
    	default:
    		return nil, errExpectSliceItems
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 29 16:25:43 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  4. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/isolation/Isolatable.java

     */
    public interface Isolatable<T> extends Hashable {
        /**
         * Returns this value as a {@link ValueSnapshot}. The returned value should not hold any references to user ClassLoaders.
         */
        ValueSnapshot asSnapshot();
    
        /**
         * Returns an instance of T that is isolated from the original object and all other instances.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/math/IntMath.java

          case 0:
            return (k == 0) ? 1 : 0;
          case 1:
            return 1;
          case (-1):
            return ((k & 1) == 0) ? 1 : -1;
          case 2:
            if (k >= Integer.SIZE - 1) {
              return Integer.MAX_VALUE;
            }
            return 1 << k;
          case (-2):
            if (k >= Integer.SIZE) {
              return Integer.MAX_VALUE + (k & 1);
            }
            return ((k & 1) == 0) ? 1 << k : -1 << k;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  6. src/unsafe/unsafe.go

    // SliceData returns a pointer to the underlying array of the argument
    // slice.
    //   - If cap(slice) > 0, SliceData returns &slice[:1][0].
    //   - If slice == nil, SliceData returns nil.
    //   - Otherwise, SliceData returns a non-nil pointer to an
    //     unspecified memory address.
    func SliceData(slice []ArbitraryType) *ArbitraryType
    
    // String returns a string value whose underlying bytes
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 19:45:20 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/CharSink.java

       * required to be a {@link BufferedWriter} in order to allow implementations to simply delegate to
       * {@link #openStream()} when the stream returned by that method does not benefit from additional
       * buffering. This method returns a new, independent writer each time it is called.
       *
       * <p>The caller is responsible for ensuring that the returned writer is closed.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/TimeLimiter.java

       *     return DEFAULT_VALUE;
       *   }
       * </pre>
       *
       * @param target the object to proxy
       * @param interfaceType the interface you wish the returned proxy to implement
       * @param timeout the maximum length of time that callers are willing to wait on each method call
       *     to the proxy
       * @return a time-limiting proxy
       * @throws IllegalArgumentException if {@code interfaceType} is a regular class, enum, or
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  9. src/internal/poll/fd.go

    // Return the appropriate closing error based on isFile.
    func errClosing(isFile bool) error {
    	if isFile {
    		return ErrFileClosing
    	}
    	return ErrNetClosing
    }
    
    // ErrDeadlineExceeded is returned for an expired deadline.
    // This is exported by the os package as os.ErrDeadlineExceeded.
    var ErrDeadlineExceeded error = &DeadlineExceededError{}
    
    // DeadlineExceededError is returned for an expired deadline.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:16:28 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Optional.java

       * {@link Optional#absent} is returned.
       *
       * <p><b>Comparison to {@code java.util.Optional}:</b> this method is similar to Java 8's {@code
       * Optional.map}, except when {@code function} returns {@code null}. In this case this method
       * throws an exception, whereas the Java 8+ method returns {@code Optional.absent()}.
       *
       * @throws NullPointerException if the function returns {@code null}
       * @since 12.0
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top