Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 1,274 for arrayOf (0.47 sec)

  1. src/main/java/org/codelibs/core/lang/ClassUtil.java

                ret[1] = className.substring(i + 1);
            } else {
                ret[1] = className;
            }
            return ret;
        }
    
        /**
         * Returns the class name itself, or for arrays, the element class name with {@literal []} appended.
         *
         * @param clazz
         *            The class. Must not be {@literal null}.
         * @return The class name.
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

    import java.io.File;
    import java.io.IOException;
    import java.io.InputStream;
    import java.net.HttpURLConnection;
    import java.net.MalformedURLException;
    import java.net.URL;
    import java.util.Arrays;
    import java.util.Objects;
    import java.util.function.Consumer;
    import java.util.logging.Logger;
    
    import static org.codelibs.curl.io.ContentOutputStream.PREFIX;
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat May 10 01:44:04 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/util/Base64Test.java

     * payload sizes, padding rules, and error conditions such as null and empty
     * input.
     */
    @ExtendWith(MockitoExtension.class)
    class Base64Test {
    
        /**
         * Data provider for various byte arrays and the expected Base64 string.
         */
        static Stream<Arguments> encodeProvider() {
            return Stream.of(Arguments.of(new byte[0], ""), Arguments.of(new byte[] { (byte) 0x41 }, "QQ=="), // "A"
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/msrpc/samr.java

                        this.name.buffer[_i] = (short) _src.dec_ndr_short();
                    }
                }
            }
        }
    
        /**
         * SAMR SAM Array structure representing an array of SAM entries.
         * Used to return multiple SAM objects in enumeration operations.
         */
        public static class SamrSamArray extends NdrObject {
    
            /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java

                        name.buffer[_i] = (short) _src.dec_ndr_short();
                    }
                }
            }
        }
    
        /**
         * SAMR SAM Array structure representing an array of SAM entries.
         * Used to return multiple SAM objects in enumeration operations.
         */
        public static class SamrSamArray extends NdrObject {
    
            /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java

    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertSame;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.util.Arrays;
    import java.util.Random;
    import java.util.stream.Stream;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 34K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java

        }
    
        @Test
        @DisplayName("Test get password as char array")
        void testGetPasswordAsCharArray() {
            String testPassword = "securePassword456";
            authenticator = new NtlmPasswordAuthenticator("DOMAIN", "username", testPassword);
    
            char[] password = authenticator.getPasswordAsCharArray();
            assertNotNull(password, "Password char array should not be null");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/text/Tokenizer.java

         * @param ctype
         *            The array of character types. Must not be {@literal null} or empty.
         */
        public Tokenizer(final String str, final byte[] ctype) {
            assertArgumentNotNull("str", str);
            assertArgumentNotEmpty("ctype", ctype);
    
            this.str = str;
            this.ctype = ctype;
        }
    
        /**
         * Sets up the character type array.
         *
         * @param ctype2
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

        @Test
        @DisplayName("Should handle different file IDs")
        void testDifferentFileIds() {
            // Given
            byte[] fileId1 = new byte[16];
            Arrays.fill(fileId1, (byte) 0x11);
    
            byte[] fileId2 = new byte[16];
            Arrays.fill(fileId2, (byte) 0xFF);
    
            byte[] fileId3 = new byte[16];
            for (int i = 0; i < 16; i++) {
                fileId3[i] = (byte) i;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/DosErrorTest.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.verify;
    
    import java.util.Arrays;
    import java.util.Optional;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for {@link DosError}.  Since {@link DosError} only contains
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top