Search Options

Results per page
Sort
Preferred Languages
Advance

Results 571 - 580 of 743 for measure (0.07 sec)

  1. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Security-focused test cases for Smb2NegotiateResponse input validation.
     * Tests various malformed input scenarios to ensure proper validation and
     * protection against buffer overflow, integer overflow, and other attacks.
     */
    public class Smb2NegotiateResponseInputValidationTest {
    
        private Configuration mockConfig;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

                SECONDS,
                new ArrayBlockingQueue<Runnable>(1000));
        executorService.prestartAllCoreThreads();
        AtomicInteger integer = new AtomicInteger();
        // Execute a bunch of tasks to ensure that our threads are allocated and hot
        for (int i = 0; i < NUM_THREADS * 10; i++) {
          @SuppressWarnings("unused") // https://errorprone.info/bugpattern/FutureReturnValueIgnored
          Future<?> possiblyIgnoredError =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/misc/DynamicProperties.java

     *   <li>{@link IORuntimeException} - Thrown if there are I/O errors during file operations.</li>
     * </ul>
     *
     * <p>Thread Safety:
     * This class uses synchronization to ensure thread-safe access to the properties.
     *
     * @see Properties
     */
    public class DynamicProperties extends Properties {
    
        private static final long serialVersionUID = 1L;
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/CharSourceTest.java

          TestCharSource okSource = new TestCharSource(STRING);
          assertThrows(IOException.class, () -> okSource.copyTo(new TestCharSink(option)));
          // ensure reader was closed IF it was opened (depends on implementation whether or not it's
          // opened at all if sink.newWriter() throws).
          assertTrue(
              "stream not closed when copying to sink with option: " + option,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top