- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 55 for testData (0.67 sec)
-
cmd/xl-storage-format-v2_test.go
"github.com/klauspost/compress/zstd" "github.com/minio/minio/internal/bucket/lifecycle" xhttp "github.com/minio/minio/internal/http" ) func TestReadXLMetaNoData(t *testing.T) { f, err := os.Open("testdata/xl.meta-corrupt.gz") if err != nil { t.Fatal(err) } defer f.Close() gz, err := gzip.NewReader(bufio.NewReader(f)) if err != nil { t.Fatal(err) } buf, err := io.ReadAll(gz)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 37.8K bytes - Viewed (0) -
src/test/java/jcifs/util/HMACT64Test.java
mockedCrypto.when(Crypto::getMD5).thenReturn(mockMd5); HMACT64 hmac = new HMACT64(TEST_KEY); hmac.engineUpdate(TEST_DATA, 0, TEST_DATA.length); verify(mockMd5, times(1)).update(TEST_DATA, 0, TEST_DATA.length); } } @Test void testEngineReset() throws NoSuchAlgorithmException { // Test engineReset()
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HMACT64Test.java
originalHmac.engineUpdate(TEST_DATA, 0, TEST_DATA.length / 2); HMACT64 clonedHmac = (HMACT64) originalHmac.clone(); assertNotNull(clonedHmac); assertNotSame(originalHmac, clonedHmac); // Both should produce the same result when given the same remaining data originalHmac.engineUpdate(TEST_DATA, TEST_DATA.length / 2, TEST_DATA.length - TEST_DATA.length / 2);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/search/SearchApiTests.java
private static final Logger logger = LogManager.getLogger(SearchApiTests.class); private static final String NAME_PREFIX = "searchApiTest_"; private static final String DEFAULT_TESTDATA_PATH = "/tmp/fess-testdata"; private static final String CRAWL_LABEL = NAME_PREFIX + "_label"; private static final String TEST_LABEL = "tools"; private static String fileConfigId; private static String labelId;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 18.9K bytes - Viewed (0) -
src/test/java/jcifs/util/SecureCredentialStorageTest.java
// Clean up Arrays.fill(plaintext, '\0'); } @Test public void testDecryptWithWrongSalt() throws Exception { char[] plaintext = "TestData".toCharArray(); // Encrypt with first storage byte[] encrypted = storage.encryptCredentials(plaintext); // Create new storage with different salt
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12.7K bytes - Viewed (0) -
cmd/erasure-object_test.go
// Create a testbucket err = objLayer.MakeBucket(ctx, "testbucket", MakeBucketOptions{}) if err != nil { t.Fatal(err) } // Unzip sample object data to the existing disks err = unzipArchive("testdata/xl-meta-inline-notinline.zip", path) if err != nil { t.Fatal(err) } // Try to read the object and check its md5sum
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 38.3K bytes - Viewed (0) -
cmd/xl-storage_test.go
// create xlStorage test setup xlStorage, _, err := newXLStorageTestSetup(t) if err != nil { t.Fatalf("Unable to cfgreate xlStorage test setup, %s", err) } xlMeta, _ := os.ReadFile("testdata/xl.meta") fi, _ := getFileInfo(xlMeta, "exists", "as-file", "", fileInfoOpts{Data: false}) // Create files for the test cases. if err = xlStorage.MakeVol(t.Context(), "exists"); err != nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 66K bytes - Viewed (0) -
cmd/test-utils_test.go
} rec = httptest.NewRecorder() apiRouter.ServeHTTP(rec, reqC) checkRespErr(rec, http.StatusOK) } } // unzip a file into a specific target dir - used to unzip sample data in cmd/testdata/ func unzipArchive(zipFilePath, targetDir string) error { zipReader, err := zip.OpenReader(zipFilePath) if err != nil { return err } for _, file := range zipReader.File {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 77K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java
byte[] dst = new byte[100]; // When int bytesWritten = transCallNamedPipe.writeDataWireFormat(dst, 0); // Then assertEquals(TEST_DATA.length, bytesWritten); byte[] writtenData = Arrays.copyOfRange(dst, 0, TEST_DATA.length); assertArrayEquals(TEST_DATA, writtenData); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacMacTest.java
SecretKeySpec key = new SecretKeySpec(new byte[16], "ARCFOUR"); byte[] mac = PacMac.calculateMacArcfourHMACMD5(3, key, TEST_DATA); assertNotNull(mac); assertEquals(16, mac.length); // Test with a different key usage byte[] mac2 = PacMac.calculateMacArcfourHMACMD5(9, key, TEST_DATA); assertNotNull(mac2); assertEquals(16, mac2.length); // Test with another key usage
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.1K bytes - Viewed (0)