Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for textData (0.09 sec)

  1. cmd/benchmark-utils_test.go

    	if err != nil {
    		b.Fatal(err)
    	}
    
    	// get text data generated for number of bytes equal to object size.
    	textData := generateBytesData(objSize)
    	// generate md5sum for the generated data.
    	// md5sum of the data to written is required as input for PutObject.
    
    	md5hex := getMD5Hash(textData)
    	sha256hex := ""
    
    	// benchmark utility which helps obtain number of allocations and bytes allocated per ops.
    	b.ReportAllocs()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  2. cmd/object-handlers_test.go

    	}
    	// set of inputs for uploading the objects before tests for downloading is done.
    	putObjectInputs := []struct {
    		bucketName    string
    		objectName    string
    		contentLength int64
    		textData      []byte
    		metaData      map[string]string
    	}{
    		{bucketName, objectName, int64(len(bytesData[0].byteData)), bytesData[0].byteData, make(map[string]string)},
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 163.1K bytes
    - Viewed (0)
  3. cmd/metacache-entries_test.go

    "src/compress/bzip2/move_to_front.go", "src/compress/bzip2/testdata/Isaac.Newton-Opticks.txt.bz2", "src/compress/bzip2/testdata/e.txt.bz2", "src/compress/bzip2/testdata/fail-issue5747.bz2", "src/compress/bzip2/testdata/pass-random1.bin", "src/compress/bzip2/testdata/pass-random1.bz2", "src/compress/bzip2/testdata/pass-random2.bin", "src/compress/bzip2/testdata/pass-random2.bz2", "src/compress/bzip2/testdata/pass-sawtooth.bz2", "src/compress/bzip2/testdata/random.data.bz2", "src/compress/flate/deflate.go",...
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java

            byte[] testData = "Test data with offset".getBytes();
            byte[] buffer = new byte[200];
            int offset = 50;
            System.arraycopy(testData, 0, buffer, offset, testData.length);
    
            int result = response.readDataWireFormat(buffer, offset, testData.length);
    
            assertEquals(testData.length, result);
            byte[] actualData = new byte[testData.length];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/SMBSigningDigestTest.java

            // Act & Assert
            assertTrue(signingDigest.verify(testData, 0, 8, 0, message));
            assertFalse(signingDigest.verify(testData, 0, 8, 0, message));
            assertTrue(signingDigest.verify(testData, 0, 8, 0, message));
            assertFalse(signingDigest.verify(testData, 0, 8, 0, message));
            assertTrue(signingDigest.verify(testData, 0, 8, 0, message));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java

                    response.dataLength = 10;
                    // Copy data to the buffer that was passed in the response constructor
                    byte[] testData = new byte[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
                    System.arraycopy(testData, 0, response.b, response.off, testData.length);
                    return null;
                }
            }).when(smbFile).send(any(SmbComReadAndX.class), any(SmbComReadAndXResponse.class));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/RelatedQueryHelperTest.java

        public void test_load_virtualHosts() {
            List<RelatedQuery> testData = new ArrayList<>();
            testData.add(createRelatedQuery("term1", new String[] { "query1" }, "host1"));
            testData.add(createRelatedQuery("term1", new String[] { "query2" }, "host2"));
            testData.add(createRelatedQuery("term2", new String[] { "query3" }, ""));
            mockBhv.setTestData(testData);
    
            int count = relatedQueryHelper.load();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/compression/DefaultCompressionServiceTest.java

            byte[] paddedData = new byte[testData.length + 200];
            System.arraycopy(testData, 0, paddedData, 100, testData.length);
    
            byte[] compressed = compressionService.compress(paddedData, 100, testData.length, CompressionService.COMPRESSION_LZ77);
            byte[] decompressed = compressionService.decompress(compressed, CompressionService.COMPRESSION_LZ77);
    
            assertArrayEquals(testData, decompressed);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/RelatedContentHelperTest.java

        public void test_load_virtualHosts() {
            List<RelatedContent> testData = new ArrayList<>();
            testData.add(createRelatedContent("term1", "Content for host1", "host1"));
            testData.add(createRelatedContent("term1", "Content for host2", "host2"));
            testData.add(createRelatedContent("term2", "Content for default", ""));
            mockBhv.setTestData(testData);
    
            int count = relatedContentHelper.load();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformUrlTest.kt

      @ParameterizedTest
      fun httpUrl(testData: WebPlatformUrlTestData) {
        if (!testData.scheme.isEmpty() && !HTTP_URL_SCHEMES.contains(testData.scheme)) {
          System.err.println("Ignoring unsupported scheme ${testData.scheme}")
          return
        }
    
        if (!testData.base!!.startsWith("https:") &&
          !testData.base!!.startsWith("http:") &&
          testData.base != "about:blank"
        ) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top