Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 370 for biglen (0.51 sec)

  1. docs/zh/docs/tutorial/dependencies/global-dependencies.md

    ```
    
    [*路径装饰器依赖项*](dependencies-in-path-operation-decorators.md){.internal-link target=_blank} 一章的思路均适用于全局依赖项, 在本例中,这些依赖项可以用于应用中的所有*路径操作*。
    
    ## 为一组路径操作定义依赖项
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 12 00:06:16 UTC 2022
    - 958 bytes
    - Viewed (0)
  2. internal/grid/grid.go

    	// maxBufferSize is the maximum buffer size.
    	// Buffers larger than this is not reused.
    	maxBufferSize = 96 << 10
    
    	// This is the assumed size of bigger buffers and allocation size.
    	biggerBufMin = 32 << 10
    
    	// This is the maximum size of bigger buffers.
    	biggerBufMax = maxBufferSize
    
    	// If there is a queue, merge up to this many messages.
    	maxMergeMessages = 30
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Apr 02 15:56:18 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. docs/ja/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    つまり、すでにどこかで使っている通常の依存関係(値を返すもの)を再利用することができ、値は使われなくても依存関係は実行されます:
    
    ```Python hl_lines="9 14"
    {!../../../docs_src/dependencies/tutorial006.py!}
    ```
    
    ## *path operations*のグループに対する依存関係
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Jan 15 16:44:28 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. src/crypto/x509/boring_test.go

    	} else {
    		pcert = tmpl
    		pkey = key
    	}
    
    	var pub interface{}
    	var desc string
    	switch k := key.(type) {
    	case *rsa.PrivateKey:
    		pub = &k.PublicKey
    		desc = fmt.Sprintf("RSA-%d", k.N.BitLen())
    	case *ecdsa.PrivateKey:
    		pub = &k.PublicKey
    		desc = "ECDSA-" + k.Curve.Params().Name
    	default:
    		t.Fatalf("invalid key %T", key)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 17 17:38:47 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  5. test/asmhdr.dir/main.go

    	// For bigInt, we use a value that's too big for an int64, but still
    	// fits in uint64. go/constant uses a different representation for
    	// values larger than int64, but the cmd/asm parser can't parse
    	// anything bigger than a uint64.
    	bigInt = 0xffffffffffffffff
    
    	stringVal = "test"
    
    	longStringVal = "this_is_a_string_constant_longer_than_seventy_characters_which_used_to_fail_see_issue_50253"
    )
    
    var (
    	smallIntAsm   int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 10 21:27:19 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  6. src/runtime/syscall_windows_test.go

    		t.Skipf("skipping test: GOARCH=%s", runtime.GOARCH)
    	}
    
    	for arglen := 0; arglen <= runtime.MaxArgs; arglen++ {
    		arglen := arglen
    		t.Run(fmt.Sprintf("arg-%d", arglen), func(t *testing.T) {
    			t.Parallel()
    			args := make([]string, arglen)
    			rets := make([]string, arglen+1)
    			params := make([]uintptr, arglen)
    			for i := range args {
    				args[i] = fmt.Sprintf("int a%d", i)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 31 16:31:35 UTC 2023
    - 32.5K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/async-tests.md

    ## Example
    
    For a simple example, let's consider a file structure similar to the one described in [Bigger Applications](../tutorial/bigger-applications.md){.internal-link target=_blank} and [Testing](../tutorial/testing.md){.internal-link target=_blank}:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Jan 13 12:07:15 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. src/io/example_test.go

    	fmt.Printf("%s\n", buf)
    
    	// buffer smaller than minimal read size.
    	shortBuf := make([]byte, 3)
    	if _, err := io.ReadAtLeast(r, shortBuf, 4); err != nil {
    		fmt.Println("error:", err)
    	}
    
    	// minimal read size bigger than io.Reader stream
    	longBuf := make([]byte, 64)
    	if _, err := io.ReadAtLeast(r, longBuf, 64); err != nil {
    		fmt.Println("error:", err)
    	}
    
    	// Output:
    	// some io.Reader
    	// error: short buffer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 15:49:32 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  9. src/crypto/rsa/rsa_test.go

    func TestKeyGeneration(t *testing.T) {
    	for _, size := range []int{128, 1024, 2048, 3072} {
    		priv, err := GenerateKey(rand.Reader, size)
    		if err != nil {
    			t.Errorf("GenerateKey(%d): %v", size, err)
    		}
    		if bits := priv.N.BitLen(); bits != size {
    			t.Errorf("key too short (%d vs %d)", bits, size)
    		}
    		testKeyBasics(t, priv)
    		if testing.Short() {
    			break
    		}
    	}
    }
    
    func Test3PrimeKeyGeneration(t *testing.T) {
    	size := 768
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 12 00:55:41 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  10. src/crypto/tls/key_agreement.go

    		if err != nil {
    			return err
    		}
    	}
    	if (sigType == signaturePKCS1v15 || sigType == signatureRSAPSS) != ka.isRSA {
    		return errServerKeyExchange
    	}
    
    	sigLen := int(sig[0])<<8 | int(sig[1])
    	if sigLen+2 != len(sig) {
    		return errServerKeyExchange
    	}
    	sig = sig[2:]
    
    	signed := hashForServerKeyExchange(sigType, sigHash, ka.version, clientHello.random, serverHello.random, serverECDHEParams)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 14:56:25 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top