Search Options

Results per page
Sort
Preferred Languages
Advance

Results 481 - 490 of 960 for correctly (0.09 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java

        /**
         * Associates the specified session data with the given key if the key is currently mapped to the given value. This
         * method provides an atomic compare-and-update of some key's value.
         *
         * @param key the key under which to store the session data, must not be {@code null}
         * @param oldValue the expected data currently associated with the key, may be {@code null}
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Feb 28 23:31:09 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeTest.java

        private String testPipeName = "\\PIPE\\testpipe";
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        @DisplayName("Constructor should initialize with correct values")
        void testConstructor() {
            // Act
            transWaitNamedPipe = new TransWaitNamedPipe(mockConfig, testPipeName);
    
            // Assert
            assertNotNull(transWaitNamedPipe);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTransportInternal.java

         */
        boolean isDisconnected();
    
        /**
         * Disconnects the transport from the remote server.
         *
         * @param hard if true, force immediate disconnection
         * @param inuse whether the connection is currently in use
         * @return whether the connection was in use
         * @throws IOException if an I/O error occurs during disconnection
         */
        boolean disconnect(boolean hard, boolean inuse) throws IOException;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java

            byte[] buffer = new byte[100];
            int dstIndex = 10;
            int bytesWritten = info.encode(buffer, dstIndex);
    
            // Verify replaceIfExists flag at correct position
            assertEquals(1, buffer[dstIndex]);
    
            // Verify file name length at correct position
            int nameLength = SMBUtil.readInt4(buffer, dstIndex + 16);
            assertEquals(fileName.getBytes(StandardCharsets.UTF_16LE).length, nameLength);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/transport/ResponseTest.java

            verify(mockResponse, times(1)).getErrorCode();
        }
    
        @Test
        void testSetMid() {
            long mid = 12345L;
            mockResponse.setMid(mid);
    
            // Verify that the method was called with the correct argument
            verify(mockResponse, times(1)).setMid(mid);
        }
    
        @Test
        void testGetMid() {
            long mid = 54321L;
            when(mockResponse.getMid()).thenReturn(mid);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/security/http-basic-auth.md

    Of course, the attackers would not try all this by hand, they would write a program to do it, possibly with thousands or millions of tests per second. And they would get just one extra correct letter at a time.
    
    But doing that, in some minutes or hours the attackers would have guessed the correct username and password, with the "help" of our application, just using the time taken to answer.
    
    #### Fix it with `secrets.compare_digest()` { #fix-it-with-secrets-compare-digest }
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/validation/FessActionValidatorTest.java

    public class FessActionValidatorTest extends UnitFessTestCase {
    
        public void test_constructor() {
            // Test basic class structure without complex mocking
            assertEquals("FessActionValidator should be in correct package", "org.codelibs.fess.validation.FessActionValidator",
                    FessActionValidator.class.getName());
        }
    
        public void test_inheritance() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/CacheBuilder.java

       * implementation; otherwise refreshes will be performed during unrelated cache read and write
       * operations.
       *
       * <p>Currently automatic refreshes are performed when the first stale request for an entry
       * occurs. The request triggering refresh will make a synchronous call to {@link
       * CacheLoader#reload}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/msrpc/SamrAliasHandleTest.java

            SamrAliasHandle aliasHandle = new SamrAliasHandle(mockDcerpcHandle, mockSamrDomainHandle, access, rid);
    
            // Assert
            assertNotNull(aliasHandle);
            // Verify that sendrecv was called with the correct MsrpcSamrOpenAlias object
            ArgumentCaptor<MsrpcSamrOpenAlias> rpcCaptor = ArgumentCaptor.forClass(MsrpcSamrOpenAlias.class);
            verify(mockDcerpcHandle).sendrecv(rpcCaptor.capture());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

            Thread.yield();
          }
          state = get();
        }
        if (restoreInterruptedBit) {
          currentThread.interrupt();
        }
        /*
         * TODO(cpovirk): Clear interrupt status here? We currently don't, which means that an interrupt
         * before, during, or after runInterruptibly() (unless it produced an InterruptedException
         * caught above) can linger and affect listeners.
         */
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 10K bytes
    - Viewed (0)
Back to top