Search Options

Results per page
Sort
Preferred Languages
Advance

Results 801 - 810 of 954 for bufLen (0.04 sec)

  1. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

         * @return current time in milliseconds
         */
        protected long getCurrentTimeMillis() {
            return ComponentUtil.getSystemHelper().getCurrentTimeAsLong();
        }
    
        /**
         * Creates a string buffer for logging statistics information.
         *
         * @param keyObj the crawler object
         * @param time the timestamp to include
         * @return a StringBuilder with basic log information
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbCopyUtil.java

        public void checkException() throws SmbException {
            if (this.e != null) {
                throw this.e;
            }
        }
    
        synchronized void write(final byte[] buffer, final int len, final SmbFileOutputStream d) {
            this.b = buffer;
            this.n = len;
            this.out = d;
            this.ready = false;
            notify();
        }
    
        @Override
        public void run() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                    final ByteArrayOutputStream bos = new ByteArrayOutputStream()) {
                final byte[] buffer = new byte[1024];
                int len;
                while ((len = gzipIn.read(buffer)) > 0) {
                    bos.write(buffer, 0, len);
                }
                return bos.toByteArray();
            } catch (final IOException e) {
                throw new IORuntimeException(e);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 35.8K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

    import okio.FileNotFoundException
    import okio.FileSystem
    import okio.ForwardingFileSystem
    import okio.ForwardingSource
    import okio.Path
    import okio.Sink
    import okio.Source
    import okio.blackholeSink
    import okio.buffer
    
    /**
     * A cache that uses a bounded amount of space on a filesystem. Each cache entry has a string key
     * and a fixed number of values. Each key must match the regex `[a-z0-9_-]{1,64}`. Values are byte
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            try (InputStream in = file.getInputStream()) {
                byte[] buffer = new byte[10];
                int bytesRead = in.read(buffer);
                assertEquals(10, bytesRead, "Should read requested bytes");
                assertEquals("0123456789", new String(buffer, 0, bytesRead, "UTF-8"));
    
                // Read next chunk
                bytesRead = in.read(buffer);
                assertEquals(10, bytesRead, "Should read next chunk");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/io/InputStreamUtil.java

     *
     * @author higa
     */
    public abstract class InputStreamUtil {
    
        /**
         * Do not instantiate.
         */
        protected InputStreamUtil() {
        }
    
        /** Default buffer size. */
        private static final int BUF_SIZE = 4096;
    
        /**
         * Creates a {@link FileInputStream}.
         *
         * @param file the file (must not be {@literal null})
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/io/Smb2FlushRequest.java

        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int)
         */
        @Override
        protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/SmbNegotiationResponseTest.java

            assertTrue(negotiationResponse.isSigningRequired());
            assertTrue(negotiationResponse.isSigningNegotiated());
        }
    
        @Test
        @DisplayName("Test buffer size edge cases")
        void testBufferSizeEdgeCases() {
            // Test minimum buffer sizes
            when(negotiationResponse.getSendBufferSize()).thenReturn(1);
            when(negotiationResponse.getReceiveBufferSize()).thenReturn(1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

         * Reads up to len bytes of data from this input stream into an array of bytes.
         *
         * @param b the buffer into which the data is read
         * @param off the start offset in the array b at which the data is written
         * @param len the maximum number of bytes to read
         * @return the total number of bytes read into the buffer, or -1 if there is no more data
         * @throws IOException if an I/O error occurs
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

            delim = DELIMITER_STRING;
          }
          dummy ^= sb.toString().length();
        }
        return dummy;
      }
    
      /**
       * Always append the delimiter after the component, and in the very end shortens the buffer to get
       * rid of the extra trailing delimiter.
       */
      @Benchmark
      int alwaysAppendThenBackUp(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          StringBuilder sb = new StringBuilder();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Dec 27 16:19:35 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top