Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 1,042 for bread (0.5 sec)

  1. src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java

                beg_idx = (beg_idx + 1) % pipe_buf.length;
            }
            return result;
        }
    
        @Override
        public int read(final byte[] b) throws IOException {
            return read(b, 0, b.length);
        }
    
        @Override
        public int read(final byte[] b, int off, final int len) throws IOException {
            int result = -1;
            int i;
    
            if (len <= 0) {
                return 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. scan.go

    					// same nested structure
    					if _, ok := joinedNestedSchemaMap[fullRelsName]; !ok {
    						if value := reflect.ValueOf(values[idx]).Elem(); value.Kind() == reflect.Ptr && value.IsNil() {
    							isNilPtrValue = true
    							break
    						}
    
    						relValue.Set(reflect.New(relValue.Type().Elem()))
    						joinedNestedSchemaMap[fullRelsName] = nil
    					}
    				}
    				currentReflectValue = relValue
    			}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

                assertEquals(49, SMBUtil.readInt2(buffer, 0)); // Structure size
                assertEquals(2, buffer[2]); // Padding
                assertEquals(0x01, buffer[3]); // Read flags
                assertEquals(4096, SMBUtil.readInt4(buffer, 4)); // Read length
                assertEquals(8192L, SMBUtil.readInt8(buffer, 8)); // Offset
                assertArrayEquals(testFileId, Arrays.copyOfRange(buffer, 16, 32)); // File ID
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/CharSourceTest.java

        assertTrue(source.wasStreamOpened());
        assertFalse(source.wasStreamClosed());
    
        StringWriter writer = new StringWriter();
        char[] buf = new char[64];
        int read;
        while ((read = reader.read(buf)) != -1) {
          writer.write(buf, 0, read);
        }
        reader.close();
        writer.close();
    
        assertTrue(source.wasStreamClosed());
        assertEquals(STRING, writer.toString());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java

        }
    
        @Test
        @DisplayName("readBytesWireFormat returns zero bytes read")
        void testReadBytesWireFormat() throws SMBProtocolDecodingException {
            byte[] buffer = new byte[10];
            assertEquals(0, response.readBytesWireFormat(buffer, 0), "Should read 0 bytes");
        }
    
        @Test
        @DisplayName("readBytesWireFormat with null buffer - returns zero")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt

            }
    
            // Fill the receive buffer without holding any locks.
            val read = source.read(receiveBuffer, remainingByteCount)
            if (read == -1L) throw EOFException()
            remainingByteCount -= read
    
            // Move the received data to the read buffer to the reader can read it. If this source has
            // been closed since this read began we must discard the incoming data and tell the
            // connection we've done so.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/rdma/RdmaStatistics.java

        /**
         * Record start of a read request
         *
         * @param bytes number of bytes being requested
         */
        public void recordReadRequest(int bytes) {
            // Track that a read was requested
            rdmaReads.incrementAndGet();
        }
    
        /**
         * Record successful completion of a read request
         *
         * @param bytes number of bytes successfully read
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/io/LineIterator.java

        /** {@link BufferedReader} */
        protected final BufferedReader reader;
    
        /** The line that has been read */
        protected String line = EMPTY;
    
        /**
         * Returns an {@link Iterable} that wraps a {@link LineIterator} for use in enhanced for-loops.
         *
         * @param reader
         *            The {@link Reader} to read strings from. Must not be {@literal null}.
         * @return An {@link Iterable} that wraps a {@link LineIterator}.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

            writeUtf8("\n")
          }
        }
      }
    
      private fun readJournalLines(): List<String> {
        val result = mutableListOf<String>()
        filesystem.read(journalFile) {
          while (true) {
            val line = readUtf8Line() ?: break
            result.add(line)
          }
        }
        return result
      }
    
      private fun getCleanFile(
        key: String,
        index: Int,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 75.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        ticker.advance(1);
        segment.recordRead(entry, ticker.read());
        segment.expireEntries(ticker.read());
        assertTrue(map.containsKey(key));
        assertSame(entry, segment.accessQueue.peek());
        assertEquals(1, segment.accessQueue.size());
    
        ticker.advance(1);
        segment.recordRead(entry, ticker.read());
        segment.expireEntries(ticker.read());
        assertTrue(map.containsKey(key));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
Back to top