Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 330 for corretto (0.04 sec)

  1. guava-tests/test/com/google/common/collect/ComparisonChainTest.java

              .add("aString", aString)
              .add("anInt", anInt)
              .add("anEnum", anEnum)
              .toString();
        }
      }
    
      /** Validates that the Comparator equivalent we document is correct. */
      @J2ktIncompatible // TODO b/315311435 - J2kt cannot emulate Comparator<C>.<U>thenComparing()
      public void testComparatorEquivalent() {
        Comparator<Foo> comparatorUsingComparisonChain =
            (a, b) ->
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:05:13 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

            assertArrayEquals(newFileId, actualFileId);
    
            assertEquals(104, bytesWritten); // 40 bytes header + 64 bytes input buffer
        }
    
        @Test
        @DisplayName("Test setFileInfoClass sets correct info type")
        void testSetFileInfoClassSetsCorrectInfoType() {
            request = new Smb2QueryInfoRequest(mockConfig);
    
            // Initially set a different info type
            request.setInfoType((byte) 0x05);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

          sum += value.get();
        }
        return Ints.saturatedCast(sum);
      }
    
      /*
       * We override the toArray methods for two reasons:
       *
       * 1. Both superclass toArray methods assume that size() gives a correct answer, while our size()
       * might not (and the answer might change while we're building the array).
       *
       * TODO: cpovirk - Is this an issue anywhere anymore? It looks to have been fixed for Java 8
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Dec 08 22:42:14 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/service/impl/UrlFilterServiceImplTest.java

            service.addExcludeUrlFilter(session1, "https://session1.com/admin/.*");
            service.addExcludeUrlFilter(session2, "https://session2.com/private/.*");
    
            // Verify that dataHelper was called with correct session IDs
            verify(dataHelper).addIncludeUrlPattern(session1, "https://session1.com/.*");
            verify(dataHelper).addIncludeUrlPattern(session2, "https://session2.com/.*");
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/math/BigIntegerMath.java

         * 10^floor(log10(x)).
         */
    
        if (approxCmp > 0) {
          /*
           * The code is written so that even completely incorrect approximations will still yield the
           * correct answer eventually, but in practice this branch should almost never be entered, and
           * even then the loop should not run more than once.
           */
          do {
            approxLog10--;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/audit/SecurityAuditLoggerTest.java

            }
    
            Map<EventType, Long> stats = logger.getStatistics();
            assertEquals(Long.valueOf(threadCount * eventsPerThread), stats.get(EventType.AUTHENTICATION_SUCCESS),
                    "Should have correct total number of events");
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            assertEquals((byte) 0x00, dst[1], "Second byte must be 0");
        }
    
        /**
         * Validates writeParametersWireFormat encodes values in the correct order and endianness.
         */
        @Test
        void testWriteParametersWireFormat() {
            // Given
            int sid = 0x1234;
            int resumeKey = 0x89ABCDEF; // LE expected: EF CD AB 89
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

      public boolean offer(E element) {
        checkNotNull(element);
        modCount++;
        int insertIndex = size++;
    
        growIfNeeded();
    
        // Adds the element to the end of the heap and bubbles it up to the correct
        // position.
        heapForIndex(insertIndex).bubbleUp(insertIndex, element);
        return size <= maximumSize || pollLast() != element;
      }
    
      @CanIgnoreReturnValue
      @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 33.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

            setErrorCode(response, 0);
    
            int bytesRead = response.readDataWireFormat(fullBuffer, startIndex, buffer.length);
    
            // Verify the method returns the correct number of bytes read
            assertTrue(bytesRead > 0);
            assertTrue(bytesRead <= buffer.length);
        }
    
        /**
         * Helper method to create a valid security descriptor buffer
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/util/HMACT64Test.java

            byte[] buffer = new byte[32];
            int bytesWritten = hmac.engineDigest(buffer, 5, 16);
    
            assertEquals(16, bytesWritten);
            // Check that bytes were written to the correct position
            byte[] extractedResult = Arrays.copyOfRange(buffer, 5, 21);
            assertEquals(16, extractedResult.length);
        }
    
        @Test
        void testEngineDigestWithInsufficientBuffer() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.1K bytes
    - Viewed (0)
Back to top