Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 63 for 410 (0.01 sec)

  1. internal/dsync/dsync_test.go

    	m := NewDRWMutex(ds, "")
    	var acc0, acc1 uint64
    	b.SetParallelism(4)
    	b.RunParallel(func(pb *testing.PB) {
    		c := make(chan bool)
    		var data [4 << 10]uint64
    		for i := 0; pb.Next(); i++ {
    			if i%4 == 0 {
    				m.Lock(id, source)
    				acc0 -= 100
    				acc1 += 100
    				m.Unlock(context.Background())
    			} else {
    				for i := 0; i < len(data); i += 4 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 19 14:35:19 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. docs/en/docs/img/tutorial/bigger-applications/package.drawio

                    </mxCell>
                    <mxCell id="4" value="" style="rounded=0;whiteSpace=wrap;html=1;fontStyle=1;strokeWidth=4;" parent="1" vertex="1">
                        <mxGeometry x="540" y="430" width="440" height="410" as="geometry"/>
                    </mxCell>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu May 12 00:06:16 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/body-nested-models.md

    Por exemplo, no modelo `Image` nós temos um campo `url`, nós podemos declara-lo como um `HttpUrl` do Pydantic invés de como uma `str`:
    
    ```Python hl_lines="4  10"
    {!../../docs_src/body_nested_models/tutorial005.py!}
    ```
    
    A string será verificada para se tornar uma URL válida e documentada no esquema JSON/1OpenAPI como tal.
    
    ## Atributos como listas de submodelos
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. internal/lsync/lrwmutex_test.go

    	n := 1000
    	if testing.Short() {
    		n = 5
    	}
    	HammerRWMutex(1, 1, n)
    	HammerRWMutex(1, 3, n)
    	HammerRWMutex(1, 10, n)
    	HammerRWMutex(4, 1, n)
    	HammerRWMutex(4, 3, n)
    	HammerRWMutex(4, 10, n)
    	HammerRWMutex(10, 1, n)
    	HammerRWMutex(10, 3, n)
    	HammerRWMutex(10, 10, n)
    	HammerRWMutex(10, 5, n)
    }
    
    // Borrowed from rwmutex_test.go
    func TestDRLocker(t *testing.T) {
    	wl := NewLRWMutex()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 05 04:57:35 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  5. go.mod

    	github.com/nsqio/go-nsq v1.1.0
    	github.com/philhofer/fwd v1.1.3-0.20240916144458-20a13a1f6b7c
    	github.com/pierrec/lz4/v4 v4.1.21
    	github.com/pkg/errors v0.9.1
    	github.com/pkg/sftp v1.13.6
    	github.com/pkg/xattr v0.4.10
    	github.com/prometheus/client_golang v1.20.2
    	github.com/prometheus/client_model v0.6.1
    	github.com/prometheus/common v0.59.1
    	github.com/prometheus/procfs v0.15.1
    	github.com/puzpuzpuz/xsync/v3 v3.4.0
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. docs/en/docs/img/deployment/https/https03.drawio

                        <mxGeometry x="550.9" y="410" width="228.21" height="40" as="geometry"/>
                    </mxCell>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu May 12 00:06:16 UTC 2022
    - 12.3K bytes
    - Viewed (0)
  7. docs/en/docs/img/deployment/https/https06.drawio

                        <mxGeometry x="550.9" y="410" width="228.21" height="40" as="geometry"/>
                    </mxCell>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu May 12 00:06:16 UTC 2022
    - 17.1K bytes
    - Viewed (0)
  8. docs/ko/docs/tutorial/body-nested-models.md

    예를 들어 `Image` 모델 안에 `url` 필드를 `str` 대신 Pydantic의 `HttpUrl`로 선언할 수 있습니다:
    
    ```Python hl_lines="4  10"
    {!../../docs_src/body_nested_models/tutorial005.py!}
    ```
    
    이 문자열이 유효한 URL인지 검사하고 JSON 스키마/OpenAPI로 문서화 됩니다.
    
    ## 서브모델 리스트를 갖는 어트리뷰트
    
    `list`, `set` 등의 서브타입으로 Pydantic 모델을 사용할 수도 있습니다:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. docs/en/docs/img/deployment/https/https.drawio

                        <mxGeometry relative="1" as="geometry">
                            <mxPoint x="410" y="400" as="targetPoint"/>
                            <mxPoint x="585" y="1050" as="sourcePoint"/>
                            <Array as="points"/>
                        </mxGeometry>
                    </mxCell>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu May 12 00:06:16 UTC 2022
    - 25.7K bytes
    - Viewed (1)
  10. src/bytes/buffer_test.go

    	}
    }
    
    func BenchmarkWriteByte(b *testing.B) {
    	const n = 4 << 10
    	b.SetBytes(n)
    	buf := NewBuffer(make([]byte, n))
    	for i := 0; i < b.N; i++ {
    		buf.Reset()
    		for i := 0; i < n; i++ {
    			buf.WriteByte('x')
    		}
    	}
    }
    
    func BenchmarkWriteRune(b *testing.B) {
    	const n = 4 << 10
    	const r = '☺'
    	b.SetBytes(int64(n * utf8.RuneLen(r)))
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Sep 03 20:55:15 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top