Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for RB (0.02 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. 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)
  3. 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)
  4. 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)
  5. src/internal/trace/mud.go

    	}
    	if l == r {
    		h[lb] += area
    	} else {
    		rbFloat, rf := math.Modf(r * mudDegree)
    		rb := int(rbFloat)
    		if rb >= mudDegree {
    			rb, rf = mudDegree-1, 1
    		}
    		if lb == rb {
    			h[lb] += area
    		} else {
    			perBucket := area / (r - l) / mudDegree
    			h[lb] += perBucket * (1 - lf)
    			h[rb] += perBucket * rf
    			for i := lb + 1; i < rb; i++ {
    				h[i] += perBucket
    			}
    		}
    	}
    
    	// Update mass tracking.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. cmd/bitrot-streaming.go

    	h := algo.New()
    	buf := globalBytePoolCap.Load().Get()
    	rb := ringbuffer.NewBuffer(buf[:cap(buf)]).SetBlocking(true)
    
    	bw := &streamingBitrotWriter{
    		iow:          ioutil.NewDeadlineWriter(rb.WriteCloser(), globalDriveConfig.GetMaxTimeout()),
    		closeWithErr: rb.CloseWithError,
    		h:            h,
    		shardSize:    shardSize,
    		canClose:     &sync.WaitGroup{},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. docs/site-replication/run-multi-site-oidc.sh

    # create a new bucket on minio2. This should replicate to minio1 after it comes online.
    ./mc mb minio2/newbucket2
    # delete bucket2 on minio2. This should replicate to minio1 after it comes online.
    ./mc rb minio2/bucket2
    
    # Restart minio1 instance
    minio server --address ":9001" --console-address ":10000" /tmp/minio1/{1...4} >/tmp/minio1_1.log 2>&1 &
    sleep 200
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. common/Makefile.common.mk

    lint-markdown:
    	@${FINDFILES} -name '*.md' -not -path './manifests/addons/dashboards/*' -print0 | ${XARGS} mdl --ignore-front-matter --style common/config/mdl.rb
    
    lint-links:
    	@${FINDFILES} -name '*.md' -print0 | ${XARGS} awesome_bot --skip-save-results --allow_ssl --allow-timeout --allow-dupe --allow-redirect --white-list ${MARKDOWN_LINT_ALLOWLIST}
    
    lint-sass:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 14:37:27 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. src/crypto/tls/testdata/Client-TLSv13-ALPN

    00000280  df af cd 15 e7 30 2d 28  a1 24 80 ab 3e 71 83 e3  |.....0-(.$..>q..|
    00000290  5c 9a b7 6b f2 d0 1e 55  2c 1c ac 5d 21 64 a2 d2  |\..k...U,..]!d..|
    000002a0  a9 dd a8 49 7c 22 26 8e  ca 75 a3 ef 52 42 d0 38  |...I|"&..u..RB.8|
    000002b0  f4 02 60 af ee 33 30 46  90 a5 b3 7a 66 c8 ab 10  |..`..30F...zf...|
    000002c0  3f 76 d1 76 aa 5d da c4  29 ca d7 22 c4 44 b4 e8  |?v.v.]..)..".D..|
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:38 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top