- Sort Score
- Num 10 results
- Language All
Results 231 - 240 of 466 for reading2a (0.08 seconds)
-
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java
assertArrayEquals(secondData, secondResult); } @Test void testReadDataWireFormatWithOffset() throws SMBProtocolDecodingException { // Test reading data from different buffer offsets byte[] testData = "Test data with offset".getBytes(); byte[] buffer = new byte[200]; int offset = 50;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java
assertTrue(str.contains("allocationSize=4096")); assertTrue(str.contains("endOfFile=2048")); } } @Nested @DisplayName("Data Reading Tests") class DataReadingTests { @Test @DisplayName("Should read data for basic info level") void testReadDataBasicInfo() { Trans2QueryPathInformationResponse resp =
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java
verify(locator, never()).locateExistingPom(any(Path.class)); } @Test void testStreamReading() throws IOException { // Test stream reading functionality Path testFile = tempDir.resolve("test.txt"); String content = "test content"; Files.writeString(testFile, content); Source source = Sources.fromPath(testFile);
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 5.4K bytes - Click Count (0) -
src/main/java/org/codelibs/curl/io/ContentCache.java
* If the content is cached in a file, the file contents are read. * * @return the content as a byte array * @throws IOException if an I/O error occurs while reading the file */ public byte[] getContentAsBytes() throws IOException { if (data != null) { return data.clone(); } return Files.readAllBytes(file.toPath()); }Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 4.8K bytes - Click Count (0) -
src/main/java/org/codelibs/core/nio/ChannelUtil.java
* The file channel. Must not be {@literal null}. * @param buffer * The byte buffer. Must not be {@literal null}. * @param position * The position to start reading from. * @return The number of bytes read. */ public static int read(final FileChannel channel, final ByteBuffer buffer, final long position) { assertArgumentNotNull("channel", channel);Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 5.6K bytes - Click Count (0) -
internal/disk/stat_linux.go
stats, err := readStat(statsFile) if err != nil { return IOStats{}, err } if len(stats) < 11 { return IOStats{}, fmt.Errorf("found invalid format while reading %v", statsFile) } // refer https://www.kernel.org/doc/Documentation/block/stat.txt iostats = IOStats{ ReadIOs: stats[0], ReadMerges: stats[1], ReadSectors: stats[2], ReadTicks: stats[3],
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/ApiAdminDictKuromojiAction.java
final EditBody body = new EditBody(); body.id = entity.getId(); body.dictId = dictId; body.token = entity.getToken(); body.reading = entity.getReading(); body.pos = entity.getPos(); body.segmentation = entity.getSegmentation(); return body; }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 9.4K bytes - Click Count (0) -
android/guava/src/com/google/common/io/LineBuffer.java
import com.google.common.annotations.J2ktIncompatible; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.io.IOException; /** * Package-protected abstract class that implements the line reading algorithm used by {@link * LineReader}. Line separators are per {@link java.io.BufferedReader}: line feed, carriage return, * or carriage return followed immediately by a linefeed. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 3.9K bytes - Click Count (0) -
docs/sts/ldap.go
if f, err := os.Open(sessionPolicyFile); err != nil { log.Fatalf("Unable to open session policy file %s: %v", sessionPolicyFile, err) } else { bs, err := io.ReadAll(f) if err != nil { log.Fatalf("Error reading session policy file: %v", err) } policy = string(bs) } ldapOpts = append(ldapOpts, cr.LDAPIdentityPolicyOpt(policy)) } if expiryDuration != 0 {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Aug 07 12:59:47 GMT 2024 - 4K bytes - Click Count (0) -
src/archive/zip/register.go
// simultaneously, but each returned writer will be used only by // one goroutine at a time. type Compressor func(w io.Writer) (io.WriteCloser, error) // A Decompressor returns a new decompressing reader, reading from r. // The [io.ReadCloser]'s Close method must be used to release associated resources. // The Decompressor itself must be safe to invoke from multiple goroutines // simultaneously, but each returned reader will be used only by
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 3.7K bytes - Click Count (0)