Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for RB (0.06 sec)

  1. samples/bookinfo/src/details/details.rb

    John Howard <******@****.***> 1718030154 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 14:35:54 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. src/crypto/md5/md5block_arm.s

    	ROUND1(Rd, Ra, Rb, Rc,  1, 12, Rc1)
    	ROUND1(Rc, Rd, Ra, Rb,  2, 17, Rc2)
    	ROUND1(Rb, Rc, Rd, Ra,  3, 22, Rc3)
    
    	MOVM.IA.W (Rtable), [Rc0,Rc1,Rc2,Rc3]
    	ROUND1(Ra, Rb, Rc, Rd,  4,	7, Rc0)
    	ROUND1(Rd, Ra, Rb, Rc,  5, 12, Rc1)
    	ROUND1(Rc, Rd, Ra, Rb,  6, 17, Rc2)
    	ROUND1(Rb, Rc, Rd, Ra,  7, 22, Rc3)
    
    	MOVM.IA.W (Rtable), [Rc0,Rc1,Rc2,Rc3]
    	ROUND1(Ra, Rb, Rc, Rd,  8,	7, Rc0)
    	ROUND1(Rd, Ra, Rb, Rc,  9, 12, Rc1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  3. tools/istio-iptables/pkg/builder/iptables_builder_impl.go

    	rb.AppendRuleV6(command, chain, table, params...)
    	return rb
    }
    
    func (rb *IptablesRuleBuilder) AppendRuleV6(command log.Command, chain string, table string, params ...string) *IptablesRuleBuilder {
    	if !rb.cfg.EnableIPv6 {
    		return rb
    	}
    	return rb.appendInternal(&rb.rules.rulesv6, command, chain, table, params...)
    }
    
    func (rb *IptablesRuleBuilder) buildRules(rules []*Rule) [][]string {
    	output := make([][]string, 0)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 14:29:54 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. src/crypto/sha1/sha1block_arm.s

    	ROUND1x(Re, Ra, Rb, Rc, Rd)
    	ROUND1x(Rd, Re, Ra, Rb, Rc)
    	ROUND1x(Rc, Rd, Re, Ra, Rb)
    	ROUND1x(Rb, Rc, Rd, Re, Ra)
    
    	MOVW	$0x6ED9EBA1, Rconst
    	MOVW	$4, Rctr
    loop2:	ROUND2(Ra, Rb, Rc, Rd, Re)
    	ROUND2(Re, Ra, Rb, Rc, Rd)
    	ROUND2(Rd, Re, Ra, Rb, Rc)
    	ROUND2(Rc, Rd, Re, Ra, Rb)
    	ROUND2(Rb, Rc, Rd, Re, Ra)
    	SUB.S	$1, Rctr
    	BNE	loop2
    
    	MOVW	$0x8F1BBCDC, Rconst
    	MOVW	$4, Rctr
    loop3:	ROUND3(Ra, Rb, Rc, Rd, Re)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. src/internal/syscall/windows/reparse_windows.go

    	Flags      uint32
    	PathBuffer [1]uint16
    }
    
    // Path returns path stored in rb.
    func (rb *SymbolicLinkReparseBuffer) Path() string {
    	n1 := rb.SubstituteNameOffset / 2
    	n2 := (rb.SubstituteNameOffset + rb.SubstituteNameLength) / 2
    	return syscall.UTF16ToString((*[0xffff]uint16)(unsafe.Pointer(&rb.PathBuffer[0]))[n1:n2:n2])
    }
    
    type MountPointReparseBuffer struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 12 07:15:06 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. internal/ringbuffer/ring_buffer_test.go

    	}
    	if rb.Length() != 8 {
    		t.Fatalf("expect len 16 bytes but got %d. r.w=%d, r.r=%d", rb.Length(), rb.w, rb.r)
    	}
    	if rb.Free() != 56 {
    		t.Fatalf("expect free 48 bytes but got %d. r.w=%d, r.r=%d", rb.Free(), rb.w, rb.r)
    	}
    	buf := make([]byte, 5)
    	rb.Read(buf)
    	if rb.Length() != 3 {
    		t.Fatalf("expect len 3 bytes but got %d. r.w=%d, r.r=%d", rb.Length(), rb.w, rb.r)
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  7. internal/ringbuffer/README.md

    # Usage
    
    ```go
    package main
    
    import (
    	"fmt"
    
    	"github.com/smallnest/ringbuffer"
    )
    
    func main() {
    	rb := ringbuffer.New(1024)
    
    	// write
    	rb.Write([]byte("abcd"))
    	fmt.Println(rb.Length())
    	fmt.Println(rb.Free())
    
    	// read
    	buf := make([]byte, 4)
    	rb.Read(buf)
    	fmt.Println(string(buf))
    }
    ```
    
    It is possible to use an existing buffer with by replacing `New` with `NewBuffer`.
    
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. internal/ringbuffer/ring_buffer_benchmark_test.go

    	go func() {
    		for {
    			rb.Read(buf)
    		}
    	}()
    
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		rb.Write(data)
    	}
    }
    
    func BenchmarkRingBuffer_AsyncReadBlocking(b *testing.B) {
    	const sz = 512
    	const buffers = 10
    	rb := New(sz * buffers)
    	rb.SetBlocking(true)
    	data := []byte(strings.Repeat("a", sz))
    	buf := make([]byte, sz)
    
    	go func() {
    		for {
    			rb.Read(buf)
    		}
    	}()
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_request_files/test_tutorial002_an.py

        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
        path2 = tmp_path / "test2.txt"
        path2.write_bytes(b"<file content2>")
    
        client = TestClient(app)
        with path.open("rb") as file, path2.open("rb") as file2:
            response = client.post(
                "/files/",
                files=(
                    ("files", ("test.txt", file)),
                    ("files", ("test2.txt", file2)),
                ),
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_request_files/test_tutorial002_an_py39.py

        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
        path2 = tmp_path / "test2.txt"
        path2.write_bytes(b"<file content2>")
    
        client = TestClient(app)
        with path.open("rb") as file, path2.open("rb") as file2:
            response = client.post(
                "/files/",
                files=(
                    ("files", ("test.txt", file)),
                    ("files", ("test2.txt", file2)),
                ),
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top