Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,184 for WRITE (0.08 sec)

  1. src/main/java/jcifs/smb/SmbRandomAccessFile.java

            }
            return 0;
        }
    
        @Override
        public void write(final int b) throws SmbException {
            this.tmp[0] = (byte) b;
            write(this.tmp, 0, 1);
        }
    
        @Override
        public void write(final byte b[]) throws SmbException {
            write(b, 0, b.length);
        }
    
        @Override
        public void write(final byte b[], int off, int len) throws SmbException {
            if (len <= 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

                int bufferIndex = 0;
    
                // Write structure size (24)
                SMBUtil.writeInt2(24, buffer, bufferIndex);
    
                // Write oplock level at offset 2
                byte expectedOplockLevel = (byte) 0x02; // SMB2_OPLOCK_LEVEL_II
                buffer[bufferIndex + 2] = expectedOplockLevel;
    
                // Write reserved field (4 bytes at offset 4)
                bufferIndex += 4;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/SneakyThrows.java

       * However, we can't usually write {@code throw t;} when {@code t} has a static type of {@link
       * Throwable}. But we <i>can</i> write {@code sneakyThrow(t);}.
       *
       * <p>We sometimes also use {@code sneakyThrow} for testing how our code responds to
       * sneaky checked exception.
       *
       * @return never; this method declares a return type of {@link Error} only so that callers can
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Dec 30 18:44:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/SneakyThrows.java

       * However, we can't usually write {@code throw t;} when {@code t} has a static type of {@link
       * Throwable}. But we <i>can</i> write {@code sneakyThrow(t);}.
       *
       * <p>We sometimes also use {@code sneakyThrow} for testing how our code responds to
       * sneaky checked exception.
       *
       * @return never; this method declares a return type of {@link Error} only so that callers can
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Feb 03 21:52:39 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/HashingOutputStream.java

        this.hasher = checkNotNull(hashFunction.newHasher());
      }
    
      @Override
      public void write(int b) throws IOException {
        hasher.putByte((byte) b);
        out.write(b);
      }
    
      @Override
      public void write(byte[] bytes, int off, int len) throws IOException {
        hasher.putBytes(bytes, off, len);
        out.write(bytes, off, len);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextRequest.java

            SMBUtil.writeInt4(52, dst, dstIndex); // DataLength
            dstIndex += 4;
    
            // Write context name
            System.arraycopy(CONTEXT_NAME_BYTES, 0, dst, dstIndex, 4);
            dstIndex += 4;
    
            // Padding to align data to 8-byte boundary
            dstIndex += 4;
    
            // Write lease V2 data (52 bytes total)
            leaseKey.encode(dst, dstIndex); // LeaseKey (16 bytes)
            dstIndex += 16;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

            expectedBuffer.putInt(0, value);
            assertArrayEquals(expectedBuffer.array(), data, "Should write positive ULong correctly.");
    
            // Test with zero
            value = 0;
            NtlmMessage.writeULong(data, 0, value);
            expectedBuffer.putInt(0, value);
            assertArrayEquals(expectedBuffer.array(), data, "Should write zero ULong correctly.");
    
            // Test with max int value (unsigned interpretation)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComNegotiate.java

            for (final String dialect : this.dialects) {
                bos.write(0x02);
                try {
                    bos.write(Strings.getASCIIBytes(dialect));
                } catch (final IOException e) {
                    throw new RuntimeCIFSException(e);
                }
                bos.write(0x0);
            }
    
            System.arraycopy(bos.toByteArray(), 0, dst, dstIndex, bos.size());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/rdma/RdmaStatistics.java

            recordError();
        }
    
        /**
         * Record start of a write request
         *
         * @param bytes number of bytes being written
         */
        public void recordWriteRequest(int bytes) {
            // Track that a write was requested
            rdmaWrites.incrementAndGet();
        }
    
        /**
         * Record successful completion of a write request
         *
         * @param bytes number of bytes successfully written
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

     * following lifecycle:
     *
     *  1. [Send request headers][writeRequest].
     *  2. Open a sink to write the request body. Either [known][newKnownLengthSink] or
     *     [chunked][newChunkedSink].
     *  3. Write to and then close that sink.
     *  4. [Read response headers][readResponseHeaders].
     *  5. Open a source to read the response body. Either [fixed-length][newFixedLengthSource],
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 17.5K bytes
    - Viewed (0)
Back to top