- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 250 for Pointer (0.04 seconds)
-
impl/maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomNodePointer.java
super(parent); this.node = node; } @Override public int compareChildNodePointers(NodePointer pointer1, NodePointer pointer2) { XmlNode node1 = (XmlNode) pointer1.getBaseValue(); XmlNode node2 = (XmlNode) pointer2.getBaseValue(); if (node1 == node2) { return 0; } for (XmlNode child : node.children()) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Mar 25 09:45:07 GMT 2025 - 3.3K bytes - Click Count (0) -
internal/once/singleton.go
package once // Singleton contains a pointer to T that must be set once. // Until the value is set all Get() calls will block. type Singleton[T any] struct { v *T set chan struct{} } // NewSingleton creates a new unset singleton. func NewSingleton[T any]() *Singleton[T] { return &Singleton[T]{set: make(chan struct{}), v: nil} } // Get will return the singleton value. func (s *Singleton[T]) Get() *T { <-s.set return s.v
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Aug 15 12:04:40 GMT 2024 - 952 bytes - Click Count (0) -
guava/src/com/google/common/collect/CompactHashMap.java
entries[srcIndex] = 0; // also need to update whoever's "next" pointer was pointing to the last entry place int tableIndex = smearedHash(key) & mask; int next = CompactHashing.tableGet(table, tableIndex); int srcNext = srcIndex + 1; if (next == srcNext) { // we need to update the root pointer CompactHashing.tableSet(table, tableIndex, dstIndex + 1); } else {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 39.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/CompactHashMap.java
entries[srcIndex] = 0; // also need to update whoever's "next" pointer was pointing to the last entry place int tableIndex = smearedHash(key) & mask; int next = CompactHashing.tableGet(table, tableIndex); int srcNext = srcIndex + 1; if (next == srcNext) { // we need to update the root pointer CompactHashing.tableSet(table, tableIndex, dstIndex + 1); } else {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 35.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/PackageSanityTests.java
} @Override public void testNulls() throws Exception { try { super.testNulls(); } catch (AssertionError e) { assertWithMessage("Method did not throw null pointer OR element not in graph exception.") .that(e) .hasCauseThat() .hasMessageThat() .contains(ERROR_ELEMENT_NOT_IN_GRAPH); } }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 28 01:26:26 GMT 2024 - 3.2K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/ArtifactCoordinates.java
import org.apache.maven.api.annotations.Nonnull; /** * Partial identification of an {@link Artifact} in a Maven repository. * Each {@code ArtifactCoordinates} instance is basically a pointer to a file in the Maven repository, * except that the exact version may not be known yet. * * @since 4.0.0 */ @Experimental @Immutable public interface ArtifactCoordinates { /**Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jun 26 07:56:58 GMT 2025 - 2.8K bytes - Click Count (0) -
schema/schema_test.go
} } func TestParseSchemaWithPointerFields(t *testing.T) { user, err := schema.Parse(&User{}, &sync.Map{}, schema.NamingStrategy{}) if err != nil { t.Fatalf("failed to parse pointer user, got error %v", err) } checkUserSchema(t, user) } func checkUserSchema(t *testing.T, user *schema.Schema) { // check schema
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Thu Aug 28 02:57:17 GMT 2025 - 13.3K bytes - Click Count (0) -
cmd/os-dirent_namelen_linux.go
"fmt" "syscall" "unsafe" ) func direntNamlen(dirent *syscall.Dirent) (uint64, error) { const fixedHdr = uint16(unsafe.Offsetof(syscall.Dirent{}.Name)) nameBuf := (*[unsafe.Sizeof(dirent.Name)]byte)(unsafe.Pointer(&dirent.Name[0])) const nameBufLen = uint16(len(nameBuf)) limit := dirent.Reclen - fixedHdr if limit > nameBufLen { limit = nameBufLen } // Avoid bugs in long file names
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Aug 19 01:35:22 GMT 2021 - 1.5K bytes - Click Count (0) -
internal/s3select/json/preader.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 6.5K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomPointerFactory.java
import org.apache.commons.jxpath.ri.QName; import org.apache.commons.jxpath.ri.model.NodePointer; import org.apache.commons.jxpath.ri.model.NodePointerFactory; import org.apache.maven.api.xml.XmlNode; /** * A node pointer factory for JXPath to support <code>Xpp3Dom</code>. * */ public class Xpp3DomPointerFactory implements NodePointerFactory { @Override public int getOrder() { return 200; }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2K bytes - Click Count (0)