Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 749 for measure (3.28 sec)

  1. src/main/java/jcifs/util/SimpleCircuitBreaker.java

                    }
                }
            }
        }
    
        /**
         * Get current state
         *
         * @return current state
         */
        public State getState() {
            evaluateState(); // Ensure state is current
            return state.get();
        }
    
        /**
         * Reset the circuit breaker
         */
        public void reset() {
            state.set(State.CLOSED);
            consecutiveFailures.set(0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

            String actualFilename = readString(buffer, 12, written - 12);
            assertEquals(filename, actualFilename);
        }
    
        @Test
        void testResetMultipleTimes() {
            // Test multiple resets to ensure state is properly maintained
            trans2FindNext2 = new Trans2FindNext2(config, TEST_SID, TEST_RESUME_KEY, TEST_FILENAME, TEST_BATCH_COUNT, TEST_BATCH_SIZE);
    
            for (int i = 1; i <= 5; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

            if (len <= 0) {
                return 0;
            }
            final long start = fp;
    
            if (tmp == null) {
                throw new IOException("Bad file descriptor");
            }
            // ensure file is open
            file.open(openFlags, access, SmbFile.ATTR_NORMAL, 0);
    
            /*
             * Read AndX Request / Response
             */
    
            if (LogStream.level >= 4) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/package-info.java

     * During this process only the most relevant version of each artifact
     * (based on group ID and artifact ID) is retained, resolving conflicts and eliminating duplicates to ensure
     * that each dependency is included only once in the final build.</p>
     *
     * <p><dfn>Dependency resolution</dfn> is the process of collecting dependencies, flattening the result graph,
     * and then resolving the artifacts.</p>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Mar 05 14:29:21 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

                // Skipping assertions that assume non-critical errors don't affect circuit state
                // as the actual implementation may handle this differently
    
                // Reset to ensure clean state for critical error test
                if (customCb.getState() != State.CLOSED) {
                    customCb.reset();
                }
    
                // Critical failures - should open circuit after threshold
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFileInputStream.java

            if (len <= 0) {
                return 0;
            }
            final long start = this.fp;
    
            if (this.tmp == null) {
                throw new IOException("Bad file descriptor");
            }
            // ensure file is open
            try (SmbFileHandleImpl fd = ensureOpen(); SmbTreeHandleImpl th = fd.getTree()) {
    
                if (log.isTraceEnabled()) {
                    log.trace("read: fid=" + fd + ",off=" + off + ",len=" + len);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                /* Yes, there is the potential to drop packets
                 * because we might close the socket during a
                 * request. However the chances are slim and the
                 * retry code should ensure the overall request
                 * is serviced. The alternative complicates things
                 * more than I think is worth it.
                 */
    
                if (socket != null) {
                    socket.close();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  8. cmd/metrics-v2.go

    		Help:      "Get current health status for this erasure set",
    		Type:      gaugeMetric,
    	}
    }
    
    func getClusterErasureSetReadQuorumMD() MetricDescription {
    	return MetricDescription{
    		Namespace: clusterMetricNamespace,
    		Subsystem: "health",
    		Name:      "erasure_set_read_quorum",
    		Help:      "Get the read quorum for this erasure set",
    		Type:      gaugeMetric,
    	}
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 133.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

                + "the fact that the shadowed ReadLock and WriteLock are never used or "
                + "exposed by the superclass implementation. If the implementation has "
                + "changed, the code must be re-inspected to ensure that the "
                + "assumption is still valid.",
            24,
            ReentrantReadWriteLock.class.getMethods().length);
      }
    
      private enum MyOrder {
        FIRST,
        SECOND,
        THIRD;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

                + "the fact that the shadowed ReadLock and WriteLock are never used or "
                + "exposed by the superclass implementation. If the implementation has "
                + "changed, the code must be re-inspected to ensure that the "
                + "assumption is still valid.",
            24,
            ReentrantReadWriteLock.class.getMethods().length);
      }
    
      private enum MyOrder {
        FIRST,
        SECOND,
        THIRD;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 16.2K bytes
    - Viewed (0)
Back to top