Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1341 - 1350 of 1,713 for Take (0.17 sec)

  1. src/archive/tar/reader_test.go

    			fr = &regFileReader{r, maker.makeReg.size}
    			fr = &sparseFileReader{fr, sph, 0}
    		default:
    			t.Fatalf("test %d, unknown make operation: %T", i, maker)
    		}
    
    		for j, tf := range v.tests {
    			switch tf := tf.(type) {
    			case testRead:
    				b := make([]byte, tf.cnt)
    				n, err := fr.Read(b)
    				if got := string(b[:n]); got != tf.wantStr || err != tf.wantErr {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

     * <ul>
     *   <li>Test cases related to whether the graph is directed, undirected, mutable, or immutable.
     *   <li>Test cases related to the specific implementation of the {@link Network} interface.
     * </ul>
     *
     * TODO(user): Make this class generic (using <N, E>) for all node and edge types.
     * TODO(user): Differentiate between directed and undirected edge strings.
     */
    public abstract class AbstractNetworkTest {
    
      Network<Integer, String> network;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                            response.wait(timeout);
    
                            /*
                             * JetDirect printer can respond to regular broadcast query
                             * with node status so we need to check to make sure that
                             * the record type matches the question type and if not,
                             * loop around and try again.
                             */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 14 14:26:22 UTC 2022
    - 38.2K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/RouteFailureTest.kt

        val socketAddress = InetSocketAddress.createUnresolved("myproxy", 8008)
        proxySelector.proxies.add(Proxy(Proxy.Type.HTTP, socketAddress))
    
        // Define two host names for the DNS routing of fake proxy servers
        val proxyServer1 = InetAddress.getByAddress("proxyServer1", byteArrayOf(127, 0, 0, 2))
        val proxyServer2 = InetAddress.getByAddress("proxyServer2", byteArrayOf(127, 0, 0, 3))
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue May 14 17:48:07 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  5. cmd/batch-replicate_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "Tags")
    				return
    			}
    			if cap(z.Tags) >= int(zb0002) {
    				z.Tags = (z.Tags)[:zb0002]
    			} else {
    				z.Tags = make([]BatchJobKV, zb0002)
    			}
    			for za0001 := range z.Tags {
    				err = z.Tags[za0001].DecodeMsg(dc)
    				if err != nil {
    					err = msgp.WrapError(err, "Tags", za0001)
    					return
    				}
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 40.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/reflect/TypesTest.java

        <T> void withoutBound(List<T> list) {}
    
        @SuppressWarnings({
          "unused",
          /*
           * Since reflection can't tell the difference between <T> and <T extends Object>, it doesn't
           * make a ton of sense to have a separate tests for each. But having tests for each doesn't
           * really hurt anything, and maybe it will serve a purpose in a future in which Java has a
           * built-in nullness feature?
           */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:41:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

          }
        },
        MapMakerStrongKeysStrongValues {
          @Override
          public <K extends Comparable<K>, V> Map<K, V> create(Map<K, V> map) {
            // We use a "custom" equivalence to force MapMaker to make a MapMakerInternalMap.
            ConcurrentMap<K, V> newMap = new MapMaker().keyEquivalence(Equivalence.equals()).makeMap();
            checkState(newMap instanceof MapMakerInternalMap);
            newMap.putAll(map);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/reflect/TypesTest.java

        <T> void withoutBound(List<T> list) {}
    
        @SuppressWarnings({
          "unused",
          /*
           * Since reflection can't tell the difference between <T> and <T extends Object>, it doesn't
           * make a ton of sense to have a separate tests for each. But having tests for each doesn't
           * really hurt anything, and maybe it will serve a purpose in a future in which Java has a
           * built-in nullness feature?
           */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:41:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/TreeBasedTable.java

       */
      @Deprecated
      public Comparator<? super C> columnComparator() {
        return columnComparator;
      }
    
      // TODO(lowasser): make column return a SortedMap
    
      /**
       * {@inheritDoc}
       *
       * <p>Because a {@code TreeBasedTable} has unique sorted values for a given row, this method
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java

            if ((makeBehavior != null && !makeBehavior.isEmpty()) && !makeUpstream && !makeDownstream) {
                throw new MavenExecutionException("Invalid reactor make behavior: " + makeBehavior, request.getPom());
            }
    
            if (makeUpstream || makeDownstream) {
                Set<MavenProject> projectsSet = new HashSet<>(projects);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top