Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 609 for Calls (0.48 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

            // Second call keeps the same state
            SmbComTransactionResponse r2 = (SmbComTransactionResponse) d.nextElement();
            assertSame(d, r2, "Subsequent calls still return same instance");
            assertFalse(d.getIsPrimary(), "isPrimary remains false after subsequent call");
        }
    
        @Test
        public void toString_doesNotThrow() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/SimpleCircuitBreaker.java

                this.successRate = successRate;
            }
    
            @Override
            public String toString() {
                return String.format("CircuitBreaker[%s] State=%s, Calls=%d, Success=%.2f%%, Rejected=%d", name, state, totalCalls,
                        successRate * 100, rejectedCalls);
            }
        }
    
        /**
         * Exception thrown when circuit breaker is open
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

            SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, TEST_TYPE, TEST_REMARK);
            int hashCode1 = info.hashCode();
            int hashCode2 = info.hashCode();
    
            // Multiple calls should return same value
            assertEquals(hashCode1, hashCode2);
        }
    
        @Test
        @DisplayName("Test toString method")
        void testToString() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/eventbus/SubscriberRegistry.java

          if (e.getCause() instanceof IllegalArgumentException) {
            /*
             * IllegalArgumentException is the one unchecked exception that we know is likely to happen
             * (thanks to the checkArgument calls in getAnnotatedMethodsNotCached). If it happens, we'd
             * prefer to propagate an IllegalArgumentException to the caller. However, we don't want to
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            // Set fail counts (addr1 has more failures, addr2 has fewer)
            pool.failCounts.put("10.0.0.1", 5);
            pool.failCounts.put("10.0.0.2", 1);
    
            // Create spy to intercept calls
            SmbTransportPoolImpl poolSpy = spy(pool);
            when(ctx.getTransportPool()).thenReturn(poolSpy);
    
            // Mock transports
            SmbTransportImpl trans1 = mock(SmbTransportImpl.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  6. cmd/metacache-server-pool.go

    	versioned := o.Versioning != nil && o.Versioning.Versioned(obj.name)
    
    	// skip latest object from listing only for regular
    	// listObjects calls, versioned based listing cannot
    	// filter out between versions 'obj' cannot be truncated
    	// in such a manner, so look for skipping an object only
    	// for regular ListObjects() call only.
    	if !o.Versioned && !o.V1 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon May 26 07:06:43 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

          boolean unused =
              setFuture((ListenableFuture<O>) localInputFuture); // Respects cancellation cause setting
          return;
        }
    
        /*
         * Any of the setException() calls below can fail if the output Future is cancelled between now
         * and then. This means that we're silently swallowing an exception -- maybe even an Error. But
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 20 18:03:37 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  8. cmd/namespace-lock.go

    type LockContext struct {
    	ctx    context.Context
    	cancel context.CancelFunc
    }
    
    // Context returns lock context
    func (l LockContext) Context() context.Context {
    	return l.ctx
    }
    
    // Cancel function calls cancel() function
    func (l LockContext) Cancel() {
    	if l.cancel != nil {
    		l.cancel()
    	}
    }
    
    // newNSLock - return a new name space lock map.
    func newNSLock(isDistErasure bool) *nsLockMap {
    	nsMutex := nsLockMap{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

            List<String> cmdList = Arrays.asList("echo", "hello");
            Consumer<ProcessBuilder> pbCall = pb -> {
                pb.redirectErrorStream(true);
            };
    
            try {
                // Test that multiple calls to startProcess with same sessionId work correctly
                JobProcess jobProcess1 = processHelper.startProcess(sessionId, cmdList, pbCall);
                JobProcess jobProcess2 = processHelper.startProcess(sessionId, cmdList, pbCall);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/BloomFilterStrategies.java

        /** Number of bits */
        long bitSize() {
          return (long) data.length() * Long.SIZE;
        }
    
        /**
         * Number of set bits (1s).
         *
         * <p>Note that because of concurrent set calls and uses of atomics, this bitCount is a (very)
         * close *estimate* of the actual number of bits set. It's not possible to do better than an
         * estimate without locking. Note that the number, if not exactly accurate, is *always*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top