Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,188 for _arrays (0.95 sec)

  1. src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.util.Arrays;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    @DisplayName("Smb2LeaseKey Tests")
    class Smb2LeaseKeyTest {
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/spnego/NegTokenInit.java

        }
    
        /**
         * Gets the array of supported authentication mechanisms
         * @return the mechanisms array
         */
        public ASN1ObjectIdentifier[] getMechanisms() {
            return this.mechanisms;
        }
    
        /**
         * Sets the array of supported authentication mechanisms
         * @param mechanisms the mechanisms to set
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/SecureCredentialStorageTest.java

            assertArrayEquals(plaintext, decrypted1);
            assertArrayEquals(plaintext, decrypted2);
    
            // Clean up
            Arrays.fill(plaintext, '\0');
            Arrays.fill(decrypted1, '\0');
            Arrays.fill(decrypted2, '\0');
        }
    
        @Test
        public void testBase64StringOperations() throws Exception {
            char[] plaintext = "TestPassword456".toCharArray();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/annotation/SecuredTest.java

            assertNotNull(target);
            ElementType[] targetTypes = target.value();
            assertEquals(2, targetTypes.length);
            assertTrue(Arrays.asList(targetTypes).contains(ElementType.METHOD));
            assertTrue(Arrays.asList(targetTypes).contains(ElementType.TYPE));
    
            // Check Retention annotation
            Retention retention = Secured.class.getAnnotation(Retention.class);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            return h;
        }
    
        /**
         * Concatenates multiple byte arrays into a single array.
         */
        private static byte[] concat(byte[]... arrays) {
            int total = 0;
            for (byte[] a : arrays) {
                total += a.length;
            }
            byte[] res = new byte[total];
            int off = 0;
            for (byte[] a : arrays) {
                System.arraycopy(a, 0, res, off, a.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/SetCreationTester.java

      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testCreateWithDuplicates_nullDuplicatesNotRejected() {
        E[] array = createArrayWithNullElement();
        array[0] = null;
        collection = getSubjectGenerator().create(array);
    
        List<E> expectedWithDuplicateRemoved = asList(array).subList(1, getNumElements());
        expectContents(expectedWithDuplicateRemoved);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableListTest.java

      }
    
      public void testCreation_arrayOfArray() {
        String[] array = new String[] {"a"};
        List<String[]> list = ImmutableList.<String[]>of(array);
        assertEquals(singletonList(array), list);
      }
    
      public void testCopyOf_emptyArray() {
        String[] array = new String[0];
        List<String> list = ImmutableList.copyOf(array);
        assertEquals(emptyList(), list);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/ListRetainAllTester.java

      public void testRetainAll_duplicatesKept() {
        E[] array = createSamplesArray();
        array[1] = e0();
        collection = getSubjectGenerator().create(array);
        assertFalse(
            "containsDuplicates.retainAll(superset) should return false",
            collection.retainAll(MinimalCollection.of(createSamplesArray())));
        expectContents(array);
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

      }
    
      public void testCreation_arrayOfArray() {
        String[] array = new String[] {"a"};
        List<String[]> list = ImmutableList.<String[]>of(array);
        assertEquals(singletonList(array), list);
      }
    
      public void testCopyOf_emptyArray() {
        String[] array = new String[0];
        List<String> list = ImmutableList.copyOf(array);
        assertEquals(emptyList(), list);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/net/InetAddresses.java

      private InetAddresses() {}
    
      /**
       * Returns an {@link Inet4Address}, given a byte array representation of the IPv4 address.
       *
       * @param bytes byte array representing an IPv4 address (should be of length 4)
       * @return {@link Inet4Address} corresponding to the supplied byte array
       * @throws IllegalArgumentException if a valid {@link Inet4Address} can not be created
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
Back to top