- Sort Score
- Result 10 results
- Languages All
Results 411 - 420 of 1,876 for Read (0.02 sec)
-
internal/dsync/drwmutex.go
isReadLock := false return dm.lockBlocking(ctx, cancel, id, source, isReadLock, opts) } // RLock holds a read lock on dm. // // If one or more read locks are already in use, it will grant another lock. // Otherwise the calling go routine blocks until the mutex is available. func (dm *DRWMutex) RLock(id, source string) { isReadLock := true
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 20.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java
SMBUtil.writeInt2(4, buffer, start); Smb2LogoffResponse resp = newResponse(); // Act int read = resp.readBytesWireFormat(buffer, start); // Assert assertEquals(4, read, "Should return the fixed structure size (4)"); } @ParameterizedTest @ValueSource(ints = { 0, 1, 7 })
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.7K bytes - Viewed (0) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelParser.java
import org.apache.maven.api.model.Model; import org.apache.maven.api.services.Source; /** * The {@code ModelParser} interface is used to locate and read {@link Model}s from the file system. * This allows plugging in additional syntaxes for the main model read by Maven when building a project. * * @since 4.0.0 */ @Experimental @Consumer @Named public interface ModelParser extends SpiService { /**Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Sep 10 17:18:47 UTC 2024 - 3.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/MockHttp2Peer.kt
require(length < bytesOut.size - lastFrame.start) // Move everything from bytesOut into a new buffer. val fullBuffer = Buffer() bytesOut.read(fullBuffer, bytesOut.size) // Copy back all but what we're truncating. fullBuffer.read(bytesOut, lastFrame.start + length) outFrames.add(OutFrame(lastFrame.sequence, lastFrame.start, true)) return writer }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 8.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponse.java
final int start = bufferIndex; final SmbInfoAllocation info = new SmbInfoAllocation(); // Read total allocation units. info.alloc = readInt8(buffer, bufferIndex); bufferIndex += 8; // read caller available allocation units info.free = readInt8(buffer, bufferIndex); bufferIndex += 8; // skip actual free unitsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java
// Fill with pattern to verify we read correct bytes for (int i = 0; i < buffer.length; i++) { buffer[i] = (byte) (i + 1); } // Decode int bytesDecoded = smbInfoAllocation.decode(buffer, 0, buffer.length); // Verify we read exactly 20 bytes (4 + 4 + 4 + 4 + 4) // Note: bytesPerSect is read as Int2 but 4 bytes are consumed (padding)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java
off = in.read(buf, 0, 1024); } else { off = in.readDirect(buf, 0, buf.length); } if (buf[0] != 5 && buf[1] != 0) { throw new IOException("Unexpected DCERPC PDU header"); } flags = buf[3] & 0xFF; // next read is start of new fragRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0) -
.github/workflows/shfmt.yml
name: Shell formatting checks on: pull_request: branches: - master permissions: contents: read jobs: build: name: runner / shfmt runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: luizm/action-sh-checker@master env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SHFMT_OPTS: "-s" with:Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed May 22 23:07:14 UTC 2024 - 443 bytes - Viewed (0) -
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:]
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 22 14:15:21 UTC 2025 - 18.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/usability/plugin/ExpressionDocumenter.java
expressionDocumentation.putAll(doco); } } catch (IOException e) { throw new ExpressionDocumentationException( "Failed to read documentation for expression root: " + root, e); } catch (XmlPullParserException e) { throw new ExpressionDocumentationException(
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.2K bytes - Viewed (0)