Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1511 - 1520 of 3,731 for get2 (0.03 seconds)

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

        Predicate<Throwable> predicate = INSTANCE_OF.get(expectedThrowable);
        if (predicate == null) {
          throw new IllegalArgumentException(
              expectedThrowable
                  + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the"
                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java

      @SuppressWarnings("unchecked") // value could not get in if not a T
      private <T extends B> @Nullable 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
      private <T extends @NonNull B> @Nullable T trustedGet(TypeToken<T> type) {
        return (T) backingMap.get(type);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java

        }
    
        @Test
        @DisplayName("Should set and get lease state")
        void testLeaseStateAccessors() {
            int newState = Smb2LeaseState.SMB2_LEASE_FULL;
    
            leaseContext.setLeaseState(newState);
            assertEquals(newState, leaseContext.getLeaseState());
        }
    
        @Test
        @DisplayName("Should set and get lease flags")
        void testLeaseFlagsAccessors() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 00:16:17 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AbstractCrawlerClient.java

            }
        }
    
        /**
         * Performs a GET request.
         * @param url The URL to request.
         * @return The ResponseData.
         */
        protected ResponseData doGet(final String url) {
            throw new CrawlerSystemException("GET method is not supported.");
        }
    
        /**
         * Performs a HEAD request.
         * @param url The URL to request.
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sat Sep 06 04:15:37 GMT 2025
    - 9.7K bytes
    - Click Count (10)
  5. docs/es/docs/index.md

    * Validará que haya un `item_id` en el path para requests `GET` y `PUT`.
    * Validará que el `item_id` sea del tipo `int` para requests `GET` y `PUT`.
        * Si no lo es, el cliente verá un error útil y claro.
    * Revisa si hay un parámetro de query opcional llamado `q` (como en `http://127.0.0.1:8000/items/foo?q=somequery`) para requests `GET`.
        * Como el parámetro `q` está declarado con `= None`, es opcional.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 22.6K bytes
    - Click Count (0)
  6. docs/pt/docs/index.md

    * Validar que existe um `item_id` no path para requisições `GET` e `PUT`.
    * Validar que `item_id` é do tipo `int` para requisições `GET` e `PUT`.
        * Se não for, o cliente verá um erro útil e claro.
    * Verificar se existe um parâmetro query opcional nomeado como `q` (como em `http://127.0.0.1:8000/items/foo?q=somequery`) para requisições `GET`.
        * Como o parâmetro `q` é declarado com `= None`, ele é opcional.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 22.7K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/it/search/HealthApiTests.java

                    .when()
                    .get("/api/v1/health")
                    .then()
                    .statusCode(200)
                    .body("data", notNullValue())
                    .body("data.status", anyOf(equalTo("green"), equalTo("yellow"), equalTo("red")));
        }
    
        @Test
        public void testHealthCheck_withoutContentType() {
            given().when()
                    .get("/api/v1/health")
                    .then()
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/util/concurrent/Platform.java

          throw (Error) t;
        }
      }
    
      static <V extends @Nullable Object> V get(AbstractFuture<V> future)
          throws InterruptedException, ExecutionException {
        return future.blockingGet();
      }
    
      static <V extends @Nullable Object> V get(AbstractFuture<V> future, long timeout, TimeUnit unit)
          throws InterruptedException, ExecutionException, TimeoutException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/eventbus/outside/OutsideEventBusTest.java

              }
            });
    
        String EVENT = "Hello!";
        bus.post(EVENT);
    
        assertEquals("Only one event should be delivered.", 1, deliveries.get());
        assertWithMessage("Correct string should be delivered.").that(holder.get()).isEqualTo(EVENT);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb2/rdma/RdmaCredits.java

        /**
         * Create new RDMA credits manager
         */
        public RdmaCredits() {
            this.initialCredits = RdmaCapabilities.DEFAULT_SEND_CREDIT_TARGET;
            this.creditsGranted = 0;
        }
    
        /**
         * Get initial number of credits to request
         *
         * @return initial credits
         */
        public int getInitialCredits() {
            return initialCredits;
        }
    
        /**
         * Set initial credits
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 2K bytes
    - Click Count (0)
Back to Top