Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 129 for Sr (0.05 sec)

  1. src/internal/xcoff/ar.go

    		if err := binary.Read(sr, binary.BigEndian, &fmag); err != nil {
    			return nil, err
    		}
    		if string(fmag[:]) != AIAFMAG {
    			return nil, fmt.Errorf("AIAFMAG not found after member header")
    		}
    
    		fileoff += 2 // Add the two bytes of AIAFMAG
    		member.sr = io.NewSectionReader(sr, fileoff, size)
    
    		if off == lastoff {
    			break
    		}
    		off, err = parseDecimalBytes(mhdr.Arnxtmem[:])
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:32:51 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. docs/debugging/inspect/decrypt-v2.go

    		return fmt.Errorf("decoding key returned: %w", err)
    	}
    
    	sr, err := estream.NewReader(r)
    	if err != nil {
    		return err
    	}
    
    	sr.SetPrivateKey(privKey)
    	sr.ReturnNonDecryptable(true)
    
    	// Debug corrupted streams.
    	if false {
    		sr.SkipEncrypted(true)
    		return sr.DebugStream(os.Stdout)
    	}
    	extracted := false
    	for {
    		stream, err := sr.NextStream()
    		if err != nil {
    			if err == io.EOF {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 11 21:22:47 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. test/codegen/arithmetic.go

    	// ppc64x: `SUBC\tR[0-9]+,\s[$]40,\sR`
    	b := 40 - a
    	return b
    }
    
    func SubFromConstNeg(a int) int {
    	// ppc64x: `ADD\t[$]40,\sR[0-9]+,\sR`
    	c := 40 - (-a)
    	return c
    }
    
    func SubSubFromConst(a int) int {
    	// ppc64x: `ADD\t[$]20,\sR[0-9]+,\sR`
    	c := 40 - (20 - a)
    	return c
    }
    
    func AddSubFromConst(a int) int {
    	// ppc64x: `SUBC\tR[0-9]+,\s[$]60,\sR`
    	c := 40 + (20 - a)
    	return c
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:28:00 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  4. src/internal/types/testdata/fixedbugs/issue50779a.go

    // license that can be found in the LICENSE file.
    
    package p
    
    type AC interface {
    	C
    }
    
    type ST []int
    
    type R[S any, P any] struct{}
    
    type SR = R[SS, ST]
    
    type SS interface {
    	NSR(any) *SR
    }
    
    type C interface {
    	NSR(any) *SR
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 13 20:18:45 UTC 2023
    - 356 bytes
    - Viewed (0)
  5. cmd/site-replication-metrics.go

    	}
    	go s.trackEWMA()
    	return &s
    }
    
    func (sr *SRStats) trackEWMA() {
    	for {
    		select {
    		case <-sr.movingAvgTicker.C:
    			sr.updateMovingAvg()
    		case <-GlobalContext.Done():
    			return
    		}
    	}
    }
    
    func (sr *SRStats) updateMovingAvg() {
    	sr.lock.Lock()
    	defer sr.lock.Unlock()
    	for _, s := range sr.M {
    		s.XferRateLrg.measure.updateExponentialMovingAverage(time.Now())
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. pilot/pkg/xds/ecds.go

    		return nil
    	}
    
    	results := make(map[string][]byte)
    	for _, sr := range secretResources {
    		cred, err := secretController.GetDockerCredential(sr.Name, sr.Namespace)
    		if err != nil {
    			log.Warnf("Failed to fetch docker credential %s: %v", sr.ResourceName, err)
    		} else {
    			results[sr.ResourceName] = cred
    		}
    	}
    	return results
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 16 18:25:42 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. src/image/draw/draw.go

    	case *image.RGBA:
    		if op == Over {
    			if mask == nil {
    				switch src0 := src.(type) {
    				case *image.Uniform:
    					sr, sg, sb, sa := src0.RGBA()
    					if sa == 0xffff {
    						drawFillSrc(dst0, r, sr, sg, sb, sa)
    					} else {
    						drawFillOver(dst0, r, sr, sg, sb, sa)
    					}
    					return
    				case *image.RGBA:
    					drawCopyOver(dst0, r, src0, sp)
    					return
    				case *image.NRGBA:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 17:08:05 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/ConcurrencyTest.java

        @Test
        public void testExclusiveLock () throws InterruptedException, MalformedURLException, UnknownHostException {
            String fname = makeRandomName();
            try ( SmbFile sr = getDefaultShareRoot();
                  SmbResource exclFile = new SmbFile(sr, fname) ) {
                ExclusiveLockFirst f = new ExclusiveLockFirst(exclFile);
                ExclusiveLockSecond s = new ExclusiveLockSecond(f, exclFile);
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Nov 14 17:40:50 UTC 2021
    - 17.6K bytes
    - Viewed (0)
  9. src/strings/strings.go

    	for ; i < len(s) && i < len(t); i++ {
    		sr := s[i]
    		tr := t[i]
    		if sr|tr >= utf8.RuneSelf {
    			goto hasUnicode
    		}
    
    		// Easy case.
    		if tr == sr {
    			continue
    		}
    
    		// Make sr < tr to simplify what follows.
    		if tr < sr {
    			tr, sr = sr, tr
    		}
    		// ASCII only, sr/tr must be upper/lower case
    		if 'A' <= sr && sr <= 'Z' && tr == sr+'a'-'A' {
    			continue
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:48:16 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/format/formatting.go

    func Fmt(val interface{}) Stringer {
    	return Stringer{val}
    }
    
    // String formats to a string in full detail
    func (sr Stringer) String() string {
    	if sr.val == nil {
    		return "nil"
    	}
    	switch typed := sr.val.(type) {
    	case *flowcontrol.FlowSchema,
    		flowcontrol.FlowSchema,
    		flowcontrol.FlowSchemaSpec,
    		flowcontrol.FlowDistinguisherMethod,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:35 UTC 2023
    - 7.7K bytes
    - Viewed (0)
Back to top