Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 230 for BarTest (0.99 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/config.go

    		// https://github.com/etcd-io/etcd/blob/release-3.4/embed/config.go#L56.
    		// A request body might be encoded in json, and is converted to
    		// proto when persisted in etcd, so we allow 2x as the largest size
    		// increase the "copy" operations in a json patch may cause.
    		JSONPatchMaxCopyBytes: int64(3 * 1024 * 1024),
    		// 1.5MB is the recommended client request size in byte
    		// the etcd server should accept. See
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 47.7K bytes
    - Viewed (0)
  2. src/time/time.go

    func (t Time) YearDay() int {
    	_, _, _, yday := t.date(false)
    	return yday + 1
    }
    
    // A Duration represents the elapsed time between two instants
    // as an int64 nanosecond count. The representation limits the
    // largest representable duration to approximately 290 years.
    type Duration int64
    
    const (
    	minDuration Duration = -1 << 63
    	maxDuration Duration = 1<<63 - 1
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/math/LongMath.java

          throw new ArithmeticException("ceilingPowerOfTwo(" + x + ") is not representable as a long");
        }
        return 1L << -Long.numberOfLeadingZeros(x - 1);
      }
    
      /**
       * Returns the largest power of two less than or equal to {@code x}. This is equivalent to {@code
       * checkedPow(2, log2(x, FLOOR))}.
       *
       * @throws IllegalArgumentException if {@code x <= 0}
       * @since 20.0
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/ImmutableIntArray.java

      public int indexOf(int target) {
        for (int i = start; i < end; i++) {
          if (array[i] == target) {
            return i - start;
          }
        }
        return -1;
      }
    
      /**
       * Returns the largest index for which {@link #get} returns {@code target}, or {@code -1} if no
       * such index exists. Equivalent to {@code asList().lastIndexOf(target)}.
       */
      public int lastIndexOf(int target) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 16:34:24 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  5. src/sort/gen_sort_variants.go

    	first := a
    	lo := 0
    	hi := b - a
    
    	// Build heap with greatest element at top.
    	for i := (hi - 1) / 2; i >= 0; i-- {
    		siftDown{{.FuncSuffix}}(data, i, hi, first {{.ExtraArg}})
    	}
    
    	// Pop elements, largest first, into end of data.
    	for i := hi - 1; i >= 0; i-- {
    		{{Swap "data" "first" "first+i"}}
    		siftDown{{.FuncSuffix}}(data, lo, i, first {{.ExtraArg}})
    	}
    }
    
    // pdqsort{{.FuncSuffix}} sorts data[a:b].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  6. src/time/zoneinfo.go

    		offset = zone.offset
    		start = alpha
    		if len(l.tx) > 0 {
    			end = l.tx[0].when
    		} else {
    			end = omega
    		}
    		isDST = zone.isDST
    		return
    	}
    
    	// Binary search for entry with largest time <= sec.
    	// Not using sort.Search to avoid dependencies.
    	tx := l.tx
    	end = omega
    	lo := 0
    	hi := len(tx)
    	for hi-lo > 1 {
    		m := int(uint(lo+hi) >> 1)
    		lim := tx[m].when
    		if sec < lim {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:30 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/predicates.go

    		case UntypedFloat:
    			return Typ[Float64]
    		case UntypedComplex:
    			return Typ[Complex128]
    		case UntypedString:
    			return Typ[String]
    		}
    	}
    	return t
    }
    
    // maxType returns the "largest" type that encompasses both x and y.
    // If x and y are different untyped numeric types, the result is the type of x or y
    // that appears later in this list: integer, rune, floating-point, complex.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/primitives/ImmutableDoubleArray.java

        for (int i = start; i < end; i++) {
          if (areEqual(array[i], target)) {
            return i - start;
          }
        }
        return -1;
      }
    
      /**
       * Returns the largest index for which {@link #get} returns {@code target}, or {@code -1} if no
       * such index exists. Values are compared as if by {@link Double#equals}. Equivalent to {@code
       * asList().lastIndexOf(target)}.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 16:34:24 UTC 2023
    - 21.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/ImmutableLongArray.java

      public int indexOf(long target) {
        for (int i = start; i < end; i++) {
          if (array[i] == target) {
            return i - start;
          }
        }
        return -1;
      }
    
      /**
       * Returns the largest index for which {@link #get} returns {@code target}, or {@code -1} if no
       * such index exists. Equivalent to {@code asList().lastIndexOf(target)}.
       */
      public int lastIndexOf(long target) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 16:34:24 UTC 2023
    - 21K bytes
    - Viewed (0)
  10. src/go/types/predicates.go

    		case UntypedFloat:
    			return Typ[Float64]
    		case UntypedComplex:
    			return Typ[Complex128]
    		case UntypedString:
    			return Typ[String]
    		}
    	}
    	return t
    }
    
    // maxType returns the "largest" type that encompasses both x and y.
    // If x and y are different untyped numeric types, the result is the type of x or y
    // that appears later in this list: integer, rune, floating-point, complex.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top