Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 183 for Treat (0.25 sec)

  1. android/guava/src/com/google/common/primitives/UnsignedInteger.java

    /**
     * A wrapper class for unsigned {@code int} values, supporting arithmetic operations.
     *
     * <p>In some cases, when speed is more important than code readability, it may be faster simply to
     * treat primitive {@code int} values as unsigned, using the methods from {@link UnsignedInts}.
     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/PrimitivesExplained#unsigned-support">unsigned
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 23 18:45:50 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

       */
      @Throws(IOException::class)
      private fun cacheWritingResponse(
        cacheRequest: CacheRequest?,
        response: Response,
      ): Response {
        // Some apps return a null body; for compatibility we treat that like a null cache request.
        if (cacheRequest == null) return response
        val cacheBodyUnbuffered = cacheRequest.body()
    
        val source = response.body.source()
        val cacheBody = cacheBodyUnbuffered.buffer()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Mar 22 07:09:21 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/IntMath.java

             * halfSquare. (We have to deal with overflow, though.)
             *
             * If we treat halfSquare as an unsigned int, we know that
             *            sqrtFloor^2 <= x < (sqrtFloor + 1)^2
             * halfSquare - sqrtFloor <= x < halfSquare + sqrtFloor + 1
             * so |x - halfSquare| <= sqrtFloor.  Therefore, it's safe to treat x - halfSquare as a
             * signed int, so lessThanBranchFree is safe for use.
             */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

          setException(e);
          return;
        } catch (Error e) {
          /*
           * StackOverflowError, OutOfMemoryError (e.g., from allocating ExecutionException), or
           * something. Try to treat it like a RuntimeException. If we overflow the stack again, the
           * resulting Error will propagate upward up to the root call to set().
           */
          setException(e);
          return;
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  5. internal/s3select/sql/evaluate.go

    	}
    
    	return FromBool(matchResult), nil
    }
    
    func (e *ListExpr) evalNode(r Record, tableAlias string) (*Value, error) {
    	res := make([]Value, len(e.Elements))
    	if len(e.Elements) == 1 {
    		// If length 1, treat as single value.
    		return e.Elements[0].evalNode(r, tableAlias)
    	}
    	for i, elt := range e.Elements {
    		v, err := elt.evalNode(r, tableAlias)
    		if err != nil {
    			return nil, err
    		}
    		res[i] = *v
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 12K bytes
    - Viewed (0)
  6. src/archive/tar/format.go

    // signed byte values.
    // We compute and return both.
    func (b *block) computeChecksum() (unsigned, signed int64) {
    	for i, c := range b {
    		if 148 <= i && i < 156 {
    			c = ' ' // Treat the checksum field itself as all spaces.
    		}
    		unsigned += int64(c)
    		signed += int64(int8(c))
    	}
    	return unsigned, signed
    }
    
    // reset clears the block with all zeros.
    func (b *block) reset() {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/networking/v1/generated.proto

      //   matches /foo/bar/baz, but does not match /foo/barbaz).
      // * ImplementationSpecific: Interpretation of the Path matching is up to
      //   the IngressClass. Implementations can treat this as a separate PathType
      //   or treat it identically to Prefix or Exact path types.
      // Implementations are required to support all path types.
      optional string pathType = 3;
    
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/test/issue1435.go

    		tf := fmt.Sprintf("/proc/%s/status", f.Name())
    		d, err := os.ReadFile(tf)
    		if err != nil {
    			// There are a surprising number of ways this
    			// can error out on linux.  We've seen all of
    			// the following, so treat any error here as
    			// equivalent to the "process is gone":
    			//    os.IsNotExist(err),
    			//    "... : no such process",
    			//    "... : bad file descriptor.
    			continue
    		}
    		lines := strings.Split(string(d), "\n")
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Jul 28 21:31:41 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

              state = STATE_READ_RESPONSE_HEADERS
              responseBuilder
            }
            statusLine.code in (102 until 200) -> {
              // Processing and Early Hints will mean a second headers are coming.
              // Treat others the same for now
              state = STATE_READ_RESPONSE_HEADERS
              responseBuilder
            }
            else -> {
              state = STATE_OPEN_RESPONSE_BODY
              responseBuilder
            }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java

     * is {@code addAndGet(K, long)}, which adds a {@code long} to the value currently associated with
     * {@code K}. If a key has not yet been associated with a value, its implicit value is zero.
     *
     * <p>Most methods in this class treat absent values and zero values identically, as individually
     * documented. Exceptions to this are {@link #containsKey}, {@link #size}, {@link #isEmpty}, {@link
     * #asMap}, and {@link #toString}.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.1K bytes
    - Viewed (0)
Back to top