Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 9 of 9 for filebytes (0.05 seconds)

  1. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/JdkDownloadPluginFuncTest.groovy

        @Unroll
        def "jdk #jdkVendor for #platform#suffix are downloaded and extracted"() {
            given:
            def mockRepoUrl = urlPath(jdkVendor, jdkVersion, platform, arch);
            def mockedContent = filebytes(jdkVendor, platform)
            buildFile.text = """
                plugins {
                 id 'elasticsearch.jdk-download'
                }
    
                jdks {
                  myJdk {
                    vendor = '$jdkVendor'
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 27 19:29:10 GMT 2021
    - 10.5K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/DependencyLicensesTask.java

            }
    
            // TODO: shouldn't have to trim, sha files should not have trailing newline
            byte[] fileBytes = Files.readAllBytes(shaFile.toPath());
            String expectedSha = new String(fileBytes, StandardCharsets.UTF_8).trim();
    
            String sha = getSha1(jar);
    
            if (expectedSha.equals(sha) == false) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Jul 26 12:16:14 GMT 2021
    - 14.3K bytes
    - Click Count (0)
  3. cmd/object-api-putobject_test.go

    		21: {bucketName: bucket, objName: object, inputData: nilBytes, inputMeta: md5Header(nilBytes), inputSHA256: getSHA256Hash(nilBytes), inputDataSize: int64(len(nilBytes)), expectedMd5: getMD5Hash(nilBytes)},
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 25.8K bytes
    - Click Count (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/FileSizeFormatTest.java

                    // 999 kilobytes
                    Arguments.of(999L * 1000L, null, "999 kB"),
                    Arguments.of(999L * 1000L, ScaleUnit.BYTE, "999000 B"),
                    Arguments.of(999L * 1000L, ScaleUnit.KILOBYTE, "999 kB"),
                    Arguments.of(999L * 1000L, ScaleUnit.MEGABYTE, "1.0 MB"),
                    Arguments.of(999L * 1000L, ScaleUnit.GIGABYTE, "0 GB"),
    
                    // 1000 kilobytes
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 14.9K bytes
    - Click Count (0)
  5. src/bytes/buffer_test.go

    	}
    	return s
    }
    
    // Fill buf through n writes of byte slice fub.
    // The initial contents of buf corresponds to the string s;
    // the result is the final contents of buf returned as a string.
    func fillBytes(t *testing.T, testname string, buf *Buffer, s string, n int, fub []byte) string {
    	check(t, testname+" (fill 1)", buf, s)
    	for ; n > 0; n-- {
    		m, err := buf.Write(fub)
    		if m != len(fub) {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Nov 14 19:01:17 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java

                return "";
            }
    
            // Read wide string data (UTF-16LE)
            int byteCount = (actualCount - 1) * 2; // Exclude null terminator
            byte[] wideBytes = new byte[byteCount];
            buf.readOctetArray(wideBytes, 0, byteCount);
    
            // Skip null terminator
            buf.dec_ndr_short();
    
            // Skip padding
            int padding = (4 - ((byteCount + 2) % 4)) % 4;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 16.4K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

        void toString_containsExpected() {
            when(cfg.isTraceResourceUsage()).thenReturn(false);
            stubValidTree(1L, true, true);
    
            byte[] fidBytes = new byte[] { 0x01, 0x02 };
            SmbFileHandleImpl h1 = new SmbFileHandleImpl(cfg, fidBytes, tree, "//u/one", 0x10, 0x20, 0x30, 0x40, 0L);
            String s1 = h1.toString();
            assertTrue(s1.contains("//u/one"));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  8. cmd/metrics-resource.go

    		memAvailable:      "Available memory on the node",
    		readsPerSec:       "Reads per second on a drive",
    		writesPerSec:      "Writes per second on a drive",
    		readsKBPerSec:     "Kilobytes read per second on a drive",
    		writesKBPerSec:    "Kilobytes written per second on a drive",
    		readsAwait:        "Average time for read requests to be served on a drive",
    		writesAwait:       "Average time for write requests to be served on a drive",
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 17.2K bytes
    - Click Count (0)
  9. docs/metrics/prometheus/list.md

    | `minio_node_drive_reads_kb_per_sec`  | Kilobytes read per second on a drive.                    |
    | `minio_node_drive_reads_await`       | Average time for read requests to be served on a drive.  |
    | `minio_node_drive_writes_per_sec`    | Writes per second on a drive.                            |
    | `minio_node_drive_writes_kb_per_sec` | Kilobytes written per second on a drive.                 |
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 43.4K bytes
    - Click Count (0)
Back to Top