Search Options

Results per page
Sort
Preferred Languages
Advance

Results 731 - 740 of 3,801 for getD (0.03 sec)

  1. docs_src/app_testing/app_b_an_py310/test_main.py

    client = TestClient(app)
    
    
    def test_read_item():
        response = client.get("/items/foo", headers={"X-Token": "coneofsilence"})
        assert response.status_code == 200
        assert response.json() == {
            "id": "foo",
            "title": "Foo",
            "description": "There goes my hero",
        }
    
    
    def test_read_item_bad_token():
        response = client.get("/items/foo", headers={"X-Token": "hailhydra"})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Aug 15 22:31:16 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/fileconfig/AdminFileconfigAction.java

                        form.permissions = stream(entity.getPermissions()).get(stream -> stream.map(s -> permissionHelper.decode(s))
                                .filter(StringUtil::isNotBlank).distinct().collect(Collectors.joining("\n")));
                        form.virtualHosts = stream(entity.getVirtualHosts())
                                .get(stream -> stream.filter(StringUtil::isNotBlank).map(String::trim).collect(Collectors.joining("\n")));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/webconfig/AdminWebconfigAction.java

                        form.permissions = stream(entity.getPermissions()).get(stream -> stream.map(s -> permissionHelper.decode(s))
                                .filter(StringUtil::isNotBlank).distinct().collect(Collectors.joining("\n")));
                        form.virtualHosts = stream(entity.getVirtualHosts())
                                .get(stream -> stream.filter(StringUtil::isNotBlank).map(String::trim).collect(Collectors.joining("\n")));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/BloomFilterStrategies.java

        boolean set(long bitIndex) {
          if (get(bitIndex)) {
            return false;
          }
    
          int longIndex = (int) (bitIndex >>> LONG_ADDRESSABLE_BITS);
          long mask = 1L << bitIndex; // only cares about low 6 bits of bitIndex
    
          long oldValue;
          long newValue;
          do {
            oldValue = data.get(longIndex);
            newValue = oldValue | mask;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 10.7K bytes
    - Viewed (0)
  5. tests/test_additional_responses_default_validationerror.py

    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @app.get("/a/{id}")
    async def a(id):
        pass  # pragma: no cover
    
    
    client = TestClient(app)
    
    
    def test_openapi_schema():
        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"},
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/LongAddables.java

              new Supplier<LongAddable>() {
                @Override
                public LongAddable get() {
                  return new LongAdder();
                }
              };
        } catch (Throwable t) { // we really want to catch *everything*
          supplier =
              new Supplier<LongAddable>() {
                @Override
                public LongAddable get() {
                  return new PureJavaLongAddable();
                }
              };
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 04 17:27:14 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/Uninterruptibles.java

          while (true) {
            try {
              return future.get();
            } catch (InterruptedException e) {
              interrupted = true;
            }
          }
        } finally {
          if (interrupted) {
            Thread.currentThread().interrupt();
          }
        }
      }
    
      /**
       * Invokes {@code future.}{@link Future#get(long, TimeUnit) get(timeout, unit)} uninterruptibly.
       *
       * <p>Similar methods:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

                        if (!thumbnailManager.offer(doc)) {
                            if (logger.isDebugEnabled()) {
                                logger.debug("Removing {}={} from doc[{}]", thumbnailField, doc.get(thumbnailField),
                                        doc.get(fessConfig.getIndexFieldUrl()));
                            }
                            doc.remove(thumbnailField);
                        }
                    });
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/AllTests.java

                if ( map.get(TestProperties.EXCLUDE_TEST_MUTATIONS) != null ) {
                    excludes.addAll(Arrays.asList(map.get(TestProperties.EXCLUDE_TEST_MUTATIONS).split("\\s*,\\s*")));
                }
                if ( applyMutations != null && applyMutations.length > 0 && map.get(TestProperties.TEST_MUTATIONS) != null ) {
                    for ( String mutate : map.get(TestProperties.TEST_MUTATIONS).split("\\s*,\\s*") ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 14.4K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java

            List<Integer> copy = new ArrayList<>(input);
            sort(copy);
            dummy += copy.get(0);
          }
        } else {
          for (int i = 0; i < reps; i++) {
            List<Integer> copy = new ArrayList<>(input);
            sort(copy);
            dummy += ImmutableList.copyOf(copy).get(0);
          }
        }
        return dummy;
      }
    
      @Benchmark
      int ordering(int reps) {
        int dummy = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top