Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1151 - 1160 of 3,801 for getE (0.02 sec)

  1. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

        assertThat(iia.get(0)).isEqualTo(0);
        assertThat(iia.get(2)).isEqualTo(3);
        assertThat(iia.subArray(1, 3).get(1)).isEqualTo(3);
      }
    
      public void testGet_bad() {
        ImmutableIntArray iia = ImmutableIntArray.of(0, 1, 3);
        assertThrows(IndexOutOfBoundsException.class, () -> iia.get(-1));
        assertThrows(IndexOutOfBoundsException.class, () -> iia.get(3));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        assertThat(iia.get(0)).isEqualTo(0.0);
        assertThat(iia.get(2)).isEqualTo(3.0);
        assertThat(iia.subArray(1, 3).get(1)).isEqualTo(3.0);
      }
    
      public void testGet_bad() {
        ImmutableDoubleArray iia = ImmutableDoubleArray.of(0, 1, 3);
        assertThrows(IndexOutOfBoundsException.class, () -> iia.get(-1));
        assertThrows(IndexOutOfBoundsException.class, () -> iia.get(3));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  3. ci/official/containers/ml_build/setup.packages.sh

    # Usage: setup.packages.sh <package_list.txt>
    set -e
    
    # Prevent apt install tzinfo from asking our location (assumes UTC)
    export DEBIAN_FRONTEND=noninteractive
    
    apt-get update
    # Remove commented lines and blank lines
    apt-get install -y --no-install-recommends $(sed -e '/^\s*#.*$/d' -e '/^\s*$/d' "$1" | sort -u)
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Sep 24 20:45:58 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/TreeRangeMap.java

        @Override
        public boolean containsKey(@CheckForNull Object key) {
          return get(key) != null;
        }
    
        @Override
        @CheckForNull
        public V get(@CheckForNull Object key) {
          if (key instanceof Range) {
            Range<?> range = (Range<?>) key;
            RangeMapEntry<K, V> rangeMapEntry = entriesByLowerBound.get(range.lowerBound);
            if (rangeMapEntry != null && rangeMapEntry.getKey().equals(range)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/Request.kt

      internal var lazyCacheControl: CacheControl? = null
    
      val isHttps: Boolean
        get() = url.isHttps
    
      /**
       * Constructs a new request.
       *
       * Use [Builder] for more fluent construction, including helper methods for various HTTP methods.
       *
       * @param method defaults to "GET" if [body] is null, and "POST" otherwise.
       */
      constructor(
        url: HttpUrl,
        headers: Headers = headersOf(),
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:17:44 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. docs_src/custom_request_and_route/tutorial003.py

                return response
    
            return custom_route_handler
    
    
    app = FastAPI()
    router = APIRouter(route_class=TimedRoute)
    
    
    @app.get("/")
    async def not_timed():
        return {"message": "Not timed"}
    
    
    @router.get("/timed")
    async def timed():
        return {"message": "It's the time of my life"}
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

          assertThat(urls.get(0).getProtocol()).isEqualTo("file");
          assertThat(urls.get(0).getAuthority()).isNull();
          assertThat(urls.get(0).getPath()).endsWith("/relative/path/to/some.jar");
    
          assertThat(urls.get(1)).isEqualTo(new URL("file:///absolute/path/to/some.jar"));
    
          assertThat(urls.get(2).getProtocol()).isEqualTo("file");
          assertThat(urls.get(2).getAuthority()).isNull();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 25K bytes
    - Viewed (0)
  8. okcurl/src/test/kotlin/okhttp3/curl/MainTest.kt

        assertThat(request.method).isEqualTo("GET")
        assertThat(request.url.toString()).isEqualTo("http://example.com/")
        assertThat(request.header("Referer")).isEqualTo("foo")
        assertThat(request.body).isNull()
      }
    
      @Test
      fun userAgent() {
        val request = fromArgs("-A", "foo", "http://example.com").createRequest()
        assertThat(request.method).isEqualTo("GET")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. internal/config/identity/tls/config.go

    		return Config{}, err
    	}
    	cfg := Config{}
    	var err error
    	v := env.Get(EnvIdentityTLSEnabled, "")
    	if v == "" {
    		return cfg, nil
    	}
    	cfg.Enabled, err = config.ParseBool(v)
    	if err != nil {
    		return Config{}, err
    	}
    	cfg.InsecureSkipVerify, err = config.ParseBool(env.Get(EnvIdentityTLSSkipVerify, kvs.Get(skipVerify)))
    	if err != nil {
    		return Config{}, err
    	}
    	return cfg, nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. docs/ru/docs/index.md

    * Проверять наличие `item_id` в пути для запросов `GET` и `PUT`.
    * Проверять, что `item_id` имеет тип `int` для запросов `GET` и `PUT`.
        * Если это не так, клиент увидит полезную чёткую ошибку.
    * Проверять, есть ли необязательный параметр запроса с именем `q` (например, `http://127.0.0.1:8000/items/foo?q=somequery`) для `GET` запросов.
        * Поскольку параметр `q` объявлен с `= None`, он является необязательным.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 25.8K bytes
    - Viewed (0)
Back to top