Search Options

Results per page
Sort
Preferred Languages
Advance

Results 521 - 530 of 577 for elemLen (0.04 sec)

  1. 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 future
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  2. 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]interface{}, error) {
    	d.depth++
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

                      protected Set<String> create(String[] elements) {
                        return ImmutableMultiset.copyOf(elements).elementSet();
                      }
                    })
                .named("ImmutableMultiset, element set")
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.SERIALIZABLE,
                    CollectionFeature.ALLOWS_NULL_QUERIES)
                .createTestSuite());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableListMultimap.java

        return CollectCollectors.toImmutableListMultimap(keyFunction, valueFunction);
      }
    
      /**
       * Returns a {@code Collector} accumulating entries into an {@code ImmutableListMultimap}. Each
       * input element is mapped to a key and a stream of values, each of which are put into the
       * resulting {@code Multimap}, in the encounter order of the stream and the encounter order of the
       * streams of values.
       *
       * <p>Example:
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 16 20:20:32 UTC 2024
    - 19K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

      static final String ERROR_SELF_LOOP = "self-loops are not allowed";
      static final String ERROR_EDGE_NOT_IN_GRAPH =
          "Should not be allowed to pass an edge that is not an element of the graph.";
      static final String ERROR_ADDED_SELF_LOOP = "Should not be allowed to add a self-loop edge.";
      static final String ERROR_ADDED_PARALLEL_EDGE = "Should not be allowed to add a parallel edge.";
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  6. 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(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 27.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

         */
        protected abstract List<Integer> create(Integer[] elements);
    
        @Override
        public Integer[] createArray(int length) {
          return new Integer[length];
        }
    
        /** Returns the original element list, unchanged. */
        @Override
        public List<Integer> order(List<Integer> insertionOrder) {
          return insertionOrder;
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // used only from suite
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

         */
        protected abstract List<Double> create(Double[] elements);
    
        @Override
        public Double[] createArray(int length) {
          return new Double[length];
        }
    
        /** Returns the original element list, unchanged. */
        @Override
        public List<Double> order(List<Double> insertionOrder) {
          return insertionOrder;
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // used only from suite
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

        return CollectCollectors.toImmutableListMultimap(keyFunction, valueFunction);
      }
    
      /**
       * Returns a {@code Collector} accumulating entries into an {@code ImmutableListMultimap}. Each
       * input element is mapped to a key and a stream of values, each of which are put into the
       * resulting {@code Multimap}, in the encounter order of the stream and the encounter order of the
       * streams of values.
       *
       * <p>Example:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  10. src/cmd/cgo/doc.go

    		// Output: 42
    	}
    
    In C, a function argument written as a fixed size array
    actually requires a pointer to the first element of the array.
    C compilers are aware of this calling convention and adjust
    the call accordingly, but Go cannot. In Go, you must pass
    the pointer to the first element explicitly: C.f(&C.x[0]).
    
    Calling variadic C functions is not supported. It is possible to
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Oct 01 22:52:54 UTC 2024
    - 44K bytes
    - Viewed (0)
Back to top