Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 1,521 for cases (0.02 sec)

  1. android/guava-tests/test/com/google/common/math/MathTesting.java

        // Add boundary values manually to avoid over/under flow (this covers 2^N for 0 and 31).
        intValues.add(Integer.MAX_VALUE - 1, Integer.MAX_VALUE);
        // Add values up to 40. This covers cases like "square of a prime" and such.
        for (int i = 1; i <= 40; i++) {
          intValues.add(i);
        }
        // Now add values near 2^N for lots of values of N.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 11.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

       * execute. If execution has already begun, the listener is executed immediately.
       *
       * <p>When selecting an executor, note that {@code directExecutor} is dangerous in some cases. See
       * the discussion in the {@link ListenableFuture#addListener ListenableFuture.addListener}
       * documentation.
       */
      public void add(Runnable runnable, Executor executor) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 22 21:17:24 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/eventbus/Dispatcher.java

        // that simply loops through the subscribers and dispatches the event to each would actually
        // probably provide a stronger order guarantee, though that order would obviously be different
        // in some cases.
    
        /** Global event queue. */
        private final ConcurrentLinkedQueue<EventWithSubscriber> queue =
            Queues.newConcurrentLinkedQueue();
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/request-files.md

    Keep in mind that this means that the whole contents will be stored in memory. This will work well for small files.
    
    But there are several cases in which you might benefit from using `UploadFile`.
    
    ## File Parameters with `UploadFile`
    
    Define a file parameter with a type of `UploadFile`:
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="14"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Iterables.java

      }
    
      /**
       * Returns {@code true} if {@code iterable} contains any element {@code o} for which {@code
       * Objects.equals(o, element)} would return {@code true}. Otherwise returns {@code false}, even in
       * cases where {@link Collection#contains} might throw {@link NullPointerException} or {@link
       * ClassCastException}.
       */
      // <? extends @Nullable Object> instead of <?> because of Kotlin b/189937072, discussed in Joiner.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 42.8K bytes
    - Viewed (0)
  6. architecture/standards/0006-use-of-provider-apis-in-gradle.md

    ## Decision
    
    ### Types of properties that should not use lazy types
    
    The guidelines below do not apply to all properties. There are cases where the lazy types should not be used:
    
    #### Non-calculated values
    
    These are inappropriate uses of lazy types:
    
    ```groovy
    class Example {
        Property<String> getSomeProperty()
    
        Example() {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Oct 15 20:00:57 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-v1.go

    	Meta map[string]string `json:"meta,omitempty"`
    	// Captures all the individual object `xl.meta`.
    	Parts []ObjectPartInfo `json:"parts,omitempty"`
    
    	// Dummy values used for legacy use cases.
    	VersionID string `json:"versionId,omitempty"`
    	DataDir   string `json:"dataDir,omitempty"` // always points to "legacy"
    }
    
    // StatInfo - carries stat information of the object.
    type StatInfo struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/AbstractNetwork.java

      }
    
      @Override
      @CheckForNull
      public E edgeConnectingOrNull(N nodeU, N nodeV) {
        Set<E> edgesConnecting = edgesConnecting(nodeU, nodeV);
        switch (edgesConnecting.size()) {
          case 0:
            return null;
          case 1:
            return edgesConnecting.iterator().next();
          default:
            throw new IllegalArgumentException(String.format(MULTIPLE_EDGES_CONNECTING, nodeU, nodeV));
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 13 18:17:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/eventbus/SubscriberRegistry.java

             * prefer to propagate an IllegalArgumentException to the caller. However, we don't want to
             * simply rethrow an exception (e.getCause()) that may in rare cases have come from another
             * thread. To accomplish both goals, we wrap that IllegalArgumentException in a new
             * instance.
             */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:16:45 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/graph/AbstractNetwork.java

      }
    
      @Override
      @CheckForNull
      public E edgeConnectingOrNull(N nodeU, N nodeV) {
        Set<E> edgesConnecting = edgesConnecting(nodeU, nodeV);
        switch (edgesConnecting.size()) {
          case 0:
            return null;
          case 1:
            return edgesConnecting.iterator().next();
          default:
            throw new IllegalArgumentException(String.format(MULTIPLE_EDGES_CONNECTING, nodeU, nodeV));
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 13 18:17:09 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top