Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 514 for addUrl (0.07 sec)

  1. internal/deadlineconn/deadlineconn_test.go

    func TestBuffConnReadTimeout(t *testing.T) {
    	l, err := net.Listen("tcp", "localhost:0")
    	if err != nil {
    		t.Fatalf("unable to create listener. %v", err)
    	}
    	defer l.Close()
    	serverAddr := l.Addr().String()
    
    	tcpListener, ok := l.(*net.TCPListener)
    	if !ok {
    		t.Fatalf("failed to assert to net.TCPListener")
    	}
    
    	var wg sync.WaitGroup
    	wg.Add(1)
    	go func() {
    		defer wg.Done()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Nov 05 18:09:21 UTC 2022
    - 3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/FluentIterable.java

        return Iterables.<E>toArray(getDelegate(), type);
      }
    
      /**
       * Copies all the elements from this fluent iterable to {@code collection}. This is equivalent to
       * calling {@code Iterables.addAll(collection, this)}.
       *
       * <p><b>{@code Stream} equivalent:</b> {@code stream.forEachOrdered(collection::add)} or {@code
       * stream.forEach(collection::add)}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 24 13:42:31 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  3. docs/en/docs/contributing.md

    Go into the language directory, for the main docs in English it's at `docs/en/`:
    
    ```console
    $ cd docs/en/
    ```
    
    Then run `mkdocs` in that directory:
    
    ```console
    $ mkdocs serve --dev-addr 8008
    ```
    
    ///
    
    #### Typer CLI (optional)
    
    The instructions here show you how to use the script at `./scripts/docs.py` with the `python` program directly.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Aug 25 02:44:06 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Headers.kt

          value: String,
        ) = apply {
          headersCheckName(name)
          addLenient(name, value)
        }
    
        /**
         * Adds all headers from an existing collection.
         */
        fun addAll(headers: Headers) = commonAddAll(headers)
    
        /**
         * Add a header with the specified name and formatted date. Does validation of header names and
         * value.
         */
        fun add(
          name: String,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Table.java

      /**
       * Returns a set of all row key / column key / value triplets. Changes to the returned set will
       * update the underlying table, and vice versa. The cell set does not support the {@code add} or
       * {@code addAll} methods.
       *
       * @return set of table cells consisting of row key / column key / value triplets
       */
      Set<Cell<R, C, V>> cellSet();
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  6. cmd/metrics-v3-cache.go

    		m := collectLocalMetrics(types, collectMetricsOpts{
    			hosts: map[string]struct{}{
    				globalLocalNodeName: {},
    			},
    		})
    
    		for _, hm := range m.ByHost {
    			if hm.Mem != nil && len(hm.Mem.Info.Addr) > 0 {
    				v = hm.Mem.Info
    				break
    			}
    		}
    
    		return
    	}
    
    	return cachevalue.NewFromFunc(1*time.Minute,
    		cachevalue.Opts{ReturnLastGood: true},
    		loadMemoryMetrics)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 09 00:51:34 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/EnumBiMapTest.java

                Currency.FRANC, Country.SWITZERLAND);
        EnumBiMap<Currency, Country> bimap = EnumBiMap.create(map);
        Set<Object> uniqueEntries = Sets.newIdentityHashSet();
        uniqueEntries.addAll(bimap.entrySet());
        assertEquals(3, uniqueEntries.size());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // serialization
      public void testSerializable() {
        SerializableTester.reserializeAndAssert(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

            C filtered = filter(createUnfiltered(contents), EVEN);
            C filteredToModify = filter(createUnfiltered(contents), EVEN);
    
            assertThrows(IllegalArgumentException.class, () -> filteredToModify.addAll(toAdd));
    
            assertThat(filteredToModify).containsExactlyElementsIn(filtered);
          }
        }
    
        public void testAddToFilterFiltered() {
          for (List<Integer> contents : SAMPLE_INPUTS) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableTable.java

            put(cell);
          }
          return this;
        }
    
        @CanIgnoreReturnValue
        Builder<R, C, V> combine(Builder<R, C, V> other) {
          this.cells.addAll(other.cells);
          return this;
        }
    
        /**
         * Returns a newly-created immutable table.
         *
         * <p>Prefer the equivalent method {@link #buildOrThrow()} to make it explicit that the method
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/BytesTest.java

          for (int i = 0; i < VALUES.length; i++) {
            List<Byte> list = Bytes.asList(VALUES).subList(0, i);
            Collection<Byte> misleadingSize = Helpers.misleadingSizeCollection(delta);
            misleadingSize.addAll(list);
            byte[] arr = Bytes.toArray(misleadingSize);
            assertThat(arr).hasLength(i);
            for (int j = 0; j < i; j++) {
              assertThat(arr[j]).isEqualTo(VALUES[j]);
            }
          }
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
Back to top