Search Options

Results per page
Sort
Preferred Languages
Advance

Results 901 - 910 of 2,658 for Created (0.11 sec)

  1. utils/utils_test.go

    			trimLen:  1,
    			expected: []int{1, 2},
    		},
    		{
    			name:     "Empty slice",
    			input:    []int{},
    			trimLen:  2,
    			expected: []int{},
    		},
    		{
    			name:     "Negative trim length (should be treated as zero)",
    			input:    []int{1, 2, 3},
    			trimLen:  -1,
    			expected: []int{1, 2, 3},
    		},
    	}
    
    	for _, testcase := range tests {
    		t.Run(testcase.name, func(t *testing.T) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Stopwatch.java

      private long elapsedNanos;
      private long startTick;
    
      /**
       * Creates (but does not start) a new stopwatch using {@link System#nanoTime} as its time source.
       *
       * @since 15.0
       */
      public static Stopwatch createUnstarted() {
        return new Stopwatch();
      }
    
      /**
       * Creates (but does not start) a new stopwatch, using the specified time source.
       *
       * @since 15.0
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java

        TreeRangeMap<Integer, Integer> empty = TreeRangeMap.create();
        TreeRangeMap<Integer, Integer> nonEmpty = TreeRangeMap.create();
        nonEmpty.put(Range.all(), 1);
        TreeRangeMap<Integer, Integer> coalesced = TreeRangeMap.create();
        coalesced.put(Range.atLeast(1), 1);
        coalesced.putCoalescing(Range.atMost(1), 1);
        TreeRangeMap<Integer, Integer> differentValues = TreeRangeMap.create();
        differentValues.put(Range.closedOpen(1, 2), 2);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Oct 06 13:04:03 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Queues.java

      // ArrayBlockingQueue
    
      /**
       * Creates an empty {@code ArrayBlockingQueue} with the given (fixed) capacity and nonfair access
       * policy.
       */
      @J2ktIncompatible
      @GwtIncompatible // ArrayBlockingQueue
      public static <E> ArrayBlockingQueue<E> newArrayBlockingQueue(int capacity) {
        return new ArrayBlockingQueue<>(capacity);
      }
    
      // ArrayDeque
    
      /**
       * Creates an empty {@code ArrayDeque}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 26 14:11:14 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java

      }
    
      /** Creates an {@code AtomicLongMap}. */
      public static <K> AtomicLongMap<K> create() {
        return new AtomicLongMap<>(new ConcurrentHashMap<>());
      }
    
      /** Creates an {@code AtomicLongMap} with the same mappings as the specified {@code Map}. */
      public static <K> AtomicLongMap<K> create(Map<? extends K, ? extends Long> m) {
        AtomicLongMap<K> result = create();
        result.putAll(m);
        return result;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/NtlmPasswordAuthentication.java

     * <tt>jcifs.smb.client.username</tt>, and <tt>jcifs.smb.client.password</tt>
     * properties.
     * <p>
     * Read <a href="../../../authhandler.html">jCIFS Exceptions and
     * NtlmAuthenticator</a> for related information.
     * 
     * @deprecated use {@link NtlmPasswordAuthenticator} instead
     */
    @Deprecated
    public class NtlmPasswordAuthentication extends NtlmPasswordAuthenticator {
    
        /**
         * 
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 8.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Queues.java

      // ArrayBlockingQueue
    
      /**
       * Creates an empty {@code ArrayBlockingQueue} with the given (fixed) capacity and nonfair access
       * policy.
       */
      @J2ktIncompatible
      @GwtIncompatible // ArrayBlockingQueue
      public static <E> ArrayBlockingQueue<E> newArrayBlockingQueue(int capacity) {
        return new ArrayBlockingQueue<>(capacity);
      }
    
      // ArrayDeque
    
      /**
       * Creates an empty {@code ArrayDeque}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 26 14:11:14 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/LinkedHashMultimap.java

        extends LinkedHashMultimapGwtSerializationDependencies<K, V> {
    
      /** Creates a new, empty {@code LinkedHashMultimap} with the default initial capacities. */
      public static <K extends @Nullable Object, V extends @Nullable Object>
          LinkedHashMultimap<K, V> create() {
        return new LinkedHashMultimap<>(DEFAULT_KEY_CAPACITY, DEFAULT_VALUE_SET_CAPACITY);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/header-param-models.md

    # Header Parameter Models
    
    If you have a group of related **header parameters**, you can create a **Pydantic model** to declare them.
    
    This would allow you to **re-use the model** in **multiple places** and also to declare validations and metadata for all the parameters at once. 😎
    
    /// note
    
    This is supported since FastAPI version `0.115.0`. 🤓
    
    ///
    
    ## Header Parameters with a Pydantic Model
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/Graph.java

       *
       * <p>For undirected graphs, this is equal to {@code incidentEdges(node).size()} + (number of
       * self-loops incident to {@code node}).
       *
       * <p>If the count is greater than {@code Integer.MAX_VALUE}, returns {@code Integer.MAX_VALUE}.
       *
       * @throws IllegalArgumentException if {@code node} is not an element of this graph
       */
      @Override
      int degree(N node);
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 13.7K bytes
    - Viewed (0)
Back to top