Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1351 - 1360 of 3,801 for getT (0.05 sec)

  1. android/guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java

        return backingMap;
      }
    
      @SuppressWarnings("unchecked") // value could not get in if not a T
      @CheckForNull
      private <T extends B> T trustedPut(TypeToken<@NonNull T> type, @ParametricNullness T value) {
        return (T) backingMap.put(type, value);
      }
    
      @SuppressWarnings("unchecked") // value could not get in if not a T
      @CheckForNull
      private <T extends @NonNull B> T trustedGet(TypeToken<T> type) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelCache.java

            @Override
            @SuppressWarnings({"unchecked", "checkstyle:InnerAssignment"})
            public T get() {
                Object v;
                if ((v = value) == null) {
                    synchronized (this) {
                        if ((v = value) == null) {
                            try {
                                v = value = supplier.get();
                            } catch (Exception e) {
                                v = value = new AltRes(e);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SIDCacheImpl.java

            int si;
    
            synchronized ( this.sidCache ) {
                for ( si = 0; si < length; si++ ) {
                    SID s = sids[ offset + si ].unwrap(SID.class);
                    SID sid = this.sidCache.get(s);
                    if ( sid != null ) {
                        s.type = sid.type;
                        s.domainName = sid.domainName;
                        s.acctName = sid.acctName;
                    }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12.6K bytes
    - Viewed (0)
  4. docs_src/websockets/tutorial002_an_py310.py

                    ws.send(input.value)
                    input.value = ''
                    event.preventDefault()
                }
            </script>
        </body>
    </html>
    """
    
    
    @app.get("/")
    async def get():
        return HTMLResponse(html)
    
    
    async def get_cookie_or_token(
        websocket: WebSocket,
        session: Annotated[str | None, Cookie()] = None,
        token: Annotated[str | None, Query()] = None,
    ):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. docs_src/websockets/tutorial002_py310.py

                    ws.send(input.value)
                    input.value = ''
                    event.preventDefault()
                }
            </script>
        </body>
    </html>
    """
    
    
    @app.get("/")
    async def get():
        return HTMLResponse(html)
    
    
    async def get_cookie_or_token(
        websocket: WebSocket,
        session: str | None = Cookie(default=None),
        token: str | None = Query(default=None),
    ):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableList.java

          @Override
          protected E get(int index) {
            return ImmutableList.this.get(index);
          }
        };
      }
    
      @Override
      public void forEach(Consumer<? super E> consumer) {
        checkNotNull(consumer);
        int n = size();
        for (int i = 0; i < n; i++) {
          consumer.accept(get(i));
        }
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 16 19:14:45 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

        }
      }
    }
    
    private fun Request.requestForCache(): Request {
      val cacheUrlOverride = cacheUrlOverride
    
      return if (cacheUrlOverride != null && (method == "GET" || method == "POST")) {
        newBuilder()
          .get()
          .url(cacheUrlOverride)
          .cacheUrlOverride(null)
          .build()
      } else {
        this
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Mar 22 07:09:21 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/OptionalTest.java

      }
    
      public void testOf() {
        assertEquals("training", Optional.of("training").get());
      }
    
      public void testOf_null() {
        assertThrows(NullPointerException.class, () -> Optional.of(null));
      }
    
      public void testFromNullable() {
        Optional<String> optionalName = Optional.fromNullable("bob");
        assertEquals("bob", optionalName.get());
      }
    
      public void testFromNullable_null() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt

        val encodedFragment: String? = httpUrl.encodedFragment()
        val fragment: String? = httpUrl.fragment()
        val getFromUrl: HttpUrl? = HttpUrl.get(URL(""))
        val getFromUri: HttpUrl? = HttpUrl.get(URI(""))
        val parse: HttpUrl? = HttpUrl.parse("")
      }
    
      @Test @Disabled
      fun handshakeCertificates() {
        val handshakeCertificates = HandshakeCertificates.Builder().build()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

          GetCheckedTypeValidator validator, Future<V> future, Class<X> exceptionClass) throws X {
        validator.validateClass(exceptionClass);
        try {
          return future.get();
        } catch (InterruptedException e) {
          currentThread().interrupt();
          throw newWithCause(exceptionClass, e);
        } catch (ExecutionException e) {
          wrapAndThrowExceptionOrError(e.getCause(), exceptionClass);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top