- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 324 for readLine (0.04 sec)
-
cmd/admin-handlers.go
healthInfo.Error = string(encodedErrorResponse) adminLogIf(ctx, enc.Encode(healthInfo)) } deadline := 10 * time.Second // Default deadline is 10secs for health diagnostics. if dstr := query.Get("deadline"); dstr != "" { var err error deadline, err = time.ParseDuration(dstr) if err != nil { errResp(err) return } }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 99.6K bytes - Viewed (0) -
cmd/metacache-walk.go
meta.name = decodeDirObject(meta.name) return send(meta) } // Check legacy. if HasSuffix(entry, xlStorageFormatFileV1) && legacy { var meta metaCacheEntry meta.metadata, err = xioutil.ReadFile(pathJoinBuf(sb, volumeDir, current, entry)) diskHealthCheckOK(ctx, err) if err != nil { if !IsErrIgnored(err, io.EOF, io.ErrUnexpectedEOF) { internalLogIf(ctx, err) } continue
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon May 26 07:06:43 UTC 2025 - 12.6K bytes - Viewed (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);
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 5.2K bytes - Viewed (0) -
callbacks.go
resetBuildClauses = true } if optimizer, ok := stmt.Dest.(StatementModifier); ok { optimizer.ModifyStatement(stmt) } if db.DefaultContextTimeout > 0 { if _, ok := stmt.Context.Deadline(); !ok { stmt.Context, _ = context.WithTimeout(stmt.Context, db.DefaultContextTimeout) } } // assign model values if stmt.Model == nil { stmt.Model = stmt.Dest } else if stmt.Dest == nil {Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Aug 26 06:24:29 UTC 2025 - 8.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java
import java.util.HashMap; import jcifs.smb1.util.Encdec; /** * NDR (Network Data Representation) buffer for encoding and decoding DCE/RPC messages. * This class provides methods for reading and writing primitive types and strings * in NDR format for DCE/RPC communication. */ public class NdrBuffer { int referent; HashMap referents; static class Entry { int referent;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.4K bytes - Viewed (0) -
cmd/format-erasure_test.go
if err != nil { t.Fatal(err) } if migratedVersion != formatErasureVersionV3 { t.Fatalf("expected version: %s, got: %s", formatErasureVersionV3, migratedVersion) } b, err = os.ReadFile(pathJoin(rootPath, minioMetaBucket, formatConfigFile)) if err != nil { t.Fatal(err) } formatV3 := &formatErasureV3{} if err = json.Unmarshal(b, formatV3); err != nil { t.Fatal(err) }Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
} @Test @DisplayName("Test read string with odd Unicode alignment") void testReadStringUnicodeAlignment() { testBlock.setUseUnicode(true); // Test reading Unicode string with alignment byte[] buffer = new byte[100]; // Write "Test" in UTF-16LE directly at position 2 (even offset)Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 36.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java
TransPeekNamedPipeResponse testResponse = new TransPeekNamedPipeResponse(testConfig); // Assert assertNotNull(testResponse); } @Test @DisplayName("Test state changes after reading parameters") void testStateAfterReadingParameters() { // Arrange byte[] buffer = new byte[10]; SMBUtil.writeInt2(1500, buffer, 0); SMBUtil.writeInt2(0xFFFF, buffer, 2);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaConnection.java
throw new IOException("Connection not established"); } try { // For TCP fallback, simulate reading data through the TCP socket int bytesToRead = Math.min(length, buffer.remaining()); ByteBuffer tempBuffer = ByteBuffer.allocate(bytesToRead); int totalRead = 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 8.8K bytes - Viewed (0) -
doc/godebug.md
and other reparse points with non-default [`os.ModeType`](/pkg/os#ModeType) bits (such as [`os.ModeDir`](/pkg/os#ModeDir)) do not have the `ModeIrregular` bit set. Go 1.23 changed [`os.Readlink`](/pkg/os#Readlink) and [`filepath.EvalSymlinks`](/pkg/path/filepath#EvalSymlinks) to avoid trying to normalize volumes to drive letters, which was not always even possible. This behavior is controlled by the `winreadlinkvolume` setting.
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Jul 08 18:30:38 UTC 2025 - 22.9K bytes - Viewed (0)