Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 406 for getByte (0.06 sec)

  1. src/main/java/jcifs/smb1/ntlmssp/Type1Message.java

                if (suppliedDomain != null && suppliedDomain.length() != 0) {
                    hostInfo = true;
                    flags |= NTLMSSP_NEGOTIATE_OEM_DOMAIN_SUPPLIED;
                    domain = suppliedDomain.toUpperCase().getBytes(getOEMEncoding());
                } else {
                    flags &= NTLMSSP_NEGOTIATE_OEM_DOMAIN_SUPPLIED ^ 0xffffffff;
                }
                byte[] workstation = {};
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                                .query(query)
                                .size(pageSize)
                                .responseFields(queryFieldConfig.getScrollResponseFields())
                                .searchRequestType(params.getType())
                                .build();
                    }, (searchResponse, hit) -> {
                        final Map<String, Object> docMap = new HashMap<>();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 35.8K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Toolchain.java

     * </ul>
     *
     * <p>Example usage:</p>
     * <pre>
     * Toolchain toolchain = ...; // Obtain a Toolchain instance
     * String type = toolchain.getType(); // Get the type of the toolchain
     * String version = toolchain.getVersion(); // Get the version of the toolchain
     * </pre>
     *
     *
     * @since 4.0.0
     * @see JavaToolchain
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Feb 11 12:33:57 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java

                bb.putShort((short) 24); // altPathOffset
                bb.putShort((short) 28); // nodeOffset
    
                // Add path string at offset 20 (8 + 20 = 28)
                bb.position(28);
                bb.put("\\test\0".getBytes(StandardCharsets.UTF_16LE));
    
                int bytesDecoded = buffer.decode(testBuffer, 0, testBuffer.length);
    
                assertEquals(42, bytesDecoded); // 8 header + 34 referral
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

                ByteBuffer bb = ByteBuffer.wrap(dst).order(ByteOrder.LITTLE_ENDIAN);
                assertEquals(maxReferralLevel, bb.getShort());
    
                // Verify path encoding (UTF-16LE)
                byte[] pathBytes = path.getBytes(StandardCharsets.UTF_16LE);
                byte[] encodedPath = new byte[pathBytes.length];
                bb.get(encodedPath);
                assertArrayEquals(pathBytes, encodedPath);
    
                // Verify null terminator
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/http/NtlmSspTest.java

            String domain = "DOMAIN";
            byte[] domainBytes = domain.getBytes();
            for (int i = 0; i < domainBytes.length; i++) {
                message[112 + i * 2] = domainBytes[i];
                message[112 + i * 2 + 1] = 0;
            }
    
            // Add User "user" in Unicode at offset 124
            String user = "user";
            byte[] userBytes = user.getBytes();
            for (int i = 0; i < userBytes.length; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/io/CopyUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testFileToFile() throws Exception {
            int result = copy(inputFile, outputFile);
            assertThat(result, is(urlString.getBytes("UTF-8").length));
    
            result = copy(outputFile, "UTF-8", writer);
            assertThat(writer.toString(), is(urlString));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/AbstractStreamingHasher.java

       * even to an intermediate buffer) should be considerably more efficient than potentially
       * copying the CharSequence to a String and then calling getBytes(Charset) on that String, in
       * reality there are optimizations that make the getBytes(Charset) approach considerably faster,
       * at least for commonly used charsets like UTF-8.
       */
    
      @Override
      @CanIgnoreReturnValue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java

                    Field[] fields = FIELDS_BY_CLASS.computeIfAbsent(cls, k -> cls.getDeclaredFields());
    
                    for (Field field : fields) {
                        Class<?> type = field.getType();
                        if (isQualifiedForInterpolation(field, type)) {
                            boolean isAccessible = field.isAccessible();
                            field.setAccessible(true);
                            try {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 14K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

                SmbFile file = new SmbFile("smb1://server/share/file.txt");
                // Without a real connection, getType relies on path parsing.
                // getUncPath0() will result in a path > 1, so it should be TYPE_FILESYSTEM
                assertEquals(SmbFile.TYPE_FILESYSTEM, file.getType());
            }
    
            @Test
            public void testGetTypeForShare() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
Back to top