Search Options

Results per page
Sort
Preferred Languages
Advance

Results 861 - 870 of 1,037 for comments (0.05 sec)

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

       *
       * @param elements the elements that the set should contain
       * @return a new thread-safe set containing those elements (minus duplicates)
       * @throws NullPointerException if {@code elements} or any of its contents is null
       * @since 15.0
       */
      public static <E> Set<E> newConcurrentHashSet(Iterable<? extends E> elements) {
        Set<E> set = newConcurrentHashSet();
        Iterables.addAll(set, elements);
        return set;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Iterators.java

       * avoid memory leaks when an element is no longer necessary.
       *
       * <p>This method accepts an array with element type {@code @Nullable T}, but callers must pass an
       * array whose contents are initially non-null. The {@code @Nullable} annotation indicates that
       * this method will write nulls into the array during iteration.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  3. docs/ko/docs/tutorial/dependencies/index.md

    ///
    
    ## `Annotated`인 의존성 공유하기
    
    위의 예제에서 몇몇 작은 **코드 중복**이 있다는 것을 보았을 겁니다.
    
    `common_parameters()`의존을 사용해야 한다면, 타입 명시와 `Depends()`와 함께 전체 매개변수를 적어야 합니다:
    
    ```Python
    commons: Annotated[dict, Depends(common_parameters)]
    ```
    
    하지만 `Annotated`를 사용하고 있기에, `Annotated` 값을 변수에 저장하고 여러 장소에서 사용할 수 있습니다:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="12  16  21"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

       * PermittedMetaException}.
       */
      protected final class MultiExceptionListIterator implements ListIterator<E> {
        // TODO: track seen elements when order isn't guaranteed
        // TODO: verify contents afterward
        // TODO: something shiny and new instead of Stack
        // TODO: test whether null is supported (create a Feature)
        /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableListMultimap.java

    import java.util.stream.Collector;
    import java.util.stream.Stream;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A {@link ListMultimap} whose contents will never change, with many other important properties
     * detailed at {@link ImmutableCollection}.
     *
     * <p>See the Guava User Guide article on <a href=
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 16 20:20:32 UTC 2024
    - 19K bytes
    - Viewed (0)
  6. internal/ringbuffer/ring_buffer.go

    	if r.w == r.r {
    		if r.isFull {
    			return 0
    		}
    		return r.size
    	}
    
    	if r.w < r.r {
    		return r.r - r.w
    	}
    
    	return r.size - r.w + r.r
    }
    
    // WriteString writes the contents of the string s to buffer, which accepts a slice of bytes.
    func (r *RingBuffer) WriteString(s string) (n int, err error) {
    	x := (*[2]uintptr)(unsafe.Pointer(&s))
    	h := [3]uintptr{x[0], x[1], x[1]}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. licenses/github.com/hashicorp/go-multierror/LICENSE

         this License.
    
    1.10. “Modifications”
    
         means any of the following:
    
         a. any file in Source Code Form that results from an addition to, deletion
            from, or modification of the contents of Covered Software; or
    
         b. any new file in Source Code Form that contains any Covered Software.
    
    1.11. “Patent Claims” of a Contributor
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Oct 26 02:47:39 UTC 2019
    - 15.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Ascii.java

        }
    
        return new StringBuilder(maxLength)
            .append(seq, 0, truncationLength)
            .append(truncationIndicator)
            .toString();
      }
    
      /**
       * Indicates whether the contents of the given character sequences {@code s1} and {@code s2} are
       * equal, ignoring the case of any ASCII alphabetic characters between {@code 'a'} and {@code 'z'}
       * or {@code 'A'} and {@code 'Z'} inclusive.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/admissionregistration/v1beta1/generated.proto

      //
      // Required.
      optional string name = 1;
    
      // Expression represents the expression which will be evaluated by CEL. Must evaluate to bool.
      // CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables:
      //
      // 'object' - The object from the incoming request. The value is null for DELETE requests.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  10. src/bytes/bytes.go

    // Notable members of the hall of shame include:
    //   - gitee.com/quant1x/num
    //
    // Do not remove or change the type signature.
    // See go.dev/issue/67401.
    //
    // Note that this comment is not part of the doc comment.
    //
    //go:linkname Repeat
    
    // Repeat returns a new byte slice consisting of count copies of b.
    //
    // It panics if count is negative or if the result of (len(b) * count)
    // overflows.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Sep 03 20:55:15 UTC 2024
    - 35.6K bytes
    - Viewed (0)
Back to top