Search Options

Results per page
Sort
Preferred Languages
Advance

Results 641 - 650 of 3,152 for get2 (0.03 sec)

  1. guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

      }
    
      enum TargetSupplier {
        STRING_WRITER {
          @Override
          Appendable get(int sz) {
            return new StringWriter(sz);
          }
        },
        STRING_BUILDER {
          @Override
          Appendable get(int sz) {
            return new StringBuilder(sz);
          }
        };
    
        abstract Appendable get(int sz);
      }
    
      @Param CopyStrategy strategy;
      @Param TargetSupplier target;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 18:59:54 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. docs_src/security/tutorial004_an.py

        )
        return Token(access_token=access_token, token_type="bearer")
    
    
    @app.get("/users/me/", response_model=User)
    async def read_users_me(
        current_user: Annotated[User, Depends(get_current_active_user)],
    ):
        return current_user
    
    
    @app.get("/users/me/items/")
    async def read_own_items(
        current_user: Annotated[User, Depends(get_current_active_user)],
    ):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/elevateword/ApiAdminElevatewordAction.java

                            .total(pager.getAllRecordCount()).status(ApiResult.Status.OK).result());
        }
    
        // GET /api/admin/elevateword/{id}
        @Execute
        public JsonResponse<ApiResult> get$setting(final String id) {
    
            final ElevateWord entity = elevateWordService.getElevateWord(id).orElseGet(() -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/it/CrudTestBase.java

                final String idKey = getIdKey();
                if (setting.containsKey(idKey)) {
                    requestBody.put(idKey, setting.get(idKey));
                }
                for (String key : keySet) {
                    if (!requestBody.containsKey(key)) {
                        requestBody.put(key, setting.get(key));
                    }
                }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. docs_src/path_operation_configuration/tutorial006.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/items/", tags=["items"])
    async def read_items():
        return [{"name": "Foo", "price": 42}]
    
    
    @app.get("/users/", tags=["users"])
    async def read_users():
        return [{"username": "johndoe"}]
    
    
    @app.get("/elements/", tags=["items"], deprecated=True)
    async def read_elements():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 365 bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableRangeSet.java

                NEXT_HIGHER);
        if (ceilingIndex < ranges.size()
            && ranges.get(ceilingIndex).isConnected(otherRange)
            && !ranges.get(ceilingIndex).intersection(otherRange).isEmpty()) {
          return true;
        }
        return ceilingIndex > 0
            && ranges.get(ceilingIndex - 1).isConnected(otherRange)
            && !ranges.get(ceilingIndex - 1).intersection(otherRange).isEmpty();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ListsTest.java

        assertEquals(singletonList(1), partitions.get(0));
        assertEquals(singletonList(2), partitions.get(1));
      }
    
      public void testPartition_3_2() {
        List<Integer> source = asList(1, 2, 3);
        List<List<Integer>> partitions = partition(source, 2);
        assertEquals(2, partitions.size());
        assertEquals(asList(1, 2), partitions.get(0));
        assertEquals(asList(3), partitions.get(1));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ListsTest.java

        assertEquals(singletonList(1), partitions.get(0));
        assertEquals(singletonList(2), partitions.get(1));
      }
    
      public void testPartition_3_2() {
        List<Integer> source = asList(1, 2, 3);
        List<List<Integer>> partitions = partition(source, 2);
        assertEquals(2, partitions.size());
        assertEquals(asList(1, 2), partitions.get(0));
        assertEquals(asList(3), partitions.get(1));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  9. cmd/auth-handler.go

    )
    
    // Verify if request has JWT.
    func isRequestJWT(r *http.Request) bool {
    	return strings.HasPrefix(r.Header.Get(xhttp.Authorization), jwtAlgorithm)
    }
    
    // Verify if request has AWS Signature Version '4'.
    func isRequestSignatureV4(r *http.Request) bool {
    	return strings.HasPrefix(r.Header.Get(xhttp.Authorization), signV4Algorithm)
    }
    
    // Verify if request has AWS Signature Version '2'.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java

            List<String> rawValue = properties.getRaw(KEY1);
            assertEquals(2, (Object) rawValue.size());
            assertEquals(KEY1A + " = " + VALUE1, rawValue.get(0));
            assertEquals(VALUE1, rawValue.get(1));
        }
    
        @Test
        public void testEntrySetValue() throws Exception {
            properties.put(KEY1, VALUE1);
    
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
Back to top