- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,353 for genValue (0.22 sec)
-
src/encoding/json/scanner_test.go
} // Generate a random JSON object. var jsonBig []byte func initBig() { n := 10000 if testing.Short() { n = 100 } b, err := Marshal(genValue(n)) if err != nil { panic(err) } jsonBig = b } func genValue(n int) any { if n > 1 { switch rand.Intn(2) { case 0: return genArray(n) case 1: return genMap(n) } } switch rand.Intn(3) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 25 16:00:37 UTC 2023 - 6.9K bytes - Viewed (0) -
src/reflect/abi_test.go
type Struct15 struct { A uintptr X struct { Y [3]struct{} } B float64 } const genValueRandSeed = 0 // genValue generates a pseudorandom reflect.Value with type t. // The reflect.Value produced by this function is always the same // for the same type. func genValue(t *testing.T, typ reflect.Type, r *rand.Rand) reflect.Value { // Re-seed and reset the PRNG because we want each value with the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 05 17:54:15 UTC 2022 - 26.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/ztypes_zos_s390x.go
AuditID [16]byte _ [4]byte // rsrvd1 File_tag struct { Ccsid uint16 Txtflag uint16 // aggregating Txflag:1 deferred:1 rsvflags:14 } CharsetID [8]byte Blocks int64 Genvalue uint32 Reftim31 [4]byte Fid [8]byte Filefmt byte Fspflag2 byte _ [2]byte // rsrvd2 Ctimemsec int32 Seclabel [8]byte _ [4]byte // rsrvd3
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:12:58 UTC 2024 - 8.6K bytes - Viewed (0) -
src/cmd/compile/internal/x86/ssa.go
p.To.Type = obj.TYPE_MEM p.To.Reg = x86.REG_SP ssagen.AddAux(&p.To, v) case ssa.OpClobberReg: // TODO: implement for clobberdead experiment. Nop is ok for now. default: v.Fatalf("genValue not implemented: %s", v.LongString()) } } var blockJump = [...]struct { asm, invasm obj.As }{ ssa.Block386EQ: {x86.AJEQ, x86.AJNE}, ssa.Block386NE: {x86.AJNE, x86.AJEQ},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 24 01:26:58 UTC 2023 - 26.7K bytes - Viewed (0) -
src/cmd/compile/internal/s390x/ssa.go
bne.To.SetTarget(cs) case ssa.OpS390XSYNC: s.Prog(s390x.ASYNC) case ssa.OpClobber, ssa.OpClobberReg: // TODO: implement for clobberdead experiment. Nop is ok for now. default: v.Fatalf("genValue not implemented: %s", v.LongString()) } } func blockAsm(b *ssa.Block) obj.As { switch b.Kind { case ssa.BlockS390XBRC: return s390x.ABRC case ssa.BlockS390XCRJ: return s390x.ACRJ
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 24 01:26:58 UTC 2023 - 27.1K bytes - Viewed (0) -
src/cmd/compile/internal/ppc64/ssa.go
v.Fatalf("Flag* ops should never make it to codegen %v", v.LongString()) case ssa.OpClobber, ssa.OpClobberReg: // TODO: implement for clobberdead experiment. Nop is ok for now. default: v.Fatalf("genValue not implemented: %s", v.LongString()) } } var blockJump = [...]struct { asm, invasm obj.As asmeq, invasmun bool }{ ssa.BlockPPC64EQ: {ppc64.ABEQ, ppc64.ABNE, false, false},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:59:38 UTC 2024 - 55.4K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java
assertEquals("test-prop", pom.getValue("properties[1]/b")); // verifies profile applied assertEquals(4, ((List<?>) pom.getValue("modules")).size()); assertEquals("module-2", pom.getValue("modules[1]")); assertEquals("module-1", pom.getValue("modules[2]")); assertEquals("module-3", pom.getValue("modules[3]")); assertEquals("module-4", pom.getValue("modules[4]")); } /**
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 93.2K bytes - Viewed (0) -
maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java
private String extractGroupId(PlexusConfiguration c) { return c.getChild("groupId").getValue(); } private String extractArtifactId(PlexusConfiguration c) { return c.getChild("artifactId").getValue(); } private String extractVersion(PlexusConfiguration c) { return c.getChild("version").getValue(); } private String extractGoalPrefix(PlexusConfiguration c) {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 11 07:23:04 UTC 2024 - 17.6K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/IsolatedImmutableManagedValue.java
return new ImmutableManagedValueSnapshot(getValue().publicType().getName(), (String) getValue().unpackState()); } @Override public void appendToHasher(Hasher hasher) { asSnapshot().appendToHasher(hasher); } @Nullable @Override public <S> S coerce(Class<S> type) { if (type.isInstance(getValue())) { return type.cast(getValue()); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/DocumentUtilTest.java
assertEquals(expected, DocumentUtil.getValue(doc, "key1", String.class)); assertEquals(Integer.parseInt(expected), DocumentUtil.getValue(doc, "key1", Integer.class).intValue()); assertEquals(Long.parseLong(expected), DocumentUtil.getValue(doc, "key1", Long.class).longValue()); assertEquals(Float.parseFloat(expected), DocumentUtil.getValue(doc, "key1", Float.class).floatValue());
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4K bytes - Viewed (0)