Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 244 for Rs (0.02 sec)

  1. src/container/ring/example_test.go

    		r.Value = 0
    		r = r.Next()
    	}
    
    	// Initialize s with 1s
    	for j := 0; j < ls; j++ {
    		s.Value = 1
    		s = s.Next()
    	}
    
    	// Link ring r and ring s
    	rs := r.Link(s)
    
    	// Iterate through the combined ring and print its contents
    	rs.Do(func(p any) {
    		fmt.Println(p.(int))
    	})
    
    	// Output:
    	// 0
    	// 0
    	// 1
    	// 1
    }
    
    func ExampleRing_Unlink() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  2. test/fixedbugs/issue33013.dir/b.go

    // license that can be found in the LICENSE file.
    
    package b
    
    import "./a"
    
    type Service uint64
    type ServiceDesc struct {
    	X int
    	uc
    }
    
    type uc interface {
    	f() a.G
    }
    
    var q int
    
    func RS(svcd *ServiceDesc, server interface{}, qq uint8) *Service {
    	defer func() { q += int(qq) }()
    	return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 403 bytes
    - Viewed (0)
  3. docs/debugging/s3-verify/go.mod

    	github.com/google/uuid v1.6.0 // indirect
    	github.com/klauspost/compress v1.17.8 // indirect
    	github.com/klauspost/cpuid/v2 v2.2.7 // indirect
    	github.com/minio/md5-simd v1.1.2 // indirect
    	github.com/rs/xid v1.5.0 // indirect
    	github.com/stretchr/testify v1.7.0 // indirect
    	golang.org/x/crypto v0.23.0 // indirect
    	golang.org/x/net v0.25.0 // indirect
    	golang.org/x/sys v0.20.0 // indirect
    	golang.org/x/text v0.15.0 // indirect
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 13 17:59:52 UTC 2024
    - 688 bytes
    - Viewed (0)
  4. cmd/veeam-sos-api.go

    		buf = encodeResponse(&ci)
    	default:
    		return nil, errFileNotFound
    	}
    
    	etag := getMD5Hash(buf)
    	r := bytes.NewReader(buf)
    
    	off, length := int64(0), r.Size()
    	if rs != nil {
    		off, length, err = rs.GetOffsetLength(r.Size())
    		if err != nil {
    			return nil, err
    		}
    	}
    	r.Seek(off, io.SeekStart)
    
    	return NewGetObjectReaderFromReader(io.LimitReader(r, length), ObjectInfo{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 20 18:54:52 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. test/string_lit.go

    	assert(s, "\xef\xbf\xbd", "surrogate rune max constant")
    	s = string(-1)
    	assert(s, "\xef\xbf\xbd", "negative rune")
    
    	// the large rune tests yet again, with a slice.
    	rs := []rune{0x10ffff, 0x10ffff + 1, 0xD800, 0xDFFF, -1}
    	s = string(rs)
    	assert(s, "\xf4\x8f\xbf\xbf\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd", "large rune slice")
    
    	assert(string(gr1), gx1, "global ->[]rune")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 13 01:17:02 UTC 2013
    - 3.6K bytes
    - Viewed (0)
  6. schema/utils.go

    	resultsMap := map[string][]reflect.Value{}
    	results := [][]interface{}{}
    
    	for _, v := range values {
    		rm, rs := GetIdentityFieldValuesMap(ctx, reflect.Indirect(reflect.ValueOf(v)), fields)
    		for k, v := range rm {
    			resultsMap[k] = append(resultsMap[k], v...)
    		}
    		results = append(results, rs...)
    	}
    	return resultsMap, results
    }
    
    // ToQueryValues to query values
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sat Aug 19 13:35:14 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  7. src/cmd/link/internal/loadpe/ldpe.go

    		relocs := ldr.Relocs(s)
    		for i := 0; i < relocs.Count(); i++ {
    			r := relocs.At(i)
    			rs := r.Sym()
    			if ldr.SymType(rs) == sym.SDYNIMPORT {
    				// Tag the symbol for later stub generation.
    				ldr.SetPlt(rs, CreateImportStubPltToken)
    				continue
    			}
    			isym, err := LookupBaseFromImport(rs, ldr, arch)
    			if err != nil {
    				return err
    			}
    			if isym == 0 {
    				continue
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 20:26:46 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  8. src/cmd/link/internal/mips64/asm.go

    			objabi.R_ADDRMIPSTLS,
    			objabi.R_CALLMIPS,
    			objabi.R_JMPMIPS:
    			return val, 1, true
    		}
    	}
    
    	const isOk = true
    	const noExtReloc = 0
    	rs := r.Sym()
    	switch r.Type() {
    	case objabi.R_ADDRMIPS,
    		objabi.R_ADDRMIPSU:
    		t := ldr.SymValue(rs) + r.Add()
    		if r.Type() == objabi.R_ADDRMIPS {
    			return int64(val&0xffff0000 | t&0xffff), noExtReloc, isOk
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 11K bytes
    - Viewed (0)
  9. pkg/kubelet/status/state/state_checkpoint.go

    	sc.cache.SetPodResizeStatus(podUID, resizeStatus)
    	return sc.storeState()
    }
    
    // SetResizeStatus sets the resize decisions
    func (sc *stateCheckpoint) SetResizeStatus(rs PodResizeStatus) error {
    	sc.mux.Lock()
    	defer sc.mux.Unlock()
    	sc.cache.SetResizeStatus(rs)
    	return sc.storeState()
    }
    
    // Delete deletes allocations for specified pod
    func (sc *stateCheckpoint) Delete(podUID string, containerName string) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 13 00:16:44 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  10. common/scripts/fix_copyright_banner.sh

    set -e
    
    WD=$(dirname "$0")
    WD=$(cd "$WD"; pwd)
    
    for fn in "$@"; do
      if ! grep -L -q -e "Apache License, Version 2" -e "Copyright" "${fn}"; then
        if [[ "${fn}" == *.go || "${fn}" == *.rs ]]; then
          newfile=$(cat "${WD}/copyright-banner-go.txt" "${fn}")
          echo "${newfile}" > "${fn}"
          echo "Fixing license: ${fn}"
        else
          echo "Cannot fix license: ${fn}. Unknown file type"
        fi
      fi
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 17 04:35:57 UTC 2022
    - 1.3K bytes
    - Viewed (0)
Back to top