Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 1,758 for read0 (0.02 seconds)

  1. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

            System.arraycopy(b, i, buf, index, l);
            advance(l);
        }
    
        /**
         * Reads an octet array from the buffer.
         *
         * @param b the byte array to read into
         * @param i the starting index in the array
         * @param l the number of bytes to read
         */
        public void readOctetArray(final byte[] b, final int i, final int l) {
            System.arraycopy(buf, index, b, i, l);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java

            this.in = new Reader() {
                Reader delegate = null;
    
                @Override
                public int read(char[] cbuf, int off, int len) throws IOException {
                    if (delegate == null) {
                        delegate = transform(original);
                    }
                    return delegate.read(cbuf, off, len);
                }
    
                @Override
                public void close() throws IOException {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Mar 03 01:59:51 GMT 2026
    - 11.3K bytes
    - Click Count (0)
  3. internal/hash/checksum.go

    func ChecksumFromBytes(b []byte) *Checksum {
    	if len(b) == 0 {
    		return nil
    	}
    
    	// Read checksum type
    	t, n := binary.Uvarint(b)
    	if n <= 0 {
    		return nil
    	}
    	b = b[n:]
    
    	typ := ChecksumType(t)
    	length := typ.RawByteLen()
    	if length == 0 || len(b) < length {
    		return nil
    	}
    
    	// Read raw checksum bytes
    	raw := make([]byte, length)
    	copy(raw, b[:length])
    	b = b[length:]
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 22 14:15:21 GMT 2025
    - 18.3K bytes
    - Click Count (0)
  4. cmd/erasure-object.go

    		}
    		ctx = lkctx.Context()
    
    		// Release lock when the metadata is verified, and reader
    		// is ready to be read.
    		//
    		// This is possible to be lock free because
    		// - xl.meta for inlined objects has already read the data
    		//   into memory, any mutation on xl.meta subsequently is
    		//   inconsequential to the overall read operation.
    		// - xl.meta metadata is still verified for quorum under lock()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 24 04:05:31 GMT 2025
    - 80.4K bytes
    - Click Count (0)
  5. cmd/xl-storage.go

    	}
    
    	// Read into appropriate buffer.
    	sz := stat.Size()
    	if sz <= metaDataReadDefault {
    		buf = metaDataPoolGet()
    		buf = buf[:sz]
    	} else {
    		buf = make([]byte, sz)
    	}
    
    	// Read file...
    	_, err = io.ReadFull(f, buf)
    
    	return buf, stat.ModTime().UTC(), osErrToFileErr(err)
    }
    
    // ReadAll is a raw call, reads content at any path and returns the buffer.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 91.7K bytes
    - Click Count (0)
  6. src/archive/zip/reader.go

    type dirReader struct {
    	err error
    }
    
    func (r *dirReader) Read([]byte) (int, error) {
    	return 0, r.err
    }
    
    func (r *dirReader) Close() error {
    	return nil
    }
    
    type checksumReader struct {
    	rc    io.ReadCloser
    	hash  hash.Hash32
    	nread uint64 // number of bytes read so far
    	f     *File
    	desr  io.Reader // if non-nil, where to read the data descriptor
    	err   error     // sticky error
    }
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jan 15 18:35:56 GMT 2026
    - 28.5K bytes
    - Click Count (0)
  7. ci/official/README.md

    # 3. Add modifiers. Some modifiers for local execution are:
    #      Ex. disk_cache -- Use a local cache
    #      Ex. public_cache -- Use TF's public cache (read-only)
    #      Ex. public_cache_push -- Use TF's public cache (read and write, Googlers only)
    #      Ex. rbe        -- Use RBE for faster builds (Googlers only; see below)
    #      Ex. no_docker  -- Disable docker on enabled platforms
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Feb 01 03:21:19 GMT 2024
    - 8K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/MultiChannelManager.java

        private int getMaxChannelsFromConfig(Configuration config) {
            // In a real implementation, this would read from configuration
            return 4; // Default to 4 channels
        }
    
        private LoadBalancingStrategy getLoadBalancingStrategyFromConfig(Configuration config) {
            // In a real implementation, this would read from configuration
            return LoadBalancingStrategy.ROUND_ROBIN;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  9. src/archive/zip/zip_test.go

    	for i := 0; i < chunks; i++ {
    		_, err := io.ReadFull(rc, chunk)
    		if err != nil {
    			t.Fatal("read:", err)
    		}
    	}
    	if frag := int(size % chunkSize); frag > 0 {
    		_, err := io.ReadFull(rc, chunk[:frag])
    		if err != nil {
    			t.Fatal("read:", err)
    		}
    	}
    	gotEnd, err := io.ReadAll(rc)
    	if err != nil {
    		t.Fatal("read end:", err)
    	}
    	if !bytes.Equal(gotEnd, end) {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu May 23 01:00:11 GMT 2024
    - 19.6K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImplTest.java

                assertEquals("All URLs should be added", threadCount * urlsPerThread, callback.deleteUrlList.size());
            }
        }
    
        /**
         * Test concurrent reads from deleteUrlList while synchronized.
         * Verifies that ArrayList can be safely read when properly synchronized.
         */
        @Test
        public void test_deleteUrlList_concurrentReads() throws Exception {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 19.7K bytes
    - Click Count (0)
Back to Top