Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 906 for buffer1 (0.52 sec)

  1. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

            buffer[offset + 2] = 0x00;
            buffer[offset + 3] = 0x00;
            buffer[offset + 4] = 0x00;
            buffer[offset + 5] = 0x00;
            buffer[offset + 6] = 0x00;
            buffer[offset + 7] = 0x01;
            // Sub-authority
            SMBUtil.writeInt4(0, buffer, offset + 8);
        }
    
        private void prepareDaclHeader(byte[] buffer, int offset, int aceCount) {
            buffer[offset] = 0x02; // revision
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

       */
      @Throws(IOException::class)
      fun peekBody(byteCount: Long): ResponseBody {
        val peeked = body.source().peek()
        val buffer = Buffer()
        peeked.request(byteCount)
        buffer.write(peeked, minOf(byteCount, peeked.buffer.size))
        return buffer.asResponseBody(body.contentType(), buffer.size)
      }
    
      @JvmName("-deprecated_body")
      @Deprecated(
        message = "moved to val",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 14:39:28 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  3. cmd/erasure-decode.go

    			if p.buf[bufIdx] == nil {
    				// Reading first time on this disk, hence the buffer needs to be allocated.
    				// Subsequent reads will reuse this buffer.
    				p.buf[bufIdx] = make([]byte, p.shardSize)
    			}
    			// For the last shard, the shardsize might be less than previous shard sizes.
    			// Hence the following statement ensures that the buffer size is reset to the right size.
    			p.buf[bufIdx] = p.buf[bufIdx][:p.shardSize]
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

            assertEquals((byte) 0xEF, buffer[0]); // Little-endian
            assertEquals((byte) 0xCD, buffer[1]);
            assertEquals((byte) 0xAB, buffer[2]);
            assertEquals((byte) 0x89, buffer[3]);
            assertEquals((byte) 0x67, buffer[4]);
            assertEquals((byte) 0x45, buffer[5]);
            assertEquals((byte) 0x23, buffer[6]);
            assertEquals((byte) 0x01, buffer[7]);
    
            ndrBuffer.setIndex(0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

            // that happens, then we will have buffered bytes that are needed by the SSLSocket!
            // This check is imperfect: it doesn't tell us whether a handshake will succeed, just
            // that it will almost certainly fail because the proxy has sent unexpected data.
            if (!socket.source.buffer.exhausted() || !socket.sink.buffer.exhausted()) {
              throw IOException("TLS tunnel buffered too many bytes!")
            }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java

        }
    
        /**
         * Data transfer object representing JVM buffer pool statistics.
         */
        public static class JvmPoolObj {
            /**
             * Default constructor.
             */
            public JvmPoolObj() {
                // Default constructor
            }
    
            /** Buffer pool name */
            public String key;
            /** Number of buffers */
            public long count;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/MIENameTest.java

                        return buf;
                    }, StringIndexOutOfBoundsException.class));
        }
    
        @ParameterizedTest(name = "{0}")
        @MethodSource("invalidBuffers")
        @DisplayName("Invalid buffers throw appropriate exceptions")
        void invalidInputsThrow(String name, Object bufferSupplierOrBytes, Class<? extends Throwable> expected) {
            // Arrange
            byte[] buf;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/pac/Pac.java

                        }
                    }
                }
            } catch (IOException e) {
                throw new PACDecodingException("Malformed PAC", e);
            }
    
            if (this.serverSignature == null || this.kdcSignature == null || this.logonInfo == null) {
                throw new PACDecodingException("Missing required buffers");
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt

        /** Maximum number of bytes to buffer before reporting a flow control error. */
        private val maxByteCount: Long,
        /**
         * True if either side has cleanly shut down this stream. We will receive no more bytes beyond
         * those already in the buffer.
         */
        internal var finished: Boolean,
      ) : Source {
        /** Buffer to receive data from the network into. Only accessed by the reader thread. */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/Configuration.java

         *
         * @return netbios cache timeout, in seconds, 0 - disable caching, -1 - cache forever
         */
        int getNetbiosCachePolicy();
    
        /**
         * Gets the maximum buffer size for IO operations
         *
         * @return the maximum size of IO buffers, limits the maximum message size
         */
        int getMaximumBufferSize();
    
        /**
         *
         * Property {@code jcifs.smb.client.transaction_buf_size} (int, default 65535)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
Back to top