Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2981 - 2990 of 3,913 for getT (0.03 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutAllMultimapTester.java

      public void testPutAllPropagatesToGet() {
        Multimap<K, V> source =
            getSubjectGenerator().create(mapEntry(k0(), v3()), mapEntry(k3(), v3()));
        Collection<V> getCollection = multimap().get(k0());
        int getCollectionSize = getCollection.size();
        assertTrue(multimap().putAll(source));
        assertEquals(getCollectionSize + 1, getCollection.size());
        assertContains(getCollection, v3());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/RequestBodyCompression.java

       *
       * https://console.developers.google.com/project
       */
      public static final String GOOGLE_API_KEY = "AIzaSyAx2WZYe0My0i-uGurpvraYJxO7XNbwiGs";
      public static final MediaType MEDIA_TYPE_JSON = MediaType.get("application/json");
    
      private final OkHttpClient client = new OkHttpClient.Builder()
          .addInterceptor(new GzipRequestInterceptor())
          .build();
      private final Moshi moshi = new Moshi.Builder().build();
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat May 25 18:02:55 UTC 2019
    - 3.8K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutAllMultimapTester.java

      public void testPutAllPropagatesToGet() {
        Multimap<K, V> source =
            getSubjectGenerator().create(mapEntry(k0(), v3()), mapEntry(k3(), v3()));
        Collection<V> getCollection = multimap().get(k0());
        int getCollectionSize = getCollection.size();
        assertTrue(multimap().putAll(source));
        assertEquals(getCollectionSize + 1, getCollection.size());
        assertContains(getCollection, v3());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableMap.java

        return Maps.safeContainsKey(delegate, key);
      }
    
      public final boolean containsValue(@Nullable Object value) {
        return delegate.containsValue(value);
      }
    
      public @Nullable V get(@Nullable Object key) {
        return (key == null) ? null : Maps.safeGet(delegate, key);
      }
    
      @Override
      ImmutableSet<Entry<K, V>> createEntrySet() {
        return ImmutableSet.unsafeDelegate(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 24 16:03:45 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. cmd/server-rlimit.go

    )
    
    func oldLinux() bool {
    	currentKernel, err := kernel.CurrentVersion()
    	if err != nil {
    		// Could not probe the kernel version
    		return false
    	}
    
    	if currentKernel == 0 {
    		// We could not get any valid value return false
    		return false
    	}
    
    	// legacy linux indicator for printing warnings
    	// about older Linux kernels and Go runtime.
    	return currentKernel < kernel.Version(4, 0, 0)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 02 15:09:36 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. cmd/erasure-utils.go

    package cmd
    
    import (
    	"context"
    	"encoding/base64"
    	"fmt"
    	"io"
    	"strings"
    
    	"github.com/klauspost/reedsolomon"
    )
    
    // getDataBlockLen - get length of data blocks from encoded blocks.
    func getDataBlockLen(enBlocks [][]byte, dataBlocks int) int {
    	size := 0
    	// Figure out the data block length.
    	for _, block := range enBlocks[:dataBlocks] {
    		size += len(block)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. docs/sts/etcd.md

    # etcd V3 Quickstart Guide [![Slack](https://slack.min.io/slack?type=svg)](https://slack.min.io)
    
    etcd is a distributed key value store that provides a reliable way to store data across a cluster of machines.
    
    ## Get started
    
    ### 1. Prerequisites
    
    - Docker 18.03 or above, refer here for [installation](https://docs.docker.com/install/).
    
    ### 2. Start etcd
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_request_files/test_tutorial001_an_py39.py

        assert response.status_code == 200, response.text
        assert response.json() == {"filename": "test.txt"}
    
    
    @needs_py39
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_request_form_models/test_tutorial001_an_py39.py

                        "type": "value_error.missing",
                    },
                ]
            }
        )
    
    
    @needs_py39
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 05 15:16:50 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. istioctl/pkg/util/configdump/route.go

    	routeDump, err := w.GetRouteConfigDump()
    	if err != nil {
    		return nil, err
    	}
    	drc := routeDump.GetDynamicRouteConfigs()
    
    	lastUpdated := time.Unix(0, 0) // get the oldest possible timestamp
    	for i := range drc {
    		if drc[i].LastUpdated != nil {
    			drLastUpdated := drc[i].LastUpdated.AsTime()
    			if drLastUpdated.After(lastUpdated) {
    				lastUpdated = drLastUpdated
    			}
    		}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Nov 03 08:41:32 UTC 2022
    - 3.2K bytes
    - Viewed (0)
Back to top