Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for countBuf (0.14 sec)

  1. src/encoding/gob/decoder.go

    		i = ^i
    	}
    	return i
    }
    
    func (dec *Decoder) nextInt() int64 {
    	n, _, err := decodeUintReader(&dec.buf, dec.countBuf)
    	if err != nil {
    		dec.err = err
    	}
    	return toInt(n)
    }
    
    func (dec *Decoder) nextUint() uint64 {
    	n, _, err := decodeUintReader(&dec.buf, dec.countBuf)
    	if err != nil {
    		dec.err = err
    	}
    	return n
    }
    
    // decodeTypeSequence parses:
    // TypeSequence
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/aot/benchmark.cc

      const size_t count_us = sorted_us.size();
      double sum_us = 0;
      size_t count_us_trimmed = 0;
      double sum_us_trimmed = 0;
      size_t count_us_best = 0;
      double sum_us_best = 0;
      static constexpr float trim_ratio = 0.25;
      static constexpr float best_ratio = 0.1;
      const size_t count_trimmed = count_us * trim_ratio;
      const size_t count_best = count_us * best_ratio;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 12 19:45:29 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/AutobahnTester.kt

      private fun getTestCount(): Long {
        val latch = CountDownLatch(1)
        val countRef = AtomicLong()
        val failureRef = AtomicReference<Throwable>()
    
        newWebSocket(
          "/getCaseCount",
          object : WebSocketListener() {
            override fun onMessage(
              webSocket: WebSocket,
              text: String,
            ) {
              countRef.set(text.toLong())
            }
    
            override fun onClosing(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. src/runtime/profbuf.go

    	return uint32(x >> 34)
    }
    
    // countSub subtracts two counts obtained from profIndex.dataCount or profIndex.tagCount,
    // assuming that they are no more than 2^29 apart (guaranteed since they are never more than
    // len(data) or len(tags) apart, respectively).
    // tagCount wraps at 2^30, while dataCount wraps at 2^32.
    // This function works for both.
    func countSub(x, y uint32) int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  5. tensorflow/cc/saved_model/bundle_v2_test.cc

                }
              }
              return absl::OkStatus();
            }));
    
        // Should be one of each var name restored.
        for (const auto& expected_name : expected_names) {
          EXPECT_EQ(1, std::count_if(restored_vars.begin(), restored_vars.end(),
                                     [&](RestoredVarType t) {
                                       return std::get<1>(t) == expected_name;
                                     }));
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 12 17:51:15 UTC 2023
    - 6K bytes
    - Viewed (0)
  6. src/runtime/stack_test.go

    	countIn, countOut := 0, 0
    	frames := CallersFrames(pcs)
    	var tb strings.Builder
    	for {
    		frame, more := frames.Next()
    		fmt.Fprintf(&tb, "\n%s+0x%x %s:%d", frame.Function, frame.PC-frame.Entry, frame.File, frame.Line)
    		switch frame.Function {
    		case "runtime.TracebackSystemstack":
    			countIn++
    		case "runtime_test.TestTracebackSystemstack":
    			countOut++
    		}
    		if !more {
    			break
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 23.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc

      // input and the outputs are all using this type).
      Type control_type = ControlType::get(parser.getBuilder().getContext());
      if (FunctionType type = mlir::dyn_cast<FunctionType>(types.front())) {
        if (llvm::count_if(type.getInputs(),
                           [=](Type type) { return type != control_type; }) != 1)
          return parser.emitError(parser.getNameLoc())
                 << " expects a single data type";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

      // The main_outputs may include tokens that are not among the op_results;
      mlir::TypeRange main_output_types = loader->OutputTypes();
      int nr_main_token_outputs =
          llvm::count_if(main_output_types, tensorflow::IsTokenType);
      if (op_results.size() != main_output_types.size() - nr_main_token_outputs) {
        llvm::errs() << "XlaCallModule has " << op_results.size()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
Back to top