Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 381 - 390 of 752 for calcs (0.02 seconds)

  1. guava/src/com/google/common/collect/HashBiMap.java

      /*
       * The following two arrays may *contain* nulls, but they are never *themselves* null: Even though
       * they are not initialized inline in the constructor, they are initialized from init(), which the
       * constructor calls (as does readObject()).
       */
      @SuppressWarnings("nullness:initialization.field.uninitialized") // For J2KT (see above)
      private transient @Nullable Node<K, V>[] hashTableKToV;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/score/QueryRescorerTest.java

                    if (callCount % 2 == 0) {
                        return createMockRescorerBuilder();
                    }
                    return null;
                }
            };
    
            // Test multiple calls
            Map<String, Object> params = new HashMap<>();
            params.put("test", "value");
    
            assertNull(queryRescorer.evaluate(params)); // First call - odd
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  3. docs/zh/docs/advanced/async-tests.md

    如果您的应用程序依赖于生命周期事件, `AsyncClient` 将不会触发这些事件。为了确保它们被触发,请使用 [florimondmanca/asgi-lifespan](https://github.com/florimondmanca/asgi-lifespan#usage) 中的 `LifespanManager` 。
    
    ///
    
    ## 其他异步函数调用 { #other-asynchronous-function-calls }
    
    由于测试函数现在是异步的,因此除了在测试中向 FastAPI 应用程序发送请求之外,您现在还可以调用(和使用 `await` 等待)其他 `async` 异步函数,就和您在代码中的其他任何地方调用它们的方法一样。
    
    /// tip | 提示
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  4. cmd/storage-errors.go

    	}
    	if isSysErrHandleInvalid(err) {
    		return errFileNotFound
    	}
    	if isSysErrIO(err) {
    		return errFaultyDisk
    	}
    	if isSysErrInvalidArg(err) {
    		storageLogIf(context.Background(), err)
    		// For some odd calls with O_DIRECT reads
    		// filesystems can return EINVAL, handle
    		// these as FileNotFound instead.
    		return errFileNotFound
    	}
    	if isSysErrNoSpace(err) {
    		return errDiskFull
    	}
    	return err
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.4K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/ds/DataStoreTest.java

            };
    
            // Execute stop
            dataStore.stop();
    
            assertTrue(stopCalled.get());
        }
    
        @Test
        public void test_stop_multipleCalls() {
            // Test multiple stop calls
            final AtomicInteger stopCallCount = new AtomicInteger(0);
    
            dataStore = new DataStore() {
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

      /**
       * True if this task faker has ever had multiple tasks scheduled to run concurrently. Guarded by
       * `this`.
       */
      var isParallel = false
    
      /** Number of calls to [TaskRunner.Backend.execute]. Guarded by `this`. */
      var executeCallCount = 0
    
      /** Guarded by [taskRunner]. */
      var nanoTime = 0L
        private set
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed May 28 23:28:25 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/base/internal/Finalizer.java

     * stop itself.
     */
    public class Finalizer implements Runnable {
    
      private static final Logger logger = Logger.getLogger(Finalizer.class.getName());
    
      /**
       * Starts the Finalizer thread. FinalizableReferenceQueue calls this method reflectively.
       *
       * @param finalizableReferenceClass FinalizableReference.class.
       * @param queue a reference queue that the thread will poll.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 03:19:29 GMT 2026
    - 9.6K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

       * method is called. Complete Futures here.
       */
      abstract void afterRanInterruptiblyFailure(Throwable error);
    
      /**
       * Interrupts the running task. Because this internally calls {@link Thread#interrupt()} which can
       * in turn invoke arbitrary code it is not safe to call while holding a lock.
       */
      @SuppressWarnings("Interruption") // We are implementing a user-requested interrupt.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 28 22:39:02 GMT 2026
    - 10K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java

      private @Nullable ThreadFactory backingThreadFactory = null;
    
      /**
       * Creates a new {@link ThreadFactory} builder.
       *
       * <p><b>Java 21+ users:</b> use {@link Thread#ofPlatform()} instead, translating other calls on
       * the builder as documented on each method (except for the rarely used {@link #setThreadFactory},
       * which does not have an equivalent).
       */
      public ThreadFactoryBuilder() {}
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Dec 29 17:36:00 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  10. src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java

            verify(mockNdrBuffer).align(4);
            verify(mockNdrBuffer, times(2)).dec_ndr_long();
            verify(mockDeferredBuffer, times(3)).dec_ndr_long(); // 1 for array size + 2 for ShareInfo0 decode calls
            verify(mockDeferredBuffer).advance(8); // 4 * 2
        }
    
        @Test
        void testShareInfoCtr1EncodeWithArray() throws NdrException {
            srvsvc.ShareInfoCtr1 ctr1 = new srvsvc.ShareInfoCtr1();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12K bytes
    - Click Count (0)
Back to Top