- Sort Score
- Num 10 results
- Language All
Results 481 - 490 of 855 for Element (0.06 seconds)
-
guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java
addEdge(N1, N1, E11); assertThat(network.outDegree(N1)).isEqualTo(2); addEdge(N2, N1, E12); assertThat(network.outDegree(N1)).isEqualTo(3); } // Element Mutation @Test public void addEdge_existingNodes() { assume().that(graphIsMutable()).isTrue(); // Adding nodes initially for safety (insulating from possible futureCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 17:09:51 GMT 2025 - 19K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/IterablesTest.java
public void testElementsEqual() throws Exception { Iterable<?> a; Iterable<?> b; // A few elements. a = asList(4, 8, 15, 16, 23, 42); b = asList(4, 8, 15, 16, 23, 42); assertTrue(elementsEqual(a, b)); // An element differs. a = asList(4, 8, 15, 12, 23, 42); b = asList(4, 8, 15, 16, 23, 42); assertFalse(elementsEqual(a, b));
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:44:53 GMT 2025 - 45.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java
} @Override public List<Long> create(Object... elements) { Long[] array = new Long[elements.length]; int i = 0; for (Object e : elements) { array[i++] = (Long) e; } return create(array); } /** * Creates a new collection containing the given elements; implement this method instead of * {@link #create(Object...)}. */Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 20.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java
new TestStringSetGenerator() { @Override protected Set<String> create(String[] elements) { return ImmutableMultiset.copyOf(elements).elementSet(); } }) .named("ImmutableMultiset, element set") .withFeatures( CollectionSize.ANY, CollectionFeature.SERIALIZABLE,
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 24.8K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Optional.java
* {@code Optional.orElse(null)}. */ public abstract @Nullable T orNull(); /** * Returns an immutable singleton {@link Set} whose only element is the contained instance if it * is present; an empty immutable {@link Set} otherwise. * * <p><b>Comparison to {@code java.util.Optional}:</b> this method has no equivalent in Java 8'sCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 15.4K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java
Version.BASE, "parent.artifactId", null, "must be changed" + ", the parent element cannot have the same groupId:artifactId as the project.", parent); } if (equals("LATEST", parent.getVersion()) || equals("RELEASE", parent.getVersion())) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 03 15:06:05 GMT 2025 - 66.8K bytes - Click Count (0) -
src/cmd/asm/internal/asm/parse.go
p.errorf("parsing left shift amount: %s", err) } num = int16(amount) } else if p.peek() == '[' { // parses an element: [Index] p.get('[') tok := p.get(scanner.Int) index, err := strconv.ParseInt(tok.String(), 10, 16) p.get(']') if err != nil { p.errorf("parsing element index: %s", err) } isIndex = true isAmount = false num = int16(index) } switch p.arch.Family {
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Wed Nov 12 03:59:40 GMT 2025 - 37.3K bytes - Click Count (0) -
internal/s3select/jstream/decoder.go
} // next token must be ',' or ']' switch c = d.skipSpaces(); c { case ',': d.skipSpaces() goto scan case ']': goto out default: err = d.mkError(ErrSyntax, "after array element") } out: d.depth-- return array, err } // object accept valid JSON array value func (d *Decoder) object() (map[string]any, error) { d.depth++
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 13.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/LinkedListMultimap.java
this(multimap.keySet().size()); putAll(multimap); } /** * Adds a new node for the specified key-value pair before the specified {@code nextSibling} * element, or at the end of the list if {@code nextSibling} is null. Note: if {@code nextSibling} * is specified, it MUST be for a node for the same {@code key}! */ @CanIgnoreReturnValue private Node<K, V> addNode(
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 27K bytes - Click Count (0) -
src/bytes/bytes.go
a := make([][]byte, len(spans)) for i, span := range spans { a[i] = s[span.start:span.end:span.end] } return a } // Join concatenates the elements of s to create a new byte slice. The separator // sep is placed between elements in the resulting slice. func Join(s [][]byte, sep []byte) []byte { if len(s) == 0 { return []byte{} } if len(s) == 1 { // Just return a copy.
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Sep 16 16:42:15 GMT 2025 - 35.5K bytes - Click Count (0)