Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 1,607 for writes (0.04 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

      timeout: Int,
      timeUnit: TimeUnit,
    ): Boolean =
      try {
        this.skipAll(timeout, timeUnit)
      } catch (_: IOException) {
        false
      }
    
    /**
     * Returns true if new reads and writes should be attempted on this.
     *
     * Unfortunately Java's networking APIs don't offer a good health check, so we go on our own by
     * attempting to read with a short timeout. If the fails immediately we know the socket is
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 10.2K bytes
    - Viewed (1)
  2. android/guava/src/com/google/common/collect/MapMaker.java

       * be performed atomically on the returned map. Additionally, {@code size} and {@code
       * containsValue} are implemented as bulk read operations, and thus may fail to observe concurrent
       * writes.
       *
       * @return a serializable concurrent map having the requested features
       */
      public <K, V> ConcurrentMap<K, V> makeMap() {
        if (!useCustomMap) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                // Act
                int encodedSize = context.encode(buffer, 0);
    
                // Assert
                // Note: size() returns 4 + (2*ciphers.length) but encode only writes 2 + (2*ciphers.length)
                // This appears to be a bug in the implementation, but we test the actual behavior
                assertEquals(6, encodedSize); // actual encoded size: 2 bytes count + 2*2 bytes for ciphers
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

                this.buf[this.index - i] = value;
                i--;
            }
            return n;
        }
    
        /**
         * Writes an octet array to the buffer.
         *
         * @param b the byte array to write
         * @param i the starting index in the array
         * @param l the number of bytes to write
         */
        public void writeOctetArray(final byte[] b, final int i, final int l) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

            assertTrue(stats.getAverageWriteLatencyMicros() > 0, "Write latency should be positive");
    
            System.out.println("RDMA Statistics: " + stats);
    
            // Test statistics reset functionality
            stats.reset();
            assertEquals(0, stats.getRdmaReads(), "Reads should be reset to 0");
            assertEquals(0, stats.getRdmaWrites(), "Writes should be reset to 0");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

       * concurrently readable hash table. The map supports non-blocking reads and concurrent writes
       * across different segments.
       *
       * The page replacement algorithm's data structures are kept casually consistent with the map. The
       * ordering of writes to a segment is sequentially consistent. An update to the map and recording
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 90K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/ByteStreams.java

        }
    
        @Override
        public void write(int b) {
          try {
            output.write(b);
          } catch (IOException impossible) {
            throw new AssertionError(impossible);
          }
        }
    
        @Override
        public void write(byte[] b) {
          try {
            output.write(b);
          } catch (IOException impossible) {
            throw new AssertionError(impossible);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  8. src/archive/tar/format.go

    		return formatSTAR
    	case magic == magicUSTAR:
    		return FormatUSTAR | FormatPAX
    	case magic == magicGNU && version == versionGNU:
    		return FormatGNU
    	default:
    		return formatV7
    	}
    }
    
    // setFormat writes the magic values necessary for specified format
    // and then updates the checksum accordingly.
    func (b *block) setFormat(format Format) {
    	// Set the magic values.
    	switch {
    	case format.has(formatV7):
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Oct 13 18:36:46 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

            byte[] minBuffer = new byte[2];
            int written = trans2QueryFSInfo.writeSetupWireFormat(minBuffer, 0);
            assertEquals(2, written);
    
            // Test with exact parameter size
            byte[] paramBuffer = new byte[2];
            written = trans2QueryFSInfo.writeParametersWireFormat(paramBuffer, 0);
            assertEquals(2, written);
    
            // Test with zero-length data buffer
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  10. src/archive/zip/struct.go

    	creatorFAT    = 0
    	creatorUnix   = 3
    	creatorNTFS   = 11
    	creatorVFAT   = 14
    	creatorMacOSX = 19
    
    	// Version numbers.
    	zipVersion20 = 20 // 2.0
    	zipVersion45 = 45 // 4.5 (reads and writes zip64 archives)
    
    	// Limits for non zip64 files.
    	uint16max = (1 << 16) - 1
    	uint32max = (1 << 32) - 1
    
    	// Extra header IDs.
    	//
    	// IDs 0..31 are reserved for official use by PKWARE.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue May 28 21:41:09 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top