Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 296 for repl (0.19 sec)

  1. tests/test_params_repr.py

        )
    
    
    def test_query_repr_number():
        assert repr(Query(1)) == "Query(1)"
    
    
    def test_query_repr_list():
        assert repr(Query([])) == "Query([])"
    
    
    def test_header_repr_str():
        assert repr(Header("teststr")) == "Header(teststr)"
    
    
    def test_header_repr_none():
        assert repr(Header(None)) == "Header(None)"
    
    
    def test_header_repr_ellipsis():
        assert repr(Header(...)) == IsOneOf(
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  2. common/scripts/check_clean_repo.sh

          return 0
        fi
        outName="artifacts/${PATCH_OUT#"${ARTIFACTS}"/}"
        patchFile="${PROW_ARTIFACTS_BASE:-https://gcsweb.istio.io/gcs/istio-prow}/pr-logs/pull/${REPO_OWNER}_${REPO_NAME}/${PULL_NUMBER}/${JOB_NAME}/${BUILD_ID}/${outName}"
        echo "You can also try applying the patch file from the build artifacts:
    
    git apply <(curl -sL \"${patchFile}\")
    "
    }
    
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 11 22:57:12 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

        data = ByteSource.wrap(string.getBytes(charset));
      }
    
      @Benchmark
      public int timeCopy(int reps) throws IOException {
        int r = 0;
        final Charset localCharset = charset;
        final ByteSource localData = data;
        final ReadStrategy localStrategy = strategy;
        for (int i = 0; i < reps; i++) {
          r += localStrategy.read(localData, localCharset).hashCode();
        }
        return r;
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

        data = ByteSource.wrap(string.getBytes(charset));
      }
    
      @Benchmark
      public int timeCopy(int reps) throws IOException {
        int r = 0;
        final Charset localCharset = charset;
        final ByteSource localData = data;
        final ReadStrategy localStrategy = strategy;
        for (int i = 0; i < reps; i++) {
          r += localStrategy.read(localData, localCharset).hashCode();
        }
        return r;
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  5. docs/en/docs/how-to/custom-docs-ui-assets.md

        If you integrate your API with an OAuth2 provider, you will be able to authenticate and come back to the API docs with the acquired credentials. And interact with it using the real OAuth2 authentication.
    
        Swagger UI will handle it behind the scenes for you, but it needs this "redirect" helper.
    
    ### Create a *path operation* to test it
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Oct 30 09:58:58 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/internal/aether/LegacyRepositorySystemSessionExtender.java

            if (selector != null) {
                RemoteRepository repo = RepositoryUtils.toRepo(repository);
                org.eclipse.aether.repository.Authentication auth = selector.getAuthentication(repo);
                if (auth != null) {
                    repo = new RemoteRepository.Builder(repo)
                            .setAuthentication(auth)
                            .build();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/collect/MapBenchmark.java

        int mask = queries.length - 1;
    
        boolean dummy = false;
        for (int i = 0; i < reps; i++) {
          dummy ^= map.get(queries[i & mask]) != null;
        }
        return dummy;
      }
    
      @Benchmark
      int createAndPopulate(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          dummy += impl.create(values).size();
        }
        return dummy;
      }
    
      @Benchmark
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  8. internal/dsync/dsync-server_test.go

    func (l *lockServer) Lock(args *LockArgs) (reply bool, err error) {
    	if d := atomic.LoadInt64(&l.responseDelay); d != 0 {
    		time.Sleep(time.Duration(d))
    	}
    
    	l.mutex.Lock()
    	defer l.mutex.Unlock()
    	if _, reply = l.lockMap[args.Resources[0]]; !reply {
    		l.lockMap[args.Resources[0]] = WriteLock // No locks held on the given name, so claim write lock
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 23 16:46:37 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/hash/ChecksumBenchmark.java

      // CRC32C
    
      @Benchmark
      byte crc32cHashFunction(int reps) {
        return runHashFunction(reps, Hashing.crc32c());
      }
    
      // Adler32
    
      @Benchmark
      byte adler32HashFunction(int reps) {
        return runHashFunction(reps, Hashing.adler32());
      }
    
      @Benchmark
      byte adler32Checksum(int reps) throws Exception {
        byte result = 0x01;
        for (int i = 0; i < reps; i++) {
          Adler32 checksum = new Adler32();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jun 13 16:19:15 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/hash/ChecksumBenchmark.java

      // CRC32C
    
      @Benchmark
      byte crc32cHashFunction(int reps) {
        return runHashFunction(reps, Hashing.crc32c());
      }
    
      // Adler32
    
      @Benchmark
      byte adler32HashFunction(int reps) {
        return runHashFunction(reps, Hashing.adler32());
      }
    
      @Benchmark
      byte adler32Checksum(int reps) throws Exception {
        byte result = 0x01;
        for (int i = 0; i < reps; i++) {
          Adler32 checksum = new Adler32();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 13 16:19:15 GMT 2023
    - 2.9K bytes
    - Viewed (0)
Back to top