Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 406 for getByte (0.82 sec)

  1. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

         */
        public KuromojiFile(final String id, final String path, final Date timestamp) {
            super(id, path, timestamp);
        }
    
        @Override
        public String getType() {
            return KUROMOJI;
        }
    
        @Override
        public String getPath() {
            return path;
        }
    
        @Override
        public synchronized OptionalEntity<KuromojiItem> get(final long id) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java

                File tempPropFile = File.createTempFile("test_suggest_", ".properties");
                tempPropFile.deleteOnExit();
                FileUtil.writeBytes(tempPropFile.getAbsolutePath(), "test.property=value".getBytes());
    
                SuggestCreator.Options options = new SuggestCreator.Options();
                options.propertiesPath = tempPropFile.getAbsolutePath();
    
                // Setup minimal mock components
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/NtlmContext.java

            }
        }
    
        private static byte[] deriveKey(final byte[] masterKey, final String cnst) {
            final MessageDigest md5 = Crypto.getMD5();
            md5.update(masterKey);
            md5.update(cnst.getBytes(StandardCharsets.US_ASCII));
            md5.update((byte) 0);
            return md5.digest();
        }
    
        @Override
        public boolean supportsIntegrity() {
            return true;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

            @DisplayName("Should return session key successfully")
            void testGetSessionKey() throws Exception {
                DcerpcPipeHandle handle = createMockedDcerpcPipeHandle();
                byte[] expectedKey = "sessionKey".getBytes();
                when(mockSmbPipeHandleInternal.getSessionKey()).thenReturn(expectedKey);
                assertArrayEquals(expectedKey, handle.getSessionKey());
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/DictionaryFile.java

                out.write(inputStream);
            }
        }
    
        /**
         * Gets the type identifier for this dictionary file.
         *
         * @return the dictionary type
         */
        public abstract String getType();
    
        /**
         * Retrieves a paginated list of dictionary items.
         *
         * @param offset the starting offset for pagination
         * @param size the number of items to retrieve
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

         */
        public StopwordsFile(final String id, final String path, final Date timestamp) {
            super(id, path, timestamp);
        }
    
        @Override
        public String getType() {
            return STOPWORDS;
        }
    
        @Override
        public String getPath() {
            return path;
        }
    
        @Override
        public synchronized OptionalEntity<StopwordsItem> get(final long id) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

            i += 4;
            Encdec.enc_uint32le(0, buf, i);
            i += 4;
            Encdec.enc_uint32le(len + 1, buf, i);
            i += 4;
            try {
                System.arraycopy(s.getBytes("UTF-16LE"), 0, buf, i, len * 2);
            } catch (final UnsupportedEncodingException uee) {}
            i += len * 2;
            buf[i] = (byte) '\0';
            i++;
            buf[i++] = (byte) '\0';
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

            try (JarOutputStream jos = new JarOutputStream(new FileOutputStream(jarFile))) {
                JarEntry entry = new JarEntry("fess_ds++.xml");
                jos.putNextEntry(entry);
                jos.write(xmlContent.getBytes());
                jos.closeEntry();
            }
        }
    
        // Test DataStore implementation for testing
        private static class TestDataStore extends AbstractDataStore {
            private String name;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

                update(data, offset, length);
                System.arraycopy(digest(), 0, data, index, 8);
                if (this.bypass) {
                    this.bypass = false;
                    System.arraycopy("BSRSPYL ".getBytes(), 0, data, index, 8);
                }
            } catch (final Exception ex) {
                log.error("Signature failed", ex);
            } finally {
                if (request instanceof SmbComNtCancel) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

            // Act
            // Get output stream and write data to it
            OutputStream os = ntlmConnection.getOutputStream();
            assertNotNull(os);
            byte[] testData = "test data".getBytes();
            os.write(testData);
            os.flush();
            os.close();
    
            // Assert
            // Verify that data was written to the underlying stream through CacheStream
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
Back to top