Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 1,258 for bread (0.02 sec)

  1. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java

                  multiset.add(key, delta);
                  deltas[keyIndex] += delta;
                  break;
                }
              case SET_COUNT:
                {
                  int newValue = random.nextInt(3);
                  int oldValue = multiset.setCount(key, newValue);
                  deltas[keyIndex] += newValue - oldValue;
                  break;
                }
              case SET_COUNT_IF:
                {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

        }
    
        @Test
        @DisplayName("read(byte[],off,0): returns 0 without I/O")
        void read_lenZero_returnsZero() throws Exception {
            SmbRandomAccessFile raf = newInstance("r", false, false, false);
            byte[] buf = new byte[4];
            assertEquals(0, raf.read(buf, 0, 0));
        }
    
        @Test
        @DisplayName("read(): returns -1 when underlying read reports EOF")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/rdma/RdmaStatistics.java

        /**
         * Record start of a read request
         *
         * @param bytes number of bytes being requested
         */
        public void recordReadRequest(int bytes) {
            // Track that a read was requested
            rdmaReads.incrementAndGet();
        }
    
        /**
         * Record successful completion of a read request
         *
         * @param bytes number of bytes successfully read
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

            response = new Trans2QueryFSInformationResponse(config, FileSystemInformation.SMB_INFO_ALLOCATION);
    
            byte[] buffer = new byte[10];
            int read = response.readSetupWireFormat(buffer, 0, 10);
    
            assertEquals(0, read);
        }
    
        @Test
        void testReadParametersWireFormat() {
            // Test readParametersWireFormat returns 0
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

                assertEquals(49, SMBUtil.readInt2(buffer, 0)); // Structure size
                assertEquals(2, buffer[2]); // Padding
                assertEquals(0x01, buffer[3]); // Read flags
                assertEquals(4096, SMBUtil.readInt4(buffer, 4)); // Read length
                assertEquals(8192L, SMBUtil.readInt8(buffer, 8)); // Offset
                assertArrayEquals(testFileId, Arrays.copyOfRange(buffer, 16, 32)); // File ID
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  6. cmd/metrics-resource.go

    		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",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  7. cmd/xl-storage-meta-inline.go

    	vals := make([][]byte, 0, sz)
    	for range sz {
    		var key, val []byte
    		key, buf, err = msgp.ReadMapKeyZC(buf)
    		if err != nil {
    			break
    		}
    		if len(key) == 0 {
    			break
    		}
    		val, buf, err = msgp.ReadBytesZC(buf)
    		if err != nil {
    			break
    		}
    		keys = append(keys, key)
    		vals = append(vals, val)
    	}
    	x.serialize(-1, keys, vals)
    }
    
    // validate checks if the data is valid.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java

        }
    
        @Test
        @DisplayName("readBytesWireFormat returns zero bytes read")
        void testReadBytesWireFormat() throws SMBProtocolDecodingException {
            byte[] buffer = new byte[10];
            assertEquals(0, response.readBytesWireFormat(buffer, 0), "Should read 0 bytes");
        }
    
        @Test
        @DisplayName("readBytesWireFormat with null buffer - returns zero")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. buildscripts/minio-upgrade.sh

    		up -d --build
    
    	add_alias
    
    	mc mb minio/minio-test/
    	mc cp ./minio minio/minio-test/to-read/
    	mc cp /etc/hosts minio/minio-test/to-read/hosts
    	mc anonymous set download minio/minio-test
    
    	verify_checksum_mc ./minio minio/minio-test/to-read/minio
    
    	curl -s http://127.0.0.1:9000/minio-test/to-read/hosts | sha256sum
    
    	MINIO_VERSION=dev /tmp/gopath/bin/docker-compose -f "buildscripts/upgrade-tests/compose.yml" stop
    }
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Apr 21 16:24:31 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache2/FileOperator.kt

    import java.nio.channels.FileChannel
    import okio.Buffer
    
    /**
     * Read and write a target file. Unlike Okio's built-in `Okio.source(java.io.File file)` and `Okio.sink(java.io.File file)`
     * this class offers:
     *
     *  * **Read/write:** read and write using the same operator.
     *  * **Random access:** access any position within the file.
     *  * **Shared channels:** read and write a file channel that's shared between
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top