Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 164 for pushBack (0.15 sec)

  1. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/sourceparser/PreprocessingReader.java

                if (followingChar == '\n') {
                    return true; // '\\\r\n' discarded from stream
                }
                pushBack(nextChar);
                pushBack(followingChar);
                return false;
            } else {
                pushBack(nextChar);
                return false;
            }
        }
    
        private int next() throws IOException {
            if (readAheadChars[0] != -1) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/debug_lines_test.go

    	default:
    		t.Skip("skipped for many architectures")
    
    	case "arm64", "amd64": // register ABI
    		fn := "(*List[go.shape.int_0]).PushBack"
    		if true /* was buildcfg.Experiment.Unified */ {
    			// Unified mangles differently
    			fn = "(*List[go.shape.int]).PushBack"
    		}
    		testDebugLines(t, "-N -l", "pushback.go", fn, []int{17, 18, 19, 20, 21, 22, 24}, true)
    	}
    }
    
    func TestDebugLinesConvert(t *testing.T) {
    	unixOnly(t)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:24:52 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sync/semaphore/semaphore.go

    		// Don't make other Acquire calls block on one that's doomed to fail.
    		s.mu.Unlock()
    		<-done
    		return ctx.Err()
    	}
    
    	ready := make(chan struct{})
    	w := waiter{n: n, ready: ready}
    	elem := s.waiters.PushBack(w)
    	s.mu.Unlock()
    
    	select {
    	case <-done:
    		s.mu.Lock()
    		select {
    		case <-ready:
    			// Acquired the semaphore after we were canceled.
    			// Pretend we didn't and put the tokens back.
    			s.cur -= n
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/quantization/device_target.cc

        signature->push_back(AnyQuantizedType::get(
            quant.getFlags(), quant.getStorageType(), quant.getExpressedType(),
            quant.getStorageTypeMin(), quant.getStorageTypeMax()));
      } else if (auto any = spec.dyn_cast_or_null<AnyQuantizedType>()) {
        signature->push_back(any);
      } else {  // float
        signature->push_back(AnyQuantizedType());
      }
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 08 10:41:08 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/ops/gen/cpp/views/op_view.cc

      // Initialize function arguments
      all_arguments_.push_back(OpArgumentView("AbstractContext*", "ctx"));
      for (const auto& arg : op_.Inputs()) {
        all_arguments_.push_back(OpArgumentView(arg));
      }
      for (const auto& arg : op_.Outputs()) {
        all_arguments_.push_back(OpArgumentView(arg));
      }
      for (const auto& attr : op.Attributes()) {
        all_arguments_.push_back(OpArgumentView(attr));
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 03 07:02:00 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/utils/convert_attr.cc

          for (const auto& item : value.list().i())
            attrs.push_back(builder->getI64IntegerAttr(item));
          for (const auto& item : value.list().s())
            attrs.push_back(builder->getStringAttr(item));
          for (const auto& item : value.list().f())
            attrs.push_back(builder->getFloatAttr(builder->getF32Type(), item));
          for (const auto& item : value.list().b())
            attrs.push_back(builder->getBoolAttr(item));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_common.cc

      llvm::SmallVector<mlir::Type, 4> operand_types;
      if (options.has_chain) operand_types.push_back(chain_type);
      if (parser.resolveOperands(in_chains, operand_types, loc, result.operands) ||
          parser.resolveOperands(operands, tensor_type, result.operands))
        return mlir::failure();
    
      if (options.has_chain) result.types.push_back(chain_type);
      result.types.append(num_results, tensor_type);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfr/utils/utils.cc

          return {};
        }
        if (tf_op_name[i] == '.') {
          compose_func_name.push_back('_');
        } else if (tf_op_name[i] >= 'A' && tf_op_name[i] <= 'Z') {
          compose_func_name.push_back('_');
          compose_func_name.push_back(tf_op_name[i] + 'a' - 'A');
        } else {
          compose_func_name.push_back(tf_op_name[i]);
        }
      }
      return compose_func_name;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 03:08:33 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfrt/saved_model/saved_model.cc

                    func.getArgAttrOfType<mlir::StringAttr>(i, "tf.device")) {
              input_devices.push_back(input_device.getValue());
            } else {
              input_devices.push_back("");
            }
          }
          if (auto* bound_input =
                  mlir::tf_saved_model::LookupBoundInput(func, i, symbol_table)) {
            bound_inputs.push_back(bound_input);
          }
        }
    
        llvm::SmallVector<llvm::StringRef, 4> output_names;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/utils/fake_session.cc

          t.flat<float>().setZero();
          outputs->push_back(t);
        } else if (output_name == "dense/kernel") {
          Tensor t =
              Tensor(tensorflow::DT_FLOAT, tensorflow::TensorShape({100, 50}));
          t.flat<float>().setZero();
          outputs->push_back(t);
        } else if (output_name == "var1") {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 03:47:51 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top