- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 708 for too (0.04 sec)
-
internal/auth/credentials.go
// // GenerateAccessKey returns an error if length is too small for a valid // access key. func GenerateAccessKey(length int, random io.Reader) (string, error) { if random == nil { random = rand.Reader } if length <= 0 { length = accessKeyMaxLen } if length < accessKeyMinLen { return "", errors.New("auth: access key length is too short") } key := make([]byte, length)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue May 28 17:14:16 UTC 2024 - 12K bytes - Viewed (0) -
src/hash/maphash/smhasher_test.go
h.addB(b[:i]) } h.check(t) } // Strings with up to two nonzero bytes all have distinct hashes. func TestSmhasherTwoNonzero(t *testing.T) { if runtime.GOARCH == "wasm" { t.Skip("Too slow on wasm") } if testing.Short() { t.Skip("Skipping in short mode") } testenv.ParallelOn64Bit(t) h := newHashSet() for n := 2; n <= 16; n++ { twoNonZero(h, n) } h.check(t) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 16:41:38 UTC 2024 - 11K bytes - Viewed (0) -
pkg/proxy/util/endpoints_test.go
}{ {"1.2.3.4", "1.2.3.4", noError}, {"1.2.3.4:9999", "1.2.3.4", noError}, {"2001:db8::1:1", "2001:db8::1:1", noError}, {"[2001:db8::2:2]:9999", "2001:db8::2:2", noError}, {"1.2.3.4::9999", "", "too many colons"}, {"1.2.3.4:[0]", "", "unexpected '[' in address"}, {"1.2.3:8080", "", "invalid ip part"}, } for _, tc := range testCases { ip := IPPart(tc.endpoint) if tc.expectedError == noError {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 20 11:57:43 UTC 2024 - 1.4K bytes - Viewed (0) -
src/internal/trace/testdata/testprog/cgo-callback.go
go_callback2(); } */ import "C" import ( "log" "os" "runtime" "runtime/trace" ) //export go_callback func go_callback() { // Do another call into C, just to test that path too. C.bar() } //export go_callback2 func go_callback2() { runtime.GC() } func main() { // Start tracing. if err := trace.Start(os.Stdout); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 1.3K bytes - Viewed (0) -
src/runtime/cgo/gcc_stack_unix.c
#define _GNU_SOURCE #endif #include <pthread.h> #include "libcgo.h" void x_cgo_getstackbound(uintptr bounds[2]) { pthread_attr_t attr; void *addr; size_t size; // Needed before pthread_getattr_np, too, since before glibc 2.32 // it did not call pthread_attr_init in all cases (see #65625). pthread_attr_init(&attr); #if defined(__GLIBC__) || (defined(__sun) && !defined(__illumos__))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 03:44:11 UTC 2024 - 1.5K bytes - Viewed (0) -
docs/en/docs/help-fastapi.md
Would you like to help FastAPI, other users, and the author? Or would you like to get help with **FastAPI**? There are very simple ways to help (several involve just one or two clicks). And there are several ways to get help too. ## Subscribe to the newsletter You can subscribe to the (infrequent) [**FastAPI and friends** newsletter](newsletter.md){.internal-link target=_blank} to stay updated about: * News about FastAPI and friends 🚀
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 13.7K bytes - Viewed (0) -
src/os/path_windows.go
// has the extended-length prefix, fixLongPath returns path unmodified. // If the path is relative and joining it with the current working // directory results in a path that is too long, fixLongPath returns // the absolute path with the extended-length prefix. // // See https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file#maximum-path-length-limitation func fixLongPath(path string) string {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:44:48 UTC 2024 - 4.7K bytes - Viewed (0) -
src/crypto/rsa/rsa.go
} incCounter(&counter) } } // ErrMessageTooLong is returned when attempting to encrypt or sign a message // which is too large for the size of the key. When using [SignPSS], this can also // be returned if the size of the salt is too large. var ErrMessageTooLong = errors.New("crypto/rsa: message too long for RSA key size") func encrypt(pub *PublicKey, plaintext []byte) ([]byte, error) { boring.Unreachable()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:11:18 UTC 2024 - 23.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/counter/parse.go
Count map[string]uint64 } func Parse(filename string, data []byte) (*File, error) { if !bytes.HasPrefix(data, []byte(hdrPrefix)) || len(data) < pageSize { if len(data) < pageSize { return nil, fmt.Errorf("%s: file too short (%d<%d)", filename, len(data), pageSize) } return nil, fmt.Errorf("%s: wrong hdr (not %q)", filename, hdrPrefix) } corrupt := func() (*File, error) { // TODO(rfindley): return a useful error message.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 14:38:01 UTC 2024 - 1.8K bytes - Viewed (0) -
src/net/http/main_test.go
} // Verify the other tests didn't leave any goroutines running. func goroutineLeaked() bool { if testing.Short() || runningBenchmarks() { // Don't worry about goroutine leaks in -short mode or in // benchmark mode. Too distracting when there are false positives. return false } var stackCount map[string]int for i := 0; i < 5; i++ { n := 0 stackCount = make(map[string]int) gs := interestingGoroutines()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 22:49:46 UTC 2024 - 4.9K bytes - Viewed (0)