Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 822 for FIRST (0.02 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/QueueRemoveTester.java

      public void testRemove_size1() {
        assertEquals("size1Queue.remove() should return first element", e0(), getQueue().remove());
        expectMissing(e0());
      }
    
      @CollectionFeature.Require({KNOWN_ORDER, SUPPORTS_REMOVE})
      @CollectionSize.Require(SEVERAL)
      public void testRemove_sizeMany() {
        assertEquals("sizeManyQueue.remove() should return first element", e0(), getQueue().remove());
        expectMissing(e0());
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/audit/SecurityAuditLogger.java

            if (!entry.context.isEmpty()) {
                json.append(",\"context\":{");
                boolean first = true;
                for (Map.Entry<String, Object> e : entry.context.entrySet()) {
                    if (e.getValue() != null) {
                        if (!first) {
                            json.append(",");
                        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/NameTest.java

            Name name = new Name(mockConfig, "TEST", 0x20, null);
            byte[] dst = new byte[100];
    
            int length = name.writeWireFormat(dst, 0);
    
            // Check first byte is 0x20
            assertEquals(0x20, dst[0]);
    
            // Check encoded name (TEST -> encoded as pairs)
            // T = 0x54 -> upper nibble: 0x5 -> 0x46 (F), lower nibble: 0x4 -> 0x45 (E)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

      `Explain all that,' said the Mock Turtle.
    
      `No, no!  The adventures first,' said the Gryphon in an
    impatient tone:  `explanations take such a dreadful time.'
    
      So Alice began telling them her adventures from the time when
    she first saw the White Rabbit.  She was a little nervous about
    it just at first, the two creatures got so close to her, one on
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 145.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/http/NtlmHttpFilterTest.java

            assertDoesNotThrow(() -> filter.destroy());
        }
    
        @Test
        void testDoFilter_noAuthorizationHeader_shouldChallengeClient() throws Exception {
            // Initialize filter first
            initializeFilter();
    
            // Test request without Authorization header should challenge client
            when(request.getHeader("Authorization")).thenReturn(null);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Iterables.java

       * Returns a view of {@code iterable} that skips its first {@code numberToSkip} elements. If
       * {@code iterable} contains fewer than {@code numberToSkip} elements, the returned iterable skips
       * all of its elements.
       *
       * <p>Modifications to the underlying {@link Iterable} before a call to {@code iterator()} are
       * reflected in the returned iterator. That is, the iterator skips the first {@code numberToSkip}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java

        @Test
        void testMultipleReads() throws SMBProtocolDecodingException {
            // First read
            byte[] firstData = { 1, 2, 3 };
            byte[] buffer1 = new byte[10];
            System.arraycopy(firstData, 0, buffer1, 0, firstData.length);
            response.readDataWireFormat(buffer1, 0, firstData.length);
    
            // Verify first data
            for (int i = 0; i < firstData.length; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/MapRetrievalCache.java

        entry = cacheEntry1;
        if (entry != null && entry.key == key) {
          return entry.value;
        }
        entry = cacheEntry2;
        if (entry != null && entry.key == key) {
          // Promote second cache entry to first so the access pattern
          // [K1, K2, K1, K3, K1, K4...] still hits the cache half the time.
          addToCache(entry);
          return entry.value;
        }
        return null;
      }
    
      @Override
      void clearCache() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/AddressTest.java

            // When
            String firstName = mockAddress.firstCalledName();
    
            // Then
            assertEquals(expectedFirstName, firstName, "Should return first called name");
            assertNotNull(firstName, "First called name should not be null");
        }
    
        @Test
        @DisplayName("nextCalledName should return valid name for fallback attempts")
        void testNextCalledNameContract() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/NtStatusTest.java

        void testStatusCodesArray() {
            // When
            int[] codes = NtStatus.NT_STATUS_CODES;
    
            // Then
            assertNotNull(codes);
            assertTrue(codes.length > 0);
            // First code should be success
            assertEquals(NtStatus.NT_STATUS_SUCCESS, codes[0]);
        }
    
        @Test
        @DisplayName("Should have status messages array")
        void testStatusMessagesArray() {
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top