Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for Clone (0.21 sec)

  1. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       * @since 3.0
       */
      public static <E extends Comparable<? super E>> ImmutableSortedSet<E> copyOf(E[] elements) {
        return construct(Ordering.natural(), elements.length, elements.clone());
      }
    
      /**
       * Returns an immutable sorted set containing the given elements sorted by their natural ordering.
       * When multiple elements are equivalent according to {@code compareTo()}, only the first one
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSet.java

        switch (elements.length) {
          case 0:
            return of();
          case 1:
            return of(elements[0]);
          default:
            return construct(elements.length, elements.clone());
        }
      }
    
      ImmutableSet() {}
    
      /** Returns {@code true} if the {@code hashCode()} method runs quickly. */
      boolean isHashCodeFast() {
        return false;
      }
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableList.java

       * @since 3.0
       */
      public static <E> ImmutableList<E> copyOf(E[] elements) {
        return (elements.length == 0)
            ? ImmutableList.<E>of()
            : ImmutableList.<E>construct(elements.clone());
      }
    
      /**
       * Returns an immutable list containing the given elements, sorted according to their natural
       * order. The sorting algorithm used is stable, so elements that compare as equal will stay in the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Sets.java

                  bits.set(0, bitToFlip - firstSetBit - 1);
                  bits.clear(bitToFlip - firstSetBit - 1, bitToFlip);
                  bits.set(bitToFlip);
                }
                final BitSet copy = (BitSet) bits.clone();
                return new AbstractSet<E>() {
                  @Override
                  public boolean contains(@CheckForNull Object o) {
                    Integer i = index.get(o);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  5. cmd/erasure-object.go

    	// for delete's we do not need to honor storage
    	// class for objects that have reduced quorum
    	// due to storage class - this only needs to be honored
    	// for Read() requests alone that we already do.
    	writeQuorum := len(disks)/2 + 1
    
    	g := errgroup.WithNErrs(len(disks))
    	for index := range disks {
    		index := index
    		g.Go(func() error {
    			if disks[index] == nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 76.9K bytes
    - Viewed (2)
  6. cmd/object-handlers_test.go

    				// HTTP request used to call the handler.
    				req := reqRec.req
    				// HTTP request type string for V4/V2 requests.
    				reqType := reqRec.reqType
    
    				// Clone so we don't retain values we do not want.
    				req.Header = req.Header.Clone()
    
    				// introduce faults in the request.
    				// deliberately introducing the invalid value to be able to assert the response with the expected error response.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  7. licenses/cloud.google.com/go/auth/oauth2adapt/LICENSE

          use, offer to sell, sell, import, and otherwise transfer the Work,
          where such license applies only to those patent claims licensable
          by such Contributor that are necessarily infringed by their
          Contribution(s) alone or by combination of their Contribution(s)
          with the Work to which such Contribution(s) was submitted. If You
          institute patent litigation against any entity (including a
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 13:56:46 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  8. licenses/cloud.google.com/go/auth/LICENSE

          use, offer to sell, sell, import, and otherwise transfer the Work,
          where such license applies only to those patent claims licensable
          by such Contributor that are necessarily infringed by their
          Contribution(s) alone or by combination of their Contribution(s)
          with the Work to which such Contribution(s) was submitted. If You
          institute patent litigation against any entity (including a
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 13:56:46 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  9. cni/README.md

    ## Reference
    
    ### Design details
    
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  10. docs/en/docs/release-notes.md

    * Add note about using Body parameters without Pydantic. PR [#900](https://github.com/tiangolo/fastapi/pull/900) by [@pawamoy](https://github.com/pawamoy).
    * Fix Pydantic field clone logic. PR [#899](https://github.com/tiangolo/fastapi/pull/899) by [@deuce2367](https://github.com/deuce2367).
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Apr 28 00:28:00 GMT 2024
    - 385.5K bytes
    - Viewed (1)
Back to top