- Sort Score
- Num 10 results
- Language All
Results 371 - 380 of 530 for Correct (0.05 seconds)
-
src/bufio/scan.go
if atEOF && len(data) == 0 { return 0, nil, nil } // Fast path 1: ASCII. if data[0] < utf8.RuneSelf { return 1, data[0:1], nil } // Fast path 2: Correct UTF-8 decode without error. _, width := utf8.DecodeRune(data) if width > 1 { // It's a valid encoding. Width cannot be one for a correctly encoded // non-ASCII rune. return width, data[0:width], nil }
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Wed May 21 18:05:26 GMT 2025 - 14.2K bytes - Click Count (0) -
misc/go_android_exec/main.go
return } // runtime.GOROOT is empty — perhaps go_android_exec was built with // -trimpath and GOROOT is unset. Try 'go env GOROOT' as a fallback, // assuming that the 'go' command in $PATH is the correct one. cmd := exec.Command("go", "env", "GOROOT") cmd.Stderr = os.Stderr out, err := cmd.Output() if err != nil { gorootErr = fmt.Errorf("%v: %w", cmd, err) }
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Aug 21 17:46:57 GMT 2023 - 15.3K bytes - Click Count (0) -
internal/crypto/metadata_test.go
}, // 7 } func TestCreateMultipartMetadata(t *testing.T) { metadata := CreateMultipartMetadata(nil) if v, ok := metadata[MetaMultipart]; !ok || v != "" { t.Errorf("Metadata is missing the correct value for '%s': got '%s' - want '%s'", MetaMultipart, v, "") } } func TestSSECParseMetadata(t *testing.T) { for i, test := range ssecParseMetadataTests { sealedKey, err := SSEC.ParseMetadata(test.Metadata)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Jul 12 20:51:54 GMT 2024 - 18.7K bytes - Click Count (0) -
cmd/s3-zip-handlers.go
if err != nil { writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL) return } getObjectInfo := objectAPI.GetObjectInfo // Check for auth type to return S3 compatible error. // type to return the correct error (NoSuchKey vs AccessDenied) if s3Error := checkRequestAuthType(ctx, r, policy.GetObjectAction, bucket, zipPath); s3Error != ErrNone { if getRequestAuthType(r) == authTypeAnonymous { // As per "Permission" section inCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 15.8K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NameTest.java
int offset = 50; int length = name.writeWireFormat(dst, offset); // Check first byte at offset assertEquals(0x20, dst[offset]); // Check type encoding at correct offset assertEquals('C', dst[offset + 31]); assertEquals('A', dst[offset + 32]); assertTrue(length > 33); } @TestCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.4K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java
logger.warn("Failed to get object tags: bucket={}, path={}", bucketName, path, e); } return null; } /** * Preprocesses a URI to ensure it has the correct storage protocol prefix. * @param uri the URI to preprocess * @return the preprocessed URI with storage:// prefix * @throws CrawlerSystemException if the URI is empty */
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 20K bytes - Click Count (2) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
assertTrue(lenCap.getAllValues().stream().allMatch(len -> len == 1)); } @Test @DisplayName("write(short/char/int/long/float/double): correct byte lengths") void write_multiByteVariants_lengths() throws Exception { SmbRandomAccessFile raf = spy(newInstance("rw", false, true, false)); doNothing().when(raf).write(any(byte[].class), anyInt(), anyInt());
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
cmd/api-errors.go
HTTPStatusCode: http.StatusBadRequest, }, ErrBucketRemoteArnInvalid: { Code: "XMinioAdminRemoteArnInvalid", Description: "The bucket remote ARN does not have correct format", HTTPStatusCode: http.StatusBadRequest, }, ErrRemoteTargetNotVersionedError: { Code: "RemoteTargetNotVersionedError", Description: "The remote target does not have versioning enabled",Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 16 07:34:24 GMT 2025 - 93K bytes - Click Count (3) -
src/test/java/org/codelibs/curl/CurlRequestTest.java
assertNotNull(processor.getResponse()); } @Test public void testMethodEnumToString() { // Test that Method enum toString returns correct values assertEquals("GET", Method.GET.toString()); assertEquals("POST", Method.POST.toString()); assertEquals("PUT", Method.PUT.toString()); assertEquals("DELETE", Method.DELETE.toString());
Created: Sat Dec 20 09:13:53 GMT 2025 - Last Modified: Mon Nov 24 03:10:07 GMT 2025 - 20.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java
if ((n != byteCount) && (LogStream.level >= 5)) { log.println("byteCount=" + byteCount + " but readBytesWireFormat returned " + n); } // Don't think we can rely on n being correct here. Must use byteCount. // Last paragraph of section 3.13.3 eludes to this. bufferIndex += byteCount; } length = bufferIndex - start; return length;
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.7K bytes - Click Count (0)