Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 2,602 for correct (0.08 sec)

  1. 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);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/ntlmssp/av/AvPairsTest.java

            CIFSException exception = assertThrows(CIFSException.class, () -> {
                AvPairs.decode(avPairData);
            });
    
            assertEquals("Missing AvEOL", exception.getMessage(), "Should throw exception with correct message");
        }
    
        /**
         * Test decode with invalid EOL (non-zero length)
         */
        @Test
        @DisplayName("Decode should throw exception for invalid EOL length")
        void testDecodeInvalidEOL() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  3. 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)
    		}
    
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Mon Aug 21 17:46:57 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  4. 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)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/gcs/GcsClient.java

                logger.warn("Failed to get object: bucket={}, path={}", bucketName, path, e);
            }
            return null;
        }
    
        /**
         * Preprocesses a URI to ensure it has the correct GCS protocol prefix.
         * @param uri the URI to preprocess
         * @return the preprocessed URI with gcs:// prefix
         * @throws CrawlerSystemException if the URI is empty
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  6. cmd/api-errors.go

    		Description:    "Error parsing the Credential/X-Amz-Credential parameter; incorrect service. This endpoint belongs to \"s3\".",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidServiceSTS: {
    		Code:           "AuthorizationParametersError",
    		Description:    "Error parsing the Credential parameter; incorrect service. This endpoint belongs to \"sts\".",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 16 07:34:24 UTC 2025
    - 93K bytes
    - Viewed (3)
  7. guava-tests/test/com/google/common/io/FilesTest.java

              }
            };
        assertThat(Files.readLines(temp, UTF_8, collect)).isEmpty();
    
        PrintWriter w = new PrintWriter(Files.newWriter(temp, UTF_8));
        w.println("hello");
        w.println("");
        w.println(" world  ");
        w.println("");
        w.close();
        Files.readLines(temp, UTF_8, collect);
        assertThat(collect.getResult()).containsExactly("hello", "", " world  ", "").inOrder();
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/curl/CurlRequestTest.java

            assertEquals("HEAD", Method.HEAD.toString());
            assertEquals("OPTIONS", Method.OPTIONS.toString());
            assertEquals("TRACE", Method.TRACE.toString());
            assertEquals("CONNECT", Method.CONNECT.toString());
        }
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Mon Nov 24 03:10:07 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import static com.google.common.collect.testing.Helpers.assertEqualIgnoringOrder;
    import static com.google.common.collect.testing.Helpers.copyToList;
    import static com.google.common.collect.testing.Helpers.copyToSet;
    import static java.lang.System.arraycopy;
    import static java.util.Arrays.asList;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/FilesTest.java

              }
            };
        assertThat(Files.readLines(temp, UTF_8, collect)).isEmpty();
    
        PrintWriter w = new PrintWriter(Files.newWriter(temp, UTF_8));
        w.println("hello");
        w.println("");
        w.println(" world  ");
        w.println("");
        w.close();
        Files.readLines(temp, UTF_8, collect);
        assertThat(collect.getResult()).containsExactly("hello", "", " world  ", "").inOrder();
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 22.1K bytes
    - Viewed (0)
Back to top