Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 3,635 for avoid (0.02 sec)

  1. docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    Some editors check for unused function parameters, and show them as errors.
    
    Using these `dependencies` in the *path operation decorator* you can make sure they are executed while avoiding editor/tooling errors.
    
    It might also help avoid confusion for new developers that see an unused parameter in your code and could think it's unnecessary.
    
    ///
    
    /// info
    
    In this example we use invented custom headers `X-Key` and `X-Token`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ListenableFutureTask.java

      // TODO(cpovirk): explore ways of making ListenableFutureTask final. There are some valid reasons
      // such as BoundedQueueExecutorService to allow extends but it would be nice to make it final to
      // avoid unintended usage.
    
      // The execution list to hold our listeners.
      private final ExecutionList executionList = new ExecutionList();
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/transport/TransportTest.java

            }
    
            // Test control methods
            public void setState(int state) {
                this.state = state;
            }
    
            public void setPeekedKey(Long key) {
                this.peekedKey = key;
            }
    
            public void setSendException(IOException e) {
                this.sendException = e;
            }
    
            public void setRecvException(IOException e) {
                this.recvException = e;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

      private Queue<Integer> queue;
    
      private final Random random = new Random();
    
      @BeforeExperiment
      void setUp() {
        queue = heap.create(comparator.get());
        for (int i = 0; i < size; i++) {
          queue.add(random.nextInt());
        }
      }
    
      @Benchmark
      void pollAndAdd(int reps) {
        for (int i = 0; i < reps; i++) {
          // TODO(kevinb): precompute random #s?
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

        GcFinalization.await(latch);
        assertEquals(0, latch.getCount());
      }
    
      public void testAwaitDone_future() {
        SettableFuture<@Nullable Void> future = SettableFuture.create();
        Object unused =
            new Object() {
              @SuppressWarnings({"removal", "Finalize"}) // b/260137033
              @Override
              protected void finalize() {
                future.set(null);
              }
            };
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/Parameter.java

      /**
       * An {@code AnnotatedType} instance, or {@code null} under Android VMs (possible only when using
       * the Android flavor of Guava). The field is declared with a type of {@code Object} to avoid
       * compatibility problems on Android VMs. The corresponding accessor method, however, can have the
       * more specific return type as long as users are careful to guard calls to it with version checks
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/LockHeldAssertingSet.java

       * are responsible for taking the mutex themselves:
       * https://docs.oracle.com/en/java/javase/22/docs/api/java.base/java/util/Collections.html#synchronizedCollection(java.util.Collection)
       *
       * Similarly, we avoid having those methods *implemented* in terms of *other* TestSet methods
       * that will perform holdsLock assertions:
       *
       * - For iterator(), we can accomplish that by not overriding iterator() at all. That way, we
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/toolchain/DefaultToolchain.java

    import org.apache.maven.toolchain.model.ToolchainModel;
    import org.slf4j.Logger;
    
    /**
     * Default abstract toolchain implementation, to be used as base class for any toolchain implementation
     * to avoid rewriting usual code.
     *
     * @since 2.0.9
     * @deprecated Use {@link org.apache.maven.api.Toolchain} instead.
     */
    @Deprecated(since = "4.0.0")
    public abstract class DefaultToolchain // should have been AbstractToolchain...
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Feb 12 13:13:28 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java

            : SetTestSuiteBuilder.using(keySetGenerator);
      }
    
      /**
       * To avoid infinite recursion, test suites with these marker features won't have derived suites
       * created for them.
       */
      enum NoRecurse implements Feature<@Nullable Void> {
        SUBMAP,
        DESCENDING;
    
        @Override
        public Set<Feature<? super @Nullable Void>> getImpliedFeatures() {
          return emptySet();
        }
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. cmd/config.go

    	_, err := objAPI.DeleteObject(ctx, minioMetaBucket, historyFile, ObjectOptions{
    		DeletePrefix:       true,
    		DeletePrefixObject: true, // use prefix delete on exact object (this is an optimization to avoid fan-out calls)
    	})
    	return err
    }
    
    func readServerConfigHistory(ctx context.Context, objAPI ObjectLayer, uuidKV string) ([]byte, error) {
    	historyFile := pathJoin(minioConfigHistoryPrefix, uuidKV+kvPrefix)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.9K bytes
    - Viewed (0)
Back to top