Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. 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)
  3. 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)
  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. 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)
  9. src/test/java/jcifs/smb/MIENameTest.java

        }
    
        @Test
        @DisplayName("Parses a valid buffer and exposes fields")
        void parseValidBuffer() {
            // Arrange
            String name = "******@****.***";
            byte[] buf = buildBuffer(oidDer(), name.getBytes(StandardCharsets.US_ASCII));
    
            // Act
            MIEName parsed = new MIEName(buf);
    
            // Assert
            // equals should match case-insensitively for name and equal OID
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/HeadersJvmTest.kt

        val headers =
          Headers
            .Builder()
            .add("testDate", expected)
            .build()
        assertThat(headers["testDate"]).isEqualTo("Thu, 01 Jan 1970 00:00:00 GMT")
        assertThat(headers.getDate("testDate")).isEqualTo(Date(0L))
      }
    
      @Test fun addInstant() {
        val expected = Instant.ofEpochMilli(0L)
        val headers =
          Headers
            .Builder()
            .add("Test-Instant", expected)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 5.7K bytes
    - Viewed (0)
Back to top