Search Options

Results per page
Sort
Preferred Languages
Advance

Results 741 - 750 of 966 for buffer2 (0.42 sec)

  1. cmd/object-api-utils_test.go

    	}
    
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			buf := make([]byte, 100) // make small buffer to ensure multiple reads are required for large case
    
    			r, idxCB := newS2CompressReader(bytes.NewReader(tt.data), int64(len(tt.data)), false)
    			defer r.Close()
    
    			var rdrBuf bytes.Buffer
    			_, err := io.CopyBuffer(&rdrBuf, r, buf)
    			if err != nil {
    				t.Fatal(err)
    			}
    			r.Close()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  2. cmd/bucket-replication-utils.go

    	for _, t := range ri.Targets {
    		if t.Empty() || !t.ReplicationResynced {
    			continue
    		}
    		return true
    	}
    	return false
    }
    
    func (ri replicatedInfos) ReplicationStatusInternal() string {
    	b := new(bytes.Buffer)
    	for _, t := range ri.Targets {
    		if t.Empty() {
    			continue
    		}
    		fmt.Fprintf(b, "%s=%s;", t.Arn, t.ReplicationStatus.String())
    	}
    	return b.String()
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 26K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SigningDigest.java

            }
        }
    
        /**
         * Updates the digest with the specified data.
         *
         * @param input the input buffer containing data to digest
         * @param offset the offset in the buffer where data starts
         * @param len the length of data to digest
         */
        public void update(final byte[] input, final int offset, final int len) {
            if (LogStream.level >= 5) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

            dstIndex++;
    
            return dstIndex - start;
        }
    
        @Override
        protected int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
        @Override
        protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
        @Override
        public String toString() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  5. okhttp-idna-mapping-table/src/test/kotlin/okhttp3/internal/idn/MappingTablesTest.kt

     */
    package okhttp3.internal.idn
    
    import assertk.assertThat
    import assertk.assertions.containsExactly
    import assertk.assertions.isEqualTo
    import okhttp3.internal.idn.MappedRange.InlineDelta
    import okio.Buffer
    import okio.ByteString
    import okio.ByteString.Companion.encodeUtf8
    import org.junit.jupiter.api.Test
    
    class MappingTablesTest {
      @Test fun simplifyCombinesMultipleMappings() {
        assertThat(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java

        protected File workingDirectory = null;
    
        /** The encoding for the command's output. */
        protected String commandOutputEncoding = Charset.defaultCharset().displayName();
    
        /** The maximum number of lines to buffer from command output. */
        protected int maxOutputLine = 1000;
    
        /** Whether to redirect standard output to a file. */
        protected boolean standardOutput = false;
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 16K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/FilesTest.java

              private final ByteArrayOutputStream out = new ByteArrayOutputStream();
    
              @Override
              public boolean processBytes(byte[] buffer, int offset, int length) throws IOException {
                if (length >= 0) {
                  out.write(buffer, offset, length);
                }
                return true;
              }
    
              @Override
              public byte[] getResult() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakAcknowledgment.java

            SMBUtil.writeInt8(0, dst, dstIndex);
            dstIndex += 8;
    
            return dstIndex - start;
        }
    
        @Override
        protected int readBytesWireFormat(byte[] buffer, int bufferIndex) {
            // This is a request, not a response, so this method is not used
            return 0;
        }
    
        @Override
        public String toString() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

         * This method is synchronized to ensure thread safety when managing processes.
         *
         * @param sessionId unique identifier for the process session
         * @param cmdList list of command and arguments to execute
         * @param pbCall callback to configure the ProcessBuilder
         * @param bufferSize size of the buffer for process output
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/InputValidatorTest.java

        }
    
        @Test
        @DisplayName("Test invalid buffer size validation")
        void testInvalidBufferSize() {
            assertThrows(IllegalArgumentException.class, () -> InputValidator.validateBufferSize(-1, 1000, "test"));
            assertThrows(IllegalArgumentException.class, () -> InputValidator.validateBufferSize(1001, 1000, "test"));
        }
    
        @Test
        @DisplayName("Test SMB2 buffer size validation")
        void testSmb2BufferSize() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.9K bytes
    - Viewed (0)
Back to top