Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for newPoint (0.06 sec)

  1. guava/src/com/google/common/primitives/ImmutableIntArray.java

          count += values.length();
          return this;
        }
    
        private void ensureRoomFor(int numberToAdd) {
          int newCount = count + numberToAdd; // TODO(kevinb): check overflow now?
          if (newCount > array.length) {
            array = Arrays.copyOf(array, expandedCapacity(array.length, newCount));
          }
        }
    
        // Unfortunately this is pasted from ImmutableCollection.Builder.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  2. misc/cgo/gmp/gmp.go

     */
    
    // An Int represents a signed multi-precision integer.
    // The zero value for an Int represents the value 0.
    type Int struct {
    	i    C.mpz_t
    	init bool
    }
    
    // NewInt returns a new Int initialized to x.
    func NewInt(x int64) *Int { return new(Int).SetInt64(x) }
    
    // Int promises that the zero value is a 0, but in gmp
    // the zero value is a crash.  To bridge the gap, the
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableMultiset.java

       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final boolean setCount(E element, int oldCount, int newCount) {
        throw new UnsupportedOperationException();
      }
    
      @GwtIncompatible // not present in emulated superclass
      @Override
      int copyIntoArray(@Nullable Object[] dst, int offset) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  4. tests/lru_test.go

    		t.Fatalf("value differs from expected")
    	}
    	if lc.Len() != 1 {
    		t.Fatalf("length differs from expected")
    	}
    }
    
    func getRand(tb testing.TB) int64 {
    	out, err := rand.Int(rand.Reader, big.NewInt(math.MaxInt64))
    	if err != nil {
    		tb.Fatal(err)
    	}
    	return out.Int64()
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  5. cmd/test-utils_test.go

    	if err != nil {
    		return nil, nil, fmt.Errorf("failed to generate private key: %w", err)
    	}
    
    	notBefore := time.Now()
    	notAfter := notBefore.Add(validFor)
    
    	serialNumberLimit := new(big.Int).Lsh(big.NewInt(1), 128)
    	serialNumber, err := crand.Int(crand.Reader, serialNumberLimit)
    	if err != nil {
    		return nil, nil, fmt.Errorf("failed to generate serial number: %w", err)
    	}
    
    	template := x509.Certificate{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 77K bytes
    - Viewed (0)
  6. api/go1.txt

    pkg encoding/xml, var HTMLEntity map[string]string
    pkg errors, func New(string) error
    pkg expvar, func Do(func(KeyValue))
    pkg expvar, func Get(string) Var
    pkg expvar, func NewFloat(string) *Float
    pkg expvar, func NewInt(string) *Int
    pkg expvar, func NewMap(string) *Map
    pkg expvar, func NewString(string) *String
    pkg expvar, func Publish(string, Var)
    pkg expvar, method (*Float) Add(float64)
    pkg expvar, method (*Float) Set(float64)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top