Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 5,950 for i$ (0.03 sec)

  1. internal/grid/msg_gen_test.go

    	v := connectReq{}
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		v.MarshalMsg(nil)
    	}
    }
    
    func BenchmarkAppendMsgconnectReq(b *testing.B) {
    	v := connectReq{}
    	bts := make([]byte, 0, v.Msgsize())
    	bts, _ = v.MarshalMsg(bts[0:0])
    	b.SetBytes(int64(len(bts)))
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		bts, _ = v.MarshalMsg(bts[0:0])
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/model/internal/fixture/ModelActionBuilder.java

        }
    
        public <I> ModelAction action(ModelPath modelPath, ModelType<I> inputType, BiAction<? super T, ? super I> action) {
            return action(modelPath, inputType, inputType.toString(), action);
        }
    
        public <I> ModelAction action(String modelPath, ModelType<I> inputType, BiAction<? super T, ? super I> action) {
            return action(modelPath, inputType, modelPath, action);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/apis/testapigroup/v1/generated.pb.go

    	i -= len(m.Hostname)
    	copy(dAtA[i:], m.Hostname)
    	i = encodeVarintGenerated(dAtA, i, uint64(len(m.Hostname)))
    	i--
    	dAtA[i] = 0x1
    	i--
    	dAtA[i] = 0x82
    	i--
    	if m.HostIPC {
    		dAtA[i] = 1
    	} else {
    		dAtA[i] = 0
    	}
    	i--
    	dAtA[i] = 0x68
    	i--
    	if m.HostPID {
    		dAtA[i] = 1
    	} else {
    		dAtA[i] = 0
    	}
    	i--
    	dAtA[i] = 0x60
    	i--
    	if m.HostNetwork {
    		dAtA[i] = 1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 57K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/apis/example/v1/generated.pb.go

    	i -= len(m.Hostname)
    	copy(dAtA[i:], m.Hostname)
    	i = encodeVarintGenerated(dAtA, i, uint64(len(m.Hostname)))
    	i--
    	dAtA[i] = 0x1
    	i--
    	dAtA[i] = 0x82
    	i--
    	if m.HostIPC {
    		dAtA[i] = 1
    	} else {
    		dAtA[i] = 0
    	}
    	i--
    	dAtA[i] = 0x68
    	i--
    	if m.HostPID {
    		dAtA[i] = 1
    	} else {
    		dAtA[i] = 0
    	}
    	i--
    	dAtA[i] = 0x60
    	i--
    	if m.HostNetwork {
    		dAtA[i] = 1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 56.9K bytes
    - Viewed (0)
  5. pkg/util/sets/set_test.go

    	s1 := New[int]()
    	for i := 0; i < 100; i++ {
    		s1.Insert(i)
    	}
    	s2 := New[int]()
    	for i := 0; i < 100; i += 2 {
    		s2.Insert(i)
    	}
    	b.ResetTimer()
    
    	b.Run("Difference", func(b *testing.B) {
    		for i := 0; i < b.N; i++ {
    			s1.Difference(s2)
    		}
    	})
    	b.Run("DifferenceInPlace", func(b *testing.B) {
    		for i := 0; i < b.N; i++ {
    			s1.DifferenceInPlace(s2)
    		}
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 05:26:03 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. src/runtime/internal/sys/intrinsics_test.go

    	"testing"
    )
    
    func TestTrailingZeros64(t *testing.T) {
    	for i := 0; i <= 64; i++ {
    		x := uint64(5) << uint(i)
    		if got := sys.TrailingZeros64(x); got != i {
    			t.Errorf("TrailingZeros64(%d)=%d, want %d", x, got, i)
    		}
    	}
    }
    func TestTrailingZeros32(t *testing.T) {
    	for i := 0; i <= 32; i++ {
    		x := uint32(5) << uint(i)
    		if got := sys.TrailingZeros32(x); got != i {
    			t.Errorf("TrailingZeros32(%d)=%d, want %d", x, got, i)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:34:11 UTC 2023
    - 984 bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ResultAssertion.java

                    // A scalac warning, ignore
                    i++;
                } else if (isDeprecationMessageInHelpDescription(line)) {
                    i++;
                } else if (removeFirstExpectedDeprecationWarning(lines, i)) {
                    i += lastMatchedDeprecationWarning.getNumLines();
                    i = skipStackTrace(lines, i);
                } else if (line.matches(".*\\s+deprecated.*")) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. src/reflect/iter.go

    			v = v.Elem()
    			for i := range v.Len() {
    				if !yield(ValueOf(i), v.Index(i)) {
    					return
    				}
    			}
    		}
    	case Array, Slice:
    		return func(yield func(Value, Value) bool) {
    			for i := range v.Len() {
    				if !yield(ValueOf(i), v.Index(i)) {
    					return
    				}
    			}
    		}
    	case String:
    		return func(yield func(Value, Value) bool) {
    			for i, v := range v.String() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 13:40:11 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. src/crypto/rc4/rc4.go

    func NewCipher(key []byte) (*Cipher, error) {
    	k := len(key)
    	if k < 1 || k > 256 {
    		return nil, KeySizeError(k)
    	}
    	var c Cipher
    	for i := 0; i < 256; i++ {
    		c.s[i] = uint32(i)
    	}
    	var j uint8 = 0
    	for i := 0; i < 256; i++ {
    		j += uint8(c.s[i]) + key[i%k]
    		c.s[i], c.s[j] = c.s[j], c.s[i]
    	}
    	return &c, nil
    }
    
    // Reset zeros the key data and makes the [Cipher] unusable.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. src/image/jpeg/writer.go

    			for x := bounds.Min.X; x < bounds.Max.X; x += 16 {
    				for i := 0; i < 4; i++ {
    					xOff := (i & 1) * 8
    					yOff := (i & 2) * 4
    					p := image.Pt(x+xOff, y+yOff)
    					if rgba != nil {
    						rgbaToYCbCr(rgba, p, &b, &cb[i], &cr[i])
    					} else if ycbcr != nil {
    						yCbCrToYCbCr(ycbcr, p, &b, &cb[i], &cr[i])
    					} else {
    						toYCbCr(m, p, &b, &cb[i], &cr[i])
    					}
    					prevDCY = e.writeBlock(&b, 0, prevDCY)
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 17.1K bytes
    - Viewed (0)
Back to top