- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 85 for str1 (0.2 sec)
-
src/cmd/compile/internal/reflectdata/alg_test.go
a string b int } const size = 1024 var ( str1 = "foobar" str2 = "foobarz" a [size]T2 c [size]T2 ) for i := 0; i < size; i++ { a[i].a = str1 c[i].a = str1 } c[len(c)-1].a = str2 b.ResetTimer() for j := 0; j < b.N; j++ { _ = a == c } } const size = 16 type T1 struct { a [size]byte }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 24 21:55:14 UTC 2023 - 2.1K bytes - Viewed (0) -
src/slices/sort_test.go
{[]string{}, "", 0, false}, {str1, "foo", 0, true}, {str1, "bar", 0, false}, {str1, "zx", 1, false}, {str2, "aa", 0, false}, {str2, "ab", 0, true}, {str2, "ad", 1, false}, {str2, "ca", 1, true}, {str2, "ra", 2, false}, {str3, "bb", 0, false}, {str3, "mo", 0, true}, {str3, "nb", 1, false}, {str3, "qo", 1, true}, {str3, "tr", 2, false}, {str3, "vo", 2, true},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 09 19:20:55 UTC 2024 - 9.5K bytes - Viewed (0) -
src/sort/search_test.go
{[]string{}, "", 0, false}, {str1, "foo", 0, true}, {str1, "bar", 0, false}, {str1, "zx", 1, false}, {str2, "aa", 0, false}, {str2, "ab", 0, true}, {str2, "ad", 1, false}, {str2, "ca", 1, true}, {str2, "ra", 2, false}, {str3, "bb", 0, false}, {str3, "mo", 0, true}, {str3, "nb", 1, false}, {str3, "qo", 1, true}, {str3, "tr", 2, false}, {str3, "vo", 2, true},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 07 14:42:13 UTC 2022 - 6.8K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultArtifactCoordinateFactory.java
} String str1 = request.getClassifier(); String classifier = str1 != null && !str1.isEmpty() ? request.getClassifier() : type != null ? type.getClassifier() : ""; String str = request.getExtension(); String extension =
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Mar 25 10:50:01 UTC 2024 - 2.8K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultArtifactFactory.java
} String str1 = request.getClassifier(); String classifier = str1 != null && !str1.isEmpty() ? request.getClassifier() : type != null ? type.getClassifier() : null; String str = request.getExtension(); String extension = str != null && !str.isEmpty() ? request.getExtension() : type != null ? type.getExtension() : null;
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Mar 25 10:50:01 UTC 2024 - 2.4K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionDataRepository.java
String str1 = request.getResumeFrom(); if (properties.containsKey(REMAINING_PROJECTS) && !(str1 != null && !str1.isEmpty())) { String propertyValue = properties.getProperty(REMAINING_PROJECTS); Stream.of(propertyValue.split(PROPERTY_DELIMITER)) .filter(str -> str != null && !str.isEmpty())
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Apr 06 08:51:18 UTC 2023 - 4.9K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/conversion/queryparams/convert_test.go
Int2 int32 `json:"int2,omitempty"` Int3 int16 `json:"int3,omitempty"` Str1 string `json:"str1,omitempty"` Ignored int Ignored2 string } func (obj *bar) GetObjectKind() schema.ObjectKind { return schema.EmptyObjectKind } type foo struct { Str string `json:"str"` Integer int `json:"integer,omitempty"` Slice []string `json:"slice,omitempty"`
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 03 07:01:02 UTC 2018 - 6.2K bytes - Viewed (0) -
src/encoding/gob/codec_test.go
type String string type PtrInterfaceItem struct { Str1 any // basic Str2 any // derived } // We'll send pointers; should receive values. // Also check that we can register T but send *T. func TestInterfacePointer(t *testing.T) { b := new(bytes.Buffer) str1 := "howdy" str2 := String("kiddo") item1 := &PtrInterfaceItem{ &str1, &str2, } // Register the type. Register(str2)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Aug 19 23:03:14 UTC 2023 - 36.9K bytes - Viewed (0) -
test/escape2.go
} func (b *Buffer) baz() { // ERROR "b does not escape$" b.str1 = b.str1[1:2] // ERROR "\(\*Buffer\).baz ignoring self-assignment in b.str1 = b.str1\[1:2\]$" b.str1 = b.str2[1:2] // ERROR "\(\*Buffer\).baz ignoring self-assignment in b.str1 = b.str2\[1:2\]$" } func (b *Buffer) bat() { // ERROR "leaking param content: b$"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 35.1K bytes - Viewed (0) -
test/escape2n.go
} func (b *Buffer) baz() { // ERROR "b does not escape$" b.str1 = b.str1[1:2] // ERROR "\(\*Buffer\).baz ignoring self-assignment in b.str1 = b.str1\[1:2\]$" b.str1 = b.str2[1:2] // ERROR "\(\*Buffer\).baz ignoring self-assignment in b.str1 = b.str2\[1:2\]$" } func (b *Buffer) bat() { // ERROR "leaking param content: b$"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 35.1K bytes - Viewed (0)