- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 947 for asSlice (0.39 sec)
-
guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt
When the procession came opposite to Alice, they all stopped and looked at her, and the Queen said severely `Who is this?' She said it to the Knave of Hearts, who only bowed and smiled in reply. `Idiot!' said the Queen, tossing her head impatiently; and, turning to Alice, she went on, `What's your name, child?' `My name is Alice, so please your Majesty,' said Alice very
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Oct 29 21:35:03 UTC 2012 - 145.2K bytes - Viewed (0) -
test/typeparam/issue51925.go
// license that can be found in the LICENSE file. package main import "fmt" type IntLike interface { ~int | ~int64 | ~int32 | ~int16 | ~int8 } func Reduce[T any, U any, Uslice ~[]U](function func(T, U) T, sequence Uslice, initial T) T { result := initial for _, x := range sequence { result = function(result, x) } return result } func min[T IntLike](x, y T) T { if x < y { return x }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 963 bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf_data_fuse_pmap_and_batch.mlir
%3 = "tf.Const"() {value = dense<12> : tensor<i32>} : () -> tensor<i32> // CHECK: %[[TSLICE:.*]] = "tf.TensorSliceDataset" %4 = "tf.TensorSliceDataset"(%2) {device = "", output_shapes = [#tf_type.shape<>], metadata = ""} : (tensor<3xi32>) -> tensor<*x!tf_type.variant> // CHECK: "tf.MapAndBatchDataset"(%[[TSLICE]], // CHECK-SAME: f = @"__inference_Dataset_map_<lambda>_80", %5 = "tf.ParallelMapDataset"(%4, %3) {device = "",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 24 05:47:26 UTC 2022 - 1.9K bytes - Viewed (0) -
src/runtime/iface_test.go
func (TL) Method2() {} type T8 uint8 type T16 uint16 type T32 uint32 type T64 uint64 type Tstr string type Tslice []byte func (T8) Method1() {} func (T16) Method1() {} func (T32) Method1() {} func (T64) Method1() {} func (Tstr) Method1() {} func (Tslice) Method1() {} var ( e any e_ any i1 I1 i2 I2 ts TS tm TM tl TL ok bool ) // Issue 9370
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 7.5K bytes - Viewed (0) -
docs_src/security/tutorial003_an_py310.py
"full_name": "John Doe", "email": "******@****.***", "hashed_password": "fakehashedsecret", "disabled": False, }, "alice": { "username": "alice", "full_name": "Alice Wonderson", "email": "alice@example.com", "hashed_password": "fakehashedsecret2", "disabled": True, }, } app = FastAPI() def fake_hash_password(password: str):
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Mar 26 16:56:53 UTC 2024 - 2.5K bytes - Viewed (0) -
src/internal/fuzz/mutators_byteslice.go
b = b[:end+(n*2)] // Copy the block of bytes we want to duplicate to the end of the // slice copy(b[end+n:], b[src:src+n]) // Shift the bytes after the splice point n positions to the right // to make room for the new block copy(b[dst+n:end+n], b[dst:end]) // Insert the duplicate block into the splice point copy(b[dst:], b[end+n:]) b = b[:end+n] return b }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 19 18:23:43 UTC 2021 - 7.7K bytes - Viewed (0) -
src/cmd/compile/internal/reflectdata/helpers.go
return kindRType(pos, typ, types.TCHAN) } // sliceElemRType asserts that typ is a slice type, and returns an // expression that yields the *runtime._type value representing typ's // element type. func sliceElemRType(pos src.XPos, typ *types.Type) ir.Node { base.AssertfAt(typ.IsSlice(), pos, "want slice type, have %v", typ) return TypePtrAt(pos, typ.Elem()) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 12 04:50:32 UTC 2023 - 7.1K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/universe.go
okforbool[types.TBOOL] = true okforcap[types.TARRAY] = true okforcap[types.TCHAN] = true okforcap[types.TSLICE] = true ir.OKForConst[types.TBOOL] = true ir.OKForConst[types.TSTRING] = true okforlen[types.TARRAY] = true okforlen[types.TCHAN] = true okforlen[types.TMAP] = true okforlen[types.TSLICE] = true okforlen[types.TSTRING] = true okforeq[types.TPTR] = true okforeq[types.TUNSAFEPTR] = true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 05 15:20:28 UTC 2023 - 4.7K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/subr.go
return ir.ORUNESTR, "" } if src.IsSlice() && dst.IsString() { if src.Elem().Kind() == types.ByteType.Kind() { return ir.OBYTES2STR, "" } if src.Elem().Kind() == types.RuneType.Kind() { return ir.ORUNES2STR, "" } } // 7. src is a string and dst is []byte or []rune. // String to slice. if src.IsString() && dst.IsSlice() { if dst.Elem().Kind() == types.ByteType.Kind() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 05 19:45:58 UTC 2023 - 20.2K bytes - Viewed (0) -
src/testing/quick/quick_test.go
reportError("fMapAlias", CheckEqual(fMapAlias, fMapAlias, nil), t) reportError("fPtr", CheckEqual(fPtr, fPtr, nil), t) reportError("fPtrAlias", CheckEqual(fPtrAlias, fPtrAlias, nil), t) reportError("fSlice", CheckEqual(fSlice, fSlice, nil), t) reportError("fSliceAlias", CheckEqual(fSliceAlias, fSliceAlias, nil), t) reportError("fString", CheckEqual(fString, fString, nil), t)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 12:54:00 UTC 2019 - 9K bytes - Viewed (0)