Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 919 for FIRST (0.03 sec)

  1. 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)
  2. android/guava-tests/test/com/google/common/escape/ArrayBasedEscaperMapTest.java

            ImmutableMap.of(
                'a', "first",
                'z', "last");
        ArrayBasedEscaperMap fem = ArrayBasedEscaperMap.create(map);
        // Array length is highest character value + 1
        assertThat(fem.getReplacementArray()).hasLength('z' + 1);
      }
    
      public void testMapping() {
        Map<Character, String> map =
            ImmutableMap.of(
                '\0', "zero",
                'a', "first",
                'b', "second",
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 18 15:41:04 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/QueuePollTester.java

      public void testPoll_size1() {
        assertEquals("size1Queue.poll() should return first element", e0(), getQueue().poll());
        expectMissing(e0());
      }
    
      @CollectionFeature.Require({KNOWN_ORDER, SUPPORTS_REMOVE})
      @CollectionSize.Require(SEVERAL)
      public void testPoll_sizeMany() {
        assertEquals("sizeManyQueue.poll() should return first element", e0(), getQueue().poll());
        expectMissing(e0());
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. 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)
  5. src/test/java/jcifs/ntlmssp/av/AvPairsTest.java

            assertEquals(3, pairs.size(), "Should have decoded three pairs");
    
            // Check first pair (AvFlags)
            assertEquals(AvPair.MsvAvFlags, pairs.get(0).getType(), "First pair should be MsvAvFlags");
            assertTrue(pairs.get(0) instanceof AvFlags, "First pair should be AvFlags instance");
    
            // Check second pair (AvTimestamp)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/http/HandlerTest.java

            URLConnection connection2 = handler.openConnection(url2);
    
            assertNotNull(connection1, "First connection should not be null.");
            assertNotNull(connection2, "Second connection should not be null.");
            assertTrue(connection1 instanceof NtlmHttpURLConnection, "First connection should be wrapped.");
            assertTrue(connection2 instanceof NtlmHttpURLConnection, "Second connection should be wrapped.");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/lang/ObjectUtil.java

        /**
         * Do not instantiate.
         */
        protected ObjectUtil() {
        }
    
        /**
         * Returns true if the two objects are equal, or both are null.
         *
         * @param object1 the first object
         * @param object2 the second object
         * @return true if equal or both null, false otherwise
         */
        public static boolean equals(final Object object1, final Object object2) {
            if (object1 == object2) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/escape/UnicodeEscaper.java

       *             IllegalArgumentException} is thrown.
       *       </ol>
       *   <li>If the first character was a low surrogate value, {@link IllegalArgumentException} is
       *       thrown.
       * </ol>
       *
       * @param seq the sequence of characters from which to decode the code point
       * @param index the index of the first character to decode
       * @param end the index beyond the last valid character to decode
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/escape/UnicodeEscaper.java

       *             IllegalArgumentException} is thrown.
       *       </ol>
       *   <li>If the first character was a low surrogate value, {@link IllegalArgumentException} is
       *       thrown.
       * </ol>
       *
       * @param seq the sequence of characters from which to decode the code point
       * @param index the index of the first character to decode
       * @param end the index beyond the last valid character to decode
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java

      int sortedSet(int reps) {
        int dummy = 0;
        if (mutable) {
          for (int i = 0; i < reps; i++) {
            dummy += new TreeSet<Integer>(input).first();
          }
        } else {
          for (int i = 0; i < reps; i++) {
            dummy += ImmutableSortedSet.copyOf(input).first();
          }
        }
        return dummy;
      }
    
      private static final Ordering<Integer> ORDERING = Ordering.natural();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top