Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for max_line (0.47 sec)

  1. src/go/internal/gcimporter/support.go

    	files map[string]*fileInfo
    }
    
    type fileInfo struct {
    	file     *token.File
    	lastline int
    }
    
    const maxlines = 64 * 1024
    
    func (s *fakeFileSet) pos(file string, line, column int) token.Pos {
    	// TODO(mdempsky): Make use of column.
    
    	// Since we don't know the set of needed file positions, we reserve
    	// maxlines positions per file. We delay calling token.File.SetLines until
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/ops/gen/common/source_code.cc

    void SourceCode::IncreaseIndent() { current_indent_++; }
    
    void SourceCode::DecreaseIndent() { current_indent_--; }
    
    void SourceCode::ValidateAndAddLine(int indent, const string& raw_line) {
      StringPiece line(raw_line);
      bool had_trailing_newline = str_util::ConsumeSuffix(&line, "\n");
    
      if (absl::StrContains(line, '\n')) {
        LOG(ERROR) << "Attempt to add multiple lines; bad formatting is likely.";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 09:51:28 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/mark_ops_for_outside_compilation.mlir

      // CHECK-SAME: _xla_outside_compilation
      "tf_device.cluster"() ({
        %elem_shape = "tf.Const"() {value = dense<> : tensor<0xi32>} : () -> tensor<0xi32>
        %max_size = "tf.Const"() {value = dense<10> : tensor<i32>} : () -> tensor<i32>
        %1 = "tf.EmptyTensorList"(%elem_shape, %max_size) : (tensor<0xi32>, tensor<i32>) -> tensor<!tf_type.variant<tensor<f32>>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 16:22:32 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  4. src/internal/trace/trace_test.go

    			match  string
    			frames []frame
    		}
    		// mainLine is the line number of `func main()` in testprog/stacks.go.
    		const mainLine = 21
    		want := []evDesc{
    			{trace.EventStateTransition, "Goroutine Running->Runnable", []frame{
    				{"main.main", mainLine + 82},
    			}},
    			{trace.EventStateTransition, "Goroutine NotExist->Runnable", []frame{
    				{"main.main", mainLine + 11},
    			}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/main/java/org/gradle/util/GFileUtils.java

         * Returns the tail of a file.
         *
         * @param file to read from tail
         * @param maxLines max lines to read
         * @return tail content
         * @throws org.gradle.util.GFileUtils.TailReadingException when reading failed
         */
        @SuppressWarnings("DefaultCharset")
        public static String tail(File file, int maxLines) throws TailReadingException {
            logDeprecation();
            BufferedReader reader = null;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.cc

      auto get_value_at = [](ArrayRef<T> v, size_t i) -> T {
        if (v.size() == 1) return v.front();
        return v[i];
      };
    
      size_t max_size = std::max(a.size(), b.size());
      SmallVector<T> result(max_size);
      for (size_t i : llvm::seq<size_t>(0, max_size)) {
        result[i] = get_value_at(a, i) * get_value_at(b, i);
      }
      return result;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/it/admin/KeyMatchTests.java

            final String keyProp = NAME_PREFIX + id;
            requestBody.put(KEY_PROPERTY, keyProp);
            requestBody.put(KEY_PROPERTY, keyProp);
            requestBody.put("query", "query" + id);
            requestBody.put("max_size", new Integer(id).toString());
            requestBody.put("boost", 100);
            return requestBody;
        }
    
        @Override
        protected Map<String, Object> getUpdateMap() {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

                private static final int MAX_LEN = 1000;
    
                private final ByteArrayOutputStream buf = new ByteArrayOutputStream(MAX_LEN);
    
                @Override
                public void write(final int b) throws IOException {
                    if (b == '\n' || b == '\r' || buf.size() >= MAX_LEN) {
                        try {
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/RegularImmutableSet.java

            return true;
          }
        }
      }
    
      @Override
      public int size() {
        return size;
      }
    
      // We're careful to put only E instances into the array in the mainline.
      // (In the backport, we don't need this suppression, but we keep it to minimize diffs.)
      @SuppressWarnings("unchecked")
      @Override
      public UnmodifiableIterator<E> iterator() {
        return asList().iterator();
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/collection_ops_util.cc

    }
    
    LogicalResult CreateInitBufferValue(ArrayRef<int64_t> element_shape,
                                        Value max_size, Operation* op,
                                        Type element_dtype, OpBuilder builder,
                                        Value* buffer) {
      auto max_count_op = max_size.getDefiningOp();
      if (!max_count_op) return op->emitOpError("unknown max element count");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.5K bytes
    - Viewed (0)
Back to top