- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 2,632 for i$ (0.06 sec)
-
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_layout_helper.cc
namespace mlir { namespace TF { SmallVector<int64_t, 4> ReversePermutation(ArrayRef<int64_t> permutation) { SmallVector<int64_t, 4> reverse(permutation.size()); for (size_t i = 0; i < permutation.size(); ++i) { reverse[permutation[i]] = i; } return reverse; } SmallVector<int64_t, 4> GetDataFormatPermutation(StringRef from, StringRef to) { if (from == "NHWC" && to == "NCHW") { return {0, 3, 1, 2};
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 3.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/Base64Util.java
private static final byte[] DECODE_TABLE = new byte[128]; static { for (int i = 0; i < DECODE_TABLE.length; i++) { DECODE_TABLE[i] = Byte.MAX_VALUE; } for (int i = 0; i < ENCODE_TABLE.length; i++) { DECODE_TABLE[ENCODE_TABLE[i]] = (byte) i; } } /** * Base64でエンコードします。 * * @param inData * エンコードするデータ
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 6.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-HeadersCommon.kt
for (i in namesAndValues.indices) { require(namesAndValues[i] != null) { "Headers cannot be null" } namesAndValues[i] = inputNamesAndValues[i].trim() } // Check for malformed headers. for (i in namesAndValues.indices step 2) { val name = namesAndValues[i] val value = namesAndValues[i + 1] headersCheckName(name) headersCheckValue(value, name)
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.9K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/DecoderExtensions.java
readShorts(decoder, array); return array; } public static void readShorts(Decoder decoder, short[] array) throws IOException { for (int i = 0; i < array.length; i++) { array[i] = decoder.readShort(); } } public static int[] readLengthPrefixedInts(Decoder decoder) throws IOException { int length = decoder.readInt();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 3.7K bytes - Viewed (0) -
src/runtime/rwmutex_test.go
var cunlock atomic.Bool cdone := make(chan bool) for i := 0; i < numReaders; i++ { go parallelReader(&m, clocked, &cunlock, cdone) } // Wait for all parallel RLock()s to succeed. for i := 0; i < numReaders; i++ { <-clocked } cunlock.Store(true) // Wait for the goroutines to finish. for i := 0; i < numReaders; i++ { <-cdone } } func TestParallelRWMutexReaders(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 15 22:00:45 UTC 2023 - 4.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/model/internal/fixture/ModelActionBuilder.java
} public <I> ModelAction action(ModelPath modelPath, ModelType<I> inputType, BiAction<? super T, ? super I> action) { return action(modelPath, inputType, inputType.toString(), action); } public <I> ModelAction action(String modelPath, ModelType<I> inputType, BiAction<? super T, ? super I> action) { return action(modelPath, inputType, modelPath, action); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 6.4K bytes - Viewed (0) -
pkg/util/sets/set_test.go
s1 := New[int]() for i := 0; i < 100; i++ { s1.Insert(i) } s2 := New[int]() for i := 0; i < 100; i += 2 { s2.Insert(i) } b.ResetTimer() b.Run("Difference", func(b *testing.B) { for i := 0; i < b.N; i++ { s1.Difference(s2) } }) b.Run("DifferenceInPlace", func(b *testing.B) { for i := 0; i < b.N; i++ { s1.DifferenceInPlace(s2) } })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Mar 30 05:26:03 UTC 2024 - 7.9K bytes - Viewed (0) -
src/maps/iter_test.go
"testing" ) func TestAll(t *testing.T) { for size := 0; size < 10; size++ { m := make(map[int]int) for i := range size { m[i] = i } cnt := 0 for i, v := range All(m) { v1, ok := m[i] if !ok || v != v1 { t.Errorf("at iteration %d got %d, %d want %d, %d", cnt, i, v, i, v1) } cnt++ } if cnt != size { t.Errorf("read %d values expected %d", cnt, size) } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:44:19 UTC 2024 - 1.9K bytes - Viewed (0) -
tensorflow/cc/ops/while_loop.cc
for (size_t i = 0; i < num_loop_vars; ++i) { enter_outputs[i] = internal::Enter(scope, inputs[i], frame_name); } TF_RETURN_IF_ERROR(scope.status()); std::vector<Output> merge_outputs(num_loop_vars); for (size_t i = 0; i < num_loop_vars; ++i) { TF_RETURN_IF_ERROR( CreateMerge(scope, i, enter_outputs[i], &merge_outputs[i])); } Output cond_out;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 01:01:21 UTC 2024 - 9.5K bytes - Viewed (0) -
src/runtime/internal/sys/intrinsics_test.go
"testing" ) func TestTrailingZeros64(t *testing.T) { for i := 0; i <= 64; i++ { x := uint64(5) << uint(i) if got := sys.TrailingZeros64(x); got != i { t.Errorf("TrailingZeros64(%d)=%d, want %d", x, got, i) } } } func TestTrailingZeros32(t *testing.T) { for i := 0; i <= 32; i++ { x := uint32(5) << uint(i) if got := sys.TrailingZeros32(x); got != i { t.Errorf("TrailingZeros32(%d)=%d, want %d", x, got, i) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 17 23:34:11 UTC 2023 - 984 bytes - Viewed (0)