- Sort Score
- Num 10 results
- Language All
Results 1091 - 1100 of 1,509 for nread (0.04 seconds)
-
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java
void testReadBytesWireFormatNegativeStructureSize() { byte[] buffer = new byte[1024]; int bufferIndex = 0; // Set structure size to -1 (0xFFFF when read as unsigned) SMBUtil.writeInt2(0xFFFF, buffer, bufferIndex); SMBProtocolDecodingException exception =
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.3K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java
@Test void testTimeReadWriteZero() { byte[] buffer = new byte[8]; ServerMessageBlock.writeTime(0, buffer, 0); // When zero is written, it stays as zero in buffer // When read back, it converts to negative Unix time due to Windows FileTime conversion long expectedTime = -SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601; assertEquals(expectedTime, ServerMessageBlock.readTime(buffer, 0));Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java
try (InputStream in = Files.newInputStream(metadata.getPath())) { versioning = new Versioning( new MetadataStaxReader().read(in, false).getVersioning()); } } } } } catch (Exception e) { invalidMetadata(session, trace, metadata, repository, e);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 11.7K bytes - Click Count (0) -
docs/en/docs/tutorial/metadata.md
### Use your tags { #use-your-tags } Use the `tags` parameter with your *path operations* (and `APIRouter`s) to assign them to different tags: {* ../../docs_src/metadata/tutorial004_py39.py hl[21,26] *} /// info Read more about tags in [Path Operation Configuration](path-operation-configuration.md#tags){.internal-link target=_blank}. /// ### Check the docs { #check-the-docs }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 5.9K bytes - Click Count (0) -
cmd/xl-storage-format-v2.go
fi.TransitionTier = string(sc) } if crcs := j.MetaSys[ReservedMetadataPrefixLower+"crc"]; len(crcs) > 0 { fi.Checksum = crcs } return fi, nil } // Read at most this much on initial read. const metaDataReadDefault = 4 << 10 // Return used metadata byte slices here. var metaDataPool = bpool.Pool[[]byte]{New: func() []byte { return make([]byte, 0, metaDataReadDefault) }}
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 65.6K bytes - Click Count (1) -
cmd/test-utils_test.go
// If the body is read in the handler the same request cannot be made use of. buf, err := io.ReadAll(anonReq.Body) if err != nil { t.Fatal(failTestStr(anonTestStr, err.Error())) } // creating 2 read closer (to set as request body) from the body content. readerOne := io.NopCloser(bytes.NewBuffer(buf))
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 77K bytes - Click Count (0) -
helm-releases/minio-3.6.2.tgz
actions: # - "s3:CreateBucket" # - "s3:DeleteBucket" # - "s3:GetBucketLocation" # - "s3:ListBucket" # - "s3:ListBucketMultipartU" ## readonlyexamplepolic policy grants access to buckets with name starting with example. ## In addition, grants objects read permissions on buckets starting with example. # - name: readonlyexamplepolic # statements: # - resources: # - 'arn:aws:s3:::example*/*' # actions: # - "s3:GetObject" # - resources: # - 'arn:aws:s3:::example*' # actions: # - "s3:GetBucketLocation" #...
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Mar 17 18:30:55 GMT 2022 - 17.9K bytes - Click Count (0) -
internal/grid/connection.go
c.handleMsgWg.Add(2) c.reconnectMu.Unlock() // Start reader and writer go c.readStream(ctx, conn, cancel) c.writeStream(ctx, conn, cancel) } // readStream handles the read side of the connection. // It will read messages and send them to c.handleMsg. // If an error occurs the cancel function will be called and conn be closed. // The function will block until the connection is closed or an error occurs.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 46.9K bytes - Click Count (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
webSocket.initReaderAndWriter( name = name, socket = socket, client = false, ) webSocket.loopReader(fancyResponse) // Even if messages are no longer being read we need to wait for the connection close signal. socket.awaitClosed() } @Throws(IOException::class) private fun writeHttpResponse( socket: MockWebServerSocket, response: MockResponse,Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Aug 02 20:36:00 GMT 2025 - 40.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
new RuntimePermission("setSecurityManager"), // Permissions needed by the junit test harness new RuntimePermission("accessDeclaredMembers"), new PropertyPermission("*", "read"), new FilePermission("<<ALL FILES>>", "read")); } /** Sleeps until the given time has elapsed. Throws AssertionFailedError if interrupted. */ void sleep(long millis) { try { delay(millis);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:07:52 GMT 2025 - 37.8K bytes - Click Count (0)