Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 507 for secondes (0.34 sec)

  1. android/guava/src/com/google/common/eventbus/Dispatcher.java

        //    were added to the queue. It's easily possible for one thread to take the head of the
        //    queue, immediately followed by another thread taking the next element in the queue. That
        //    second thread can then dispatch to the subscriber it took before the first thread does.
        //
        // All this makes me really wonder if there's any value in queueing here at all. A dispatcher
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/EndpointPair.java

          // return condition1 || condition2;
          if (nodeU().equals(other.nodeU())) { // check condition1
            // Here's the tricky bit. We don't have to explicitly check for condition2 in this case.
            // Why? The second half of condition2 requires that nodeV equals other.nodeU.
            // We already know that nodeU equals other.nodeU. Combined with the earlier statement,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

        /* Should recover to be able to remove() after next(). */
        assertEquals("B", peekingIterator.next());
        peekingIterator.remove();
        assertEquals("Should have removed an element", 2, list.size());
        assertFalse("Second element should be gone", list.contains("B"));
      }
    
      static class ThrowsAtEndException extends RuntimeException {
        /* nothing */
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java

            assertEquals(28, bytesConsumed1);
    
            byte[] resumeKey1 = response.getResumeKey();
            assertNotNull(resumeKey1);
            assertEquals((byte) 0x11, resumeKey1[0]);
    
            // Second decode - should overwrite
            byte[] buffer2 = new byte[28];
            Arrays.fill(buffer2, 0, 24, (byte) 0x22);
    
            int bytesConsumed2 = response.decode(buffer2, 0, 28);
            assertEquals(28, bytesConsumed2);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFile.java

     * argument is used.
     *
     * <table border="1">
     * <caption>Examples Of SMB URLs When Augmented With A Second Constructor Parameter</caption>
     * <tr >
     * <td colspan="3">
     * <b>Examples Of SMB URLs When Augmented With A Second Constructor Parameter</b></td>
     * <tr>
     * <td >
     * <b>First Parameter</b></td>
     * <td><b>Second Parameter</b></td>
     * <td><b>Result</b></td>
     * </tr>
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt

      }
    
      @Test fun successfulFindMatchingPins() {
        val certificatePinner =
          CertificatePinner
            .Builder()
            .add("first.com", certA1Sha256Pin, certB1Sha256Pin)
            .add("second.com", certC1Sha256Pin)
            .build()
    
        val expectedPins =
          listOf(
            Pin("first.com", certA1Sha256Pin),
            Pin("first.com", certB1Sha256Pin),
          )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            // Then
            assertEquals(2, written, "Should write 2 bytes");
            assertEquals(SmbComTransaction.TRANS2_FIND_NEXT2, dst[0], "First byte must be subCommand");
            assertEquals((byte) 0x00, dst[1], "Second byte must be 0");
        }
    
        /**
         * Validates writeParametersWireFormat encodes values in the correct order and endianness.
         */
        @Test
        void testWriteParametersWireFormat() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

            infoField.setAccessible(true);
            infoField.set(response, mockDecodable);
    
            Decodable first = response.getInfo();
            Decodable second = response.getInfo();
    
            assertSame(first, second, "Multiple calls should return the same instance");
        }
    
        @Test
        @DisplayName("Test getInfo with null info returns null")
        void testGetInfoWithNullInfo() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/FileEntryTest.java

                when(mockEntry.getName()).thenReturn(null, "", " ");
    
                // Act & Assert
                assertNull(mockEntry.getName(), "first call returns null");
                assertEquals("", mockEntry.getName(), "second call returns empty");
                assertEquals(" ", mockEntry.getName(), "third call returns space");
    
                verify(mockEntry, times(3)).getName();
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

                assertEquals(100L, SMBUtil.readInt8(buffer, 0));
                assertEquals(200L, SMBUtil.readInt8(buffer, 8));
                assertEquals(1, SMBUtil.readInt4(buffer, 16));
    
                // Verify second lock
                assertEquals(300L, SMBUtil.readInt8(buffer, 24));
                assertEquals(400L, SMBUtil.readInt8(buffer, 32));
                assertEquals(2, SMBUtil.readInt4(buffer, 40));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top