- Sort Score
- Num 10 results
- Language All
Results 141 - 150 of 331 for remark (0.04 seconds)
-
android/guava/src/com/google/common/cache/LoadingCache.java
* If the new value is loaded successfully it will replace the previous value in the cache; if an * exception is thrown while refreshing the previous value will remain, <i>and the exception will * be logged (using {@link java.util.logging.Logger}) and swallowed</i>. * * <p>Caches loaded by a {@link CacheLoader} will call {@link CacheLoader#reload} if the cache
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 12:40:22 GMT 2026 - 8.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java
// When int bytesWritten = response.writeBytesWireFormat(buffer, 10); // Then assertEquals(0, bytesWritten); assertArrayEquals(originalBuffer, buffer); // Buffer should remain unchanged } @Test @DisplayName("Should handle null configuration gracefully") void testNullConfiguration() { // When - constructor accepts null config without throwingCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileInputStreamTest.java
assertEquals(0x12345 & 0xFFFF, req.getMaxCount(), "maxCount should contain lower 16 bits"); assertEquals(0x12345, req.getMinCount(), "minCount should remain original full value"); } @Test @DisplayName("Named pipe request uses fixed 1024 hints") void namedPipeRequestHints() throws Exception {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.8K bytes - Click Count (0) -
tests/test_openapi_schema_type.py
import pytest from fastapi.openapi.models import Schema, SchemaType @pytest.mark.parametrize( "type_value", [ "array", ["string", "null"], None, ], ) def test_allowed_schema_type( type_value: SchemaType | list[SchemaType] | None, ) -> None: """Test that Schema accepts SchemaType, List[SchemaType] and None for type field.""" schema = Schema(type=type_value)
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 685 bytes - Click Count (0) -
src/cmd/api/main_test.go
for _, id := range spec.Names { mark(id) } case *ast.TypeSpec: mark(spec.Name) } } } return true // look at specs case *ast.FuncDecl: if isDeprecated(n.Doc) { mark(n.Name) } return false case *ast.TypeSpec: if isDeprecated(n.Doc) { mark(n.Name) }Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Mar 02 13:20:41 GMT 2026 - 31.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/io/Smb2WriteRequest.java
if (dstIndex + this.dataLength > dst.length) { throw new IllegalArgumentException( String.format("Data exceeds buffer size ( remain buffer: %d data length: %d)", dst.length - dstIndex, this.dataLength)); } System.arraycopy(this.data, this.dataOffset, dst, dstIndex, this.dataLength); dstIndex += this.dataLength;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 7.1K bytes - Click Count (0) -
tests/test_datastructures.py
assert response.json() == {"filename": "test.txt"} assert testing_file_store assert testing_file_store[0].file.closed # For UploadFile coverage, segments copied from Starlette tests @pytest.mark.anyio async def test_upload_file(): stream = io.BytesIO(b"data") file = UploadFile(filename="file", file=stream, size=4) assert await file.read() == b"data" assert file.size == 4
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 1.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbSessionTest.java
// The sessionSetup method would normally send authentication messages // Only mark the sessionSetup response as received, not the actual request/response doAnswer(invocation -> { ServerMessageBlock request = invocation.getArgument(0); ServerMessageBlock response = invocation.getArgument(1); // Only mark session setup responses as received, not our test requestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java
// This is consistent with the actual implementation behavior // The reserved bytes remain as they were in the buffer for (int i = 0; i < 4; i++) { assertEquals((byte) 0xFF, buffer[startIndex + SOURCE_KEY_SIZE + 4 + i], "Reserved byte at position " + i + " should remain unchanged"); } } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 23.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/HandlerTest.java
// Assert assertEquals("smb", url.getProtocol()); assertEquals(SmbConstants.DEFAULT_PORT, url.getPort(), "Default port applied for root smb URL"); assertNull(url.getRef(), "Ref should remain null for root URL"); } @Test @DisplayName("parseURL: fragment is moved into path and ref cleared") void testParseURL_FragmentMovedToPath() throws MalformedURLException { // Arrange & ActCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.8K bytes - Click Count (0)