Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 39 of 39 for Clip (0.04 sec)

  1. pkg/test/loadbalancersim/loadbalancer/edf.go

    // Len implements heap.Interface/sort.Interface
    func (pq priorityQueue) Len() int { return len(pq) }
    
    // Less implements heap.Interface/sort.Interface
    func (pq priorityQueue) Less(i, j int) bool {
    	// Flip logic to make this a min queue.
    	if pq[i].deadline == pq[j].deadline {
    		return pq[i].index < pq[j].index
    	}
    	return pq[i].deadline < pq[j].deadline
    }
    
    // Swap implements heap.Interface/sort.Interface
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 20 19:13:32 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

          @Override
          long copy(Readable from, Appendable to) throws IOException {
            CharBuffer buf = CharStreams.createBuffer();
            long total = 0;
            while (from.read(buf) != -1) {
              ((Buffer) buf).flip();
              to.append(buf);
              total += buf.remaining();
              ((Buffer) buf).clear();
            }
            return total;
          }
        },
        NEW {
          @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 23 18:59:54 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  3. docs/tr/docs/history-design-future.md

    </blockquote>
    
    ## Araştırma
    
    Önceki alternatifleri kullanarak hepsinden bir şeyler öğrenip, fikirler alıp, bunları kendim ve çalıştığım geliştirici ekipler için en iyi şekilde birleştirebilme şansım oldu.
    
    Mesela, ideal olarak standart Python tip belirteçlerine dayanması gerektiği açıktı.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt

                request: UrlRequest,
                info: UrlResponseInfo,
                byteBuffer: ByteBuffer,
              ) {
                println("onReadCompleted ${info.headers.asMap}")
                byteBuffer.flip()
                buffer.write(byteBuffer)
                byteBuffer.clear()
                request.read(byteBuffer)
              }
    
              override fun onSucceeded(
                request: UrlRequest,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Mar 24 13:19:43 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. pkg/test/util/retry/retry.go

    		cfg.delayMax = delay * 16
    	}
    }
    
    // Converge sets the number of successes in a row needed to count a success.
    // This is useful to avoid the case where tests like `coin.Flip() == HEADS` will always
    // return success due to random variance.
    func Converge(successes int) Option {
    	return func(cfg *config) {
    		cfg.converge = successes
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  6. src/strconv/makeisprint.go

    	return !found
    }
    
    func scan(min, max rune) (rang, except []uint32) {
    	lo := rune(-1)
    	for i := min; ; i++ {
    		if (i > max || !unicode.IsPrint(i)) && lo >= 0 {
    			// End range, but avoid flip flop.
    			if i+1 <= max && unicode.IsPrint(i+1) {
    				except = append(except, uint32(i))
    				continue
    			}
    			rang = append(rang, uint32(lo), uint32(i-1))
    			lo = -1
    		}
    		if i > max {
    			break
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 18:56:17 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. src/cmd/distpack/test.go

    	// go.mod are renamed to _go.mod.
    	{name: "**/go.mod", exclude: true},
    	{name: "**/_go.mod"},
    }
    
    func testSrc(a *Archive) {
    	test("source", a, srcRules)
    
    	// Check that no generated files slip in, even if new ones are added.
    	for _, f := range a.Files {
    		if strings.HasPrefix(path.Base(f.Name), "z") {
    			data, err := os.ReadFile(filepath.Join(goroot, strings.TrimPrefix(f.Name, "go/")))
    			if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 01 22:29:19 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  8. cmd/xl-storage-format-utils_test.go

    			if got := hashDeterministicString(m); got == want {
    				t.Errorf("hashDeterministicString() = %v, does not want %v", got, want)
    			}
    
    			// Flip key/value
    			want = hashDeterministicString(m)
    			delete(m, "another")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 22:18:44 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/tests/auto_clustering_test_helper.cc

            runner.Run(auto_clustering_pass, std::move(graphdef), &next));
        graphdef = std::move(next);
      }
    
      TF_ASSIGN_OR_RETURN(string clustering_summary, SummarizeClustering(graphdef));
    
      // To update golden files flip this to true and run
      //
      // bazel test --test_strategy=local \
      //   tensorflow/compiler/jit/tests:auto_clustering_test
      bool update_golden = false;
      if (update_golden) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 12:11:46 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top