Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1581 - 1590 of 2,325 for longp (0.02 seconds)

  1. guava-testlib/test/com/google/common/testing/FakeTickerTest.java

        FakeTicker ticker = new FakeTicker().setAutoIncrementStep(incrementByNanos, NANOSECONDS);
    
        int numberOfThreads = 64;
        runConcurrentTest(
            numberOfThreads,
            () -> {
              long unused = ticker.read();
              return null;
            });
    
        assertEquals(incrementByNanos * numberOfThreads, ticker.read());
      }
    
      /** Runs {@code callable} concurrently {@code numberOfThreads} times. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/LockHeldAssertingSet.java

        return super.toArray();
      }
    
      @Override
      public <T> T[] toArray(T[] a) {
        assertTrue(Thread.holdsLock(mutex));
        return super.toArray(a);
      }
    
      private static final long serialVersionUID = 0;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java

                return true; // BAD!!
              }
    
              @Override
              public String get() {
                return "foo"; // BAD!!
              }
    
              @Override
              public String get(long time, TimeUnit unit) {
                return "foo"; // BAD!!
              }
    
              @Override
              public void addListener(Runnable runnable, Executor executor) {
                executor.execute(runnable);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/ImmutableMapEntry.java

       * {@code new ImmutableMapEntry[...]}, so it seems silly to insist on that only here.
       */
      @SuppressWarnings("unchecked") // Safe as long as the javadocs are followed
      static <K, V> ImmutableMapEntry<K, V>[] createEntryArray(int size) {
        return (ImmutableMapEntry<K, V>[]) new ImmutableMapEntry<?, ?>[size];
      }
    
      ImmutableMapEntry(K key, V value) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 01 21:42:29 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  5. docs/en/docs/advanced/middleware.md

    A middleware doesn't have to be made for FastAPI or Starlette to work, as long as it follows the ASGI spec.
    
    In general, ASGI middlewares are classes that expect to receive an ASGI app as the first argument.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/ImmutableEnumMap.java

          this.delegate = delegate;
        }
    
        Object readResolve() {
          return new ImmutableEnumMap<>(delegate);
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/UnmodifiableSortedMultiset.java

        return Multisets.unmodifiableSortedMultiset(delegate().tailMultiset(lowerBound, boundType));
      }
    
      @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/EmptyContiguousSet.java

          this.domain = domain;
        }
    
        private Object readResolve() {
          return new EmptyContiguousSet<>(domain);
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
      @GwtIncompatible
      @J2ktIncompatible
        @Override
      Object writeReplace() {
        return new SerializedForm<>(domain);
      }
    
      @GwtIncompatible
      @J2ktIncompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  9. cmd/xl-storage_windows_test.go

    	testCases := []struct {
    		objName string
    		pass    bool
    	}{
    		{"/abcdef", true},
    		{"/a/b/c/d/e/f/g", true},
    		{string(bytes.Repeat([]byte("界"), 85)), true},
    		// Each path component must be <= 255 bytes long.
    		{string(bytes.Repeat([]byte("界"), 280)), false},
    		{`/p/q/r/s/t`, true},
    	}
    	dir := t.TempDir()
    
    	// Instantiate posix object to manage a disk
    	fs, err := newLocalXLStorage(dir)
    	if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Nov 29 06:35:16 GMT 2023
    - 2.8K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/webauth/AdminWebauthAction.java

         * @param currentTime the current timestamp
         * @return an optional WebAuthentication entity
         */
        public static OptionalEntity<WebAuthentication> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new WebAuthentication()).map(entity -> {
                    entity.setCreatedBy(username);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 19.7K bytes
    - Click Count (0)
Back to Top