- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 799 for things (0.17 sec)
-
src/cmd/api/api_test.go
context := new(build.Context) *context = build.Default context.Dir = filepath.Join(testenv.GOROOT(t), "src") w := NewWalker(context, context.Dir) for _, pkg := range w.stdPackages { if strings.HasPrefix(pkg, "vendor/") || strings.HasPrefix(pkg, "golang.org/x/") { t.Fatalf("stdPackages contains unexpected package %s", pkg) } } } func TestIssue64958(t *testing.T) { if testing.Short() {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri May 02 17:06:27 UTC 2025 - 7.6K bytes - Viewed (0) -
src/cmd/addr2line/main.go
p := stdin.Text() if strings.Contains(p, ":") { // Reverse translate file:line to pc. // This was an extension in the old C version of 'go tool addr2line' // and is probably not used by anyone, but recognize the syntax. // We don't have an implementation. fmt.Fprintf(stdout, "!reverse translation not implemented\n") continue } pc, _ := strconv.ParseUint(strings.TrimPrefix(p, "0x"), 16, 64)
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Jun 21 19:58:04 UTC 2024 - 2.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestStringListGenerator.java
import com.google.common.collect.testing.SampleElements.Strings; import java.util.List; import org.jspecify.annotations.NullMarked; /** * TODO: javadoc. * * @author Kevin Bourrillion */ @GwtCompatible @NullMarked public abstract class TestStringListGenerator implements TestListGenerator<String> { @Override public SampleElements<String> samples() { return new Strings(); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 1.7K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java
* * @author Paul Lindner */ @NullUnmarked public class SplitterBenchmark { // overall size of string @Param({"1", "10", "100", "1000"}) int length; // Number of matching strings @Param({"xxxx", "xxXx", "xXxX", "XXXX"}) String text; private String input; private static final Splitter CHAR_SPLITTER = Splitter.on('X'); private static final Splitter STRING_SPLITTER = Splitter.on("X");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 1.8K bytes - Viewed (0) -
clause/clause_test.go
package clause_test import ( "reflect" "strings" "sync" "testing" "gorm.io/gorm" "gorm.io/gorm/clause" "gorm.io/gorm/schema" "gorm.io/gorm/utils/tests" ) var db, _ = gorm.Open(tests.DummyDialector{}, nil) func checkBuildClauses(t *testing.T, clauses []clause.Interface, result string, vars []interface{}) { var ( buildNames []string buildNamesMap = map[string]bool{}
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Jun 02 02:50:38 UTC 2020 - 1012 bytes - Viewed (0) -
cmd/object-api-utils.go
} return strings.HasPrefix(s, prefix) } // HasSuffix - Suffix matcher string matches suffix in a platform specific way. // For example on windows since its case insensitive we are supposed // to do case insensitive checks. func HasSuffix(s string, suffix string) bool { if runtime.GOOS == globalWindowsOSName { return strings.HasSuffix(strings.ToLower(s), strings.ToLower(suffix)) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Jun 25 15:08:54 UTC 2025 - 37.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/MediaTypeTest.java
+ " and-another-thing=\"\"; normal-thing=foo", MediaType.create("text", "plain") .withParameter("something", "cr@zy") .withParameter("something-else", "crazy with spaces") .withParameter("and-another-thing", "") .withParameter("normal-thing", "foo") .toString()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java
} public void testStringsConsistency() { for (String s : Arrays.asList("", "some", "test", "strings", "to", "try")) { assertEquals(HASH_FN.newHasher().putUnencodedChars(s).hash(), HASH_FN.hashUnencodedChars(s)); } } public void testUtf8() { char[] charsA = new char[128]; char[] charsB = new char[128];
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6.3K bytes - Viewed (0) -
src/cmd/asm/internal/asm/pseudo_test.go
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package asm import ( "strings" "testing" "cmd/asm/internal/lex" ) func tokenize(s string) [][]lex.Token { res := [][]lex.Token{} if len(s) == 0 { return res } for _, o := range strings.Split(s, ",") { res = append(res, lex.Tokenize(o)) }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Aug 29 07:48:38 UTC 2023 - 3.1K bytes - Viewed (0) -
docs/pt/docs/tutorial/body-nested-models.md
Portanto, em nosso exemplo, podemos fazer com que `tags` sejam especificamente uma "lista de strings": {* ../../docs_src/body_nested_models/tutorial002.py hl[14] *} ## Tipo "set" Mas então, quando nós pensamos mais, percebemos que as tags não devem se repetir, elas provavelmente devem ser strings únicas. E que o Python tem um tipo de dados especial para conjuntos de itens únicos, o `set`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 7.2K bytes - Viewed (0)