- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 344 for Pointer (0.05 sec)
-
cmd/os_unix.go
func parseDirEnt(buf []byte) (consumed int, name []byte, typ os.FileMode, err error) { // golang.org/issue/15653 dirent := (*syscall.Dirent)(unsafe.Pointer(&buf[0])) if v := unsafe.Offsetof(dirent.Reclen) + unsafe.Sizeof(dirent.Reclen); uintptr(len(buf)) < v { return consumed, nil, typ, fmt.Errorf("buf size of %d smaller than dirent header size %d", len(buf), v) }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameQueryResponseTest.java
// Prepare a byte array with valid NetBIOS name format byte[] src = new byte[100]; int srcIndex = 0; // Start with compressed name pointer (0xC0) to use questionName src[srcIndex] = (byte) 0xC0; src[srcIndex + 1] = 0x0C; // Pointer offset // recordType (2 bytes) src[srcIndex + 2] = 0x00; src[srcIndex + 3] = 0x20; // NB (0x0020) // recordClass (2 bytes)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/UrlEscaperTesting.java
* assertBasicUrlEscaper() unless the escaper explicitly does not escape '%'. */ static void assertBasicUrlEscaperExceptPercent(UnicodeEscaper e) { // URL escapers should throw null pointer exceptions for null input try { e.escape((String) null); fail("Escaping null string should throw exception"); } catch (NullPointerException x) { // pass }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.6K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt
} @Throws(EOFException::class) private fun skipName(source: Buffer) { // 0 - 63 bytes var length = source.readByte().toInt() if (length < 0) { // compressed name pointer, first two bits are 1 // drop second byte of compression offset source.skip(1) } else { while (length > 0) { // skip each part of the domain name source.skip(length.toLong())
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java
public static void assertBasic(Escaper escaper) throws IOException { // Escapers operate on characters: no characters, no escaping. Assert.assertEquals("", escaper.escape("")); // Assert that escapers throw null pointer exceptions. try { escaper.escape((String) null); Assert.fail("exception not thrown when escaping a null string"); } catch (NullPointerException e) { // pass } } /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jan 18 20:55:09 UTC 2022 - 3.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java
public static void assertBasic(Escaper escaper) throws IOException { // Escapers operate on characters: no characters, no escaping. Assert.assertEquals("", escaper.escape("")); // Assert that escapers throw null pointer exceptions. try { escaper.escape((String) null); Assert.fail("exception not thrown when escaping a null string"); } catch (NullPointerException e) { // pass } } /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jan 18 20:55:09 UTC 2022 - 3.8K bytes - Viewed (0) -
RELEASE.md
* Fixes a null pointer dereference in `CompressElement` ([CVE-2021-37637](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-37637)) * Fixes a null pointer dereference in `RaggedTensorToTensor` ([CVE-2021-37638](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-37638)) * Fixes a null pointer dereference and a heap OOB read arising from operations restoring tensorsRegistered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Tue Oct 28 22:27:41 UTC 2025 - 740.4K bytes - Viewed (3) -
internal/logger/target/testlogger/testlogger.go
errorMessage fatalMessage ) // T is the test logger. var T = &testLogger{} func init() { logger.AddSystemTarget(context.Background(), T) } type testLogger struct { current atomic.Pointer[testing.TB] action atomic.Int32 } // SetLogTB will set the logger to output to tb. // Call the returned function to disable logging. func (t *testLogger) SetLogTB(tb testing.TB) func() {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 4K bytes - Viewed (0) -
cmd/globals.go
globalBucketMetadataSys *BucketMetadataSys globalBucketMonitor *bandwidth.Monitor globalPolicySys *PolicySys globalIAMSys *IAMSys globalBytePoolCap atomic.Pointer[bpool.BytePoolCap] globalLifecycleSys *LifecycleSys globalBucketSSEConfigSys *BucketSSEConfigSys globalBucketTargetSys *BucketTargetSys // globalAPIConfig controls S3 API requests throttling,
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Sep 03 18:23:41 UTC 2024 - 16.2K bytes - Viewed (1) -
api/maven-api-core/src/main/java/org/apache/maven/api/Artifact.java
* and extension, and it is stored in a repository for dependency management and build purposes. * * <p>Each {@code Artifact} instance is basically an exact pointer to a file in a Maven repository. * {@code Artifact} instances are created when <dfn>resolving</dfn> {@link ArtifactCoordinates} instances. * Resolving is the process that selects a {@linkplain #getVersion() particular version}Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Jun 26 07:56:58 UTC 2025 - 4.6K bytes - Viewed (0)