- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 288 for insertNew (0.5 sec)
-
src/regexp/onepass.go
return false } return q.sparse[u] < q.size && q.dense[q.sparse[u]] == u } func (q *queueOnePass) insert(u uint32) { if !q.contains(u) { q.insertNew(u) } } func (q *queueOnePass) insertNew(u uint32) { if u >= uint32(len(q.sparse)) { return } q.sparse[u] = q.size q.dense[q.size] = u q.size++ } func newQueue(size int) (q *queueOnePass) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:36:03 UTC 2024 - 13.7K bytes - Viewed (0) -
src/runtime/trace2map_test.go
"bb", } for i, s := range d { id, inserted := m.PutString(s) if !inserted { t.Errorf("expected to have inserted string %q, but did not", s) } if id != uint64(i+1) { t.Errorf("expected string %q to have ID %d, but got %d instead", s, i+1, id) } } for i, s := range d { id, inserted := m.PutString(s) if inserted { t.Errorf("inserted string %q, but expected to have not done so", s) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 10 18:52:49 UTC 2024 - 1.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/dot_general.h
// be inserted to convert to well-formed matrix multiply; i.e., mhlo.dot_general // -> tfl.batch_matmul(mhlo.transpose(mhlo.reshape(operand)), ...). // Note: // 1) Reshape/transpose are inserted because tfl.BatchMatMul requires // size(contracting_dimensions) = 1 and size(output_dim) = 1, whereas // mhlo.dot_general has no such restriction.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 04 19:00:01 UTC 2023 - 2.3K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classpath/DefaultClassPath.java
return new ImmutableUniqueList<T>(set, array); } private Object[] shrinkArray() { if (array.length == inserted) { return array; } Object[] newArray = new Object[inserted]; System.arraycopy(array, 0, newArray, 0, inserted); return newArray; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 9.1K bytes - Viewed (0) -
src/sort/example_search_test.go
fmt.Printf("found %g at index %d in %v\n", x, i, a) x = 0.5 i = sort.SearchFloat64s(a, x) fmt.Printf("%g not found, can be inserted at index %d in %v\n", x, i, a) // Output: // found 2 at index 1 in [1 2 3.3 4.6 6.1 7.2 8] // 0.5 not found, can be inserted at index 0 in [1 2 3.3 4.6 6.1 7.2 8] } // This example demonstrates searching for int in a list sorted in ascending order. func ExampleSearchInts() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 18 08:25:24 UTC 2021 - 2.1K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/collections/AbstractIterationOrderRetainingElementSource.java
List<Element<T>> getInserted() { return inserted; } @Override public boolean isEmpty() { for (Element<T> element : inserted) { if (element.size() != 0) { return false; } } return true; } @Override public boolean constantTimeIsEmpty() { return inserted.isEmpty(); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 04 20:04:06 UTC 2024 - 13.6K bytes - Viewed (0) -
src/cmd/cgo/internal/test/stubtest_linux_ppc64le.S
std 0,16(1) stdu 1,-32(1) // Save R2 in TOC save slot. std 2,24(1) // clobber R2 li 2,0 // Call type2_func. A call stub from notoc to toc should be inserted. bl toc_func@notoc // Call libc random. A notoc plt stub should be inserted. bl random@notoc // Return 0 to indicate the test ran. li 3,0 // Restore R2 ld 2,24(1) // Restore LR and pop stack addi 1,1,32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 22 15:06:17 UTC 2023 - 3.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/insert_weight_param.mlir
// RUN: stablehlo-quant-opt %s -split-input-file -stablehlo-insert-weight-param | FileCheck %s // Test that q/dq pair with per-tensor quantization parameter is inserted // between constant and XlaCallModule op with empty `weight_only_ptq` method // and function name containing conv. func.func @qdq_for_conv_weight_empty(%arg0: tensor<1x3x2x3xf32>) -> tensor<1x2x2x2xf32> attributes {tf._original_func_name = "main_0"} {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 05:56:10 UTC 2024 - 22K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/UserManual.java
*/ public abstract DirectoryProperty getRoot(); /** * Source of snippets that can be inserted into the user manual */ public abstract DirectoryProperty getSnippets(); /** * Source of samples that can be inserted into the user manual * */ public abstract DirectoryProperty getSamples(); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 1.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/deduplicate_bound_input_bindings.cc
auto attr = func.getArgAttrOfType<FlatSymbolRefAttr>( i, "tf_saved_model.bound_input"); if (!attr) continue; auto inserted = unique_bound_inputs.insert(std::make_pair(attr, i)); if (inserted.second) continue; auto duplicate_arg = func.getArgument(i); auto original_arg = func.getArgument(unique_bound_inputs[attr]); duplicate_arg.replaceAllUsesWith(original_arg);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 04 09:25:35 UTC 2022 - 2.4K bytes - Viewed (0)