- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 919 for strides (0.06 sec)
-
internal/ringbuffer/ring_buffer_test.go
} rb.Write([]byte(strings.Repeat("abcd", 15))) if !bytes.Equal(rb.Bytes(nil), []byte("bcd"+strings.Repeat("abcd", 15))) { t.Fatalf("expect 63 ... but got %s. r.w=%d, r.r=%d", rb.Bytes(nil), rb.w, rb.r) } rb.Reset() n, err = rb.Write([]byte(strings.Repeat("abcd", 16))) if err != nil { t.Fatalf("write failed: %v", err) } if n != 64 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 15 00:11:04 UTC 2024 - 26.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestStringQueueGenerator.java
import com.google.common.collect.testing.SampleElements.Strings; import java.util.List; import java.util.Queue; /** * Create queue of strings for tests. * * @author Jared Levy */ @GwtCompatible @ElementTypesAreNonnullByDefault public abstract class TestStringQueueGenerator implements TestQueueGenerator<String> { @Override public SampleElements<String> samples() { return new Strings(); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 1.6K bytes - Viewed (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeTestBase.kt
} companion object { /** * Reads all stories in the folders provided, asserts if no story found. */ @JvmStatic protected fun createStories(interopTests: Array<String>): List<Any> { if (interopTests.isEmpty()) return listOf<Any>(Story.MISSING) val result = mutableListOf<Any>() for (interopTestName in interopTests) { val stories = HpackJsonUtil.readStories(interopTestName)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.2K bytes - Viewed (0) -
cni/pkg/util/executil.go
err := externalCommand.Run() if err != nil || len(stderr.Bytes()) != 0 { return stderr.String(), err } return strings.TrimSuffix(stdout.String(), "\n"), err } func Execute(cmd string, args ...string) error { log.Debugf("Running command: %s %s", cmd, strings.Join(args, " ")) externalCommand := exec.Command(cmd, args...) stdout := &bytes.Buffer{} stderr := &bytes.Buffer{} externalCommand.Stdout = stdout
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 1.8K bytes - Viewed (0) -
ci/official/utilities/get_versions.sh
# Note: in awk, "print $N" prints the Nth "field", where fields are strings separated # by whitespace. The flag "-F<x>" changes the behavior such that fields are now strings # separated by the character <x>. Therefore, -F\' (escaped single quote) means that field # $2 in <Tensor'flow'> is <flow>. This is useful for reading string literals like below.
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Jan 10 19:39:41 UTC 2024 - 2.3K bytes - Viewed (0) -
cmd/utils.go
// of a 'path'. basePath is trimmed from the front of the 'path'. func path2BucketObjectWithBasePath(basePath, path string) (bucket, prefix string) { path = strings.TrimPrefix(path, basePath) path = strings.TrimPrefix(path, SlashSeparator) m := strings.Index(path, SlashSeparator) if m < 0 { return path, "" } return path[:m], path[m+len(SlashSeparator):] }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 13 22:22:04 UTC 2024 - 31.9K bytes - Viewed (0) -
docs/debugging/pprofgoparser/main.go
} } for _, arg := range flag.Args() { if !strings.HasSuffix(arg, "-goroutines-before,debug=2.txt") { continue } r, err := parseGoroutineType2(arg) if err != nil { log.Fatal(err) } profFName := path.Base(arg) fmt.Println(strings.Repeat("=", len(profFName))) fmt.Println(profFName) fmt.Println(strings.Repeat("=", len(profFName))) fmt.Println("")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Mar 06 11:43:16 UTC 2024 - 3.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Interpolator.java
* It allows for the replacement of placeholders (e.g., ${variable}) with their corresponding values. * * @since 4.0.0 */ @Experimental public interface Interpolator extends Service { /** * Interpolates the values in the given map using the provided callback function. * This method defaults to setting empty strings for unresolved placeholders. *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Oct 17 09:25:53 UTC 2024 - 6.9K bytes - Viewed (0) -
cni/pkg/plugin/sidecar_redirect.go
func validateCIDRList(cidrs string) error { if len(cidrs) > 0 { for _, cidr := range strings.Split(cidrs, ",") { if _, err := netip.ParsePrefix(cidr); err != nil { return fmt.Errorf("failed parsing cidr '%s': %v", cidr, err) } } } return nil } func splitPorts(portsString string) []string { return strings.Split(portsString, ",") } func dedupPorts(ports []string) []string {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 10.6K bytes - Viewed (0) -
src/cmd/buildid/buildid.go
f.Close() if err != nil { log.Fatal(err) } // <= go 1.7 doesn't embed the contentID or actionID, so no slash is present if !strings.Contains(id, "/") { log.Fatalf("%s: build ID is a legacy format...binary too old for this tool", file) } newID := id[:strings.LastIndex(id, "/")] + "/" + buildid.HashToString(hash) if len(newID) != len(id) { log.Fatalf("%s: build ID length mismatch %q vs %q", file, id, newID) }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Jun 21 19:58:04 UTC 2024 - 1.7K bytes - Viewed (0)