Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 49 for 012345678 (0.21 sec)

  1. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go

    		}
    	}
    
    	// extract the numerator
    Num:
    	for i := pos; ; i++ {
    		if i >= end {
    			num = str[pos:end]
    			value = str[0:end]
    			return
    		}
    		switch str[i] {
    		case '0', '1', '2', '3', '4', '5', '6', '7', '8', '9':
    		default:
    			num = str[pos:i]
    			pos = i
    			break Num
    		}
    	}
    
    	// if we stripped all numerator positions, always return 0
    	if len(num) == 0 {
    		num = "0"
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  2. src/slices/example_test.go

    	fmt.Println(grow)
    	fmt.Println(len(grow))
    	fmt.Println(cap(grow))
    	// Output:
    	// 4
    	// [0 42 -10 8]
    	// 4
    	// 8
    }
    
    func ExampleClip() {
    	a := [...]int{0, 1, 2, 3, 4, 5, 6, 7, 8, 9}
    	s := a[:4:10]
    	clip := slices.Clip(s)
    	fmt.Println(cap(s))
    	fmt.Println(clip)
    	fmt.Println(len(clip))
    	fmt.Println(cap(clip))
    	// Output:
    	// 10
    	// [0 1 2 3]
    	// 4
    	// 4
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 17:28:50 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheEncryptionIntegrationTest.groovy

        }
    
        def "build fails if key is provided via env var but not long enough"() {
            given:
            def insufficientlyLongEncryptionKey = Base64.encoder.encodeToString("01234567".getBytes(StandardCharsets.UTF_8))
    
            when:
            runWithEncryption(EncryptionKind.ENV_VAR, ["help"], [], [(GRADLE_ENCRYPTION_KEY_ENV_KEY): insufficientlyLongEncryptionKey], this::configurationCacheFails)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13K bytes
    - Viewed (0)
  4. src/encoding/hex/hex_test.go

    import (
    	"bytes"
    	"fmt"
    	"io"
    	"strings"
    	"testing"
    )
    
    type encDecTest struct {
    	enc string
    	dec []byte
    }
    
    var encDecTests = []encDecTest{
    	{"", []byte{}},
    	{"0001020304050607", []byte{0, 1, 2, 3, 4, 5, 6, 7}},
    	{"08090a0b0c0d0e0f", []byte{8, 9, 10, 11, 12, 13, 14, 15}},
    	{"f0f1f2f3f4f5f6f7", []byte{0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7}},
    	{"f8f9fafbfcfdfeff", []byte{0xf8, 0xf9, 0xfa, 0xfb, 0xfc, 0xfd, 0xfe, 0xff}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:30:23 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  5. test/codegen/bits.go

    	io32[0] = io32[0] & 0x0FFFF000
    	// ppc64x: "RLWNM\t[$]0, R[0-9]*, [$]20, [$]3, R"
    	io32[1] = io32[1] & 0xF0000FFF
    	// ppc64x: -"RLWNM", MOVD, AND
    	io32[2] = io32[2] & 0xFFFF0002
    
    	var bigc uint32 = 0x12345678
    	// ppc64x: "ANDCC\t[$]22136"
    	io16[0] = io16[0] & uint16(bigc)
    
    	// ppc64x: "ANDCC\t[$]120"
    	io8[0] = io8[0] & uint8(bigc)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. pkg/kubelet/kuberuntime/kuberuntime_container_test.go

    func TestRemoveContainer(t *testing.T) {
    	ctx := context.Background()
    	fakeRuntime, _, m, err := createTestRuntimeManager()
    	require.NoError(t, err)
    	pod := &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			UID:       "12345678",
    			Name:      "bar",
    			Namespace: "new",
    		},
    		Spec: v1.PodSpec{
    			Containers: []v1.Container{
    				{
    					Name:            "foo",
    					Image:           "busybox",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 28K bytes
    - Viewed (0)
  7. src/encoding/hex/hex.go

    	if h.closed {
    		return 0, errors.New("encoding/hex: dumper closed")
    	}
    
    	// Output lines look like:
    	// 00000010  2e 2f 30 31 32 33 34 35  36 37 38 39 3a 3b 3c 3d  |./0123456789:;<=|
    	// ^ offset                          ^ extra space              ^ ASCII of line.
    	for i := range data {
    		if h.used == 0 {
    			// At the beginning of a line we print the current
    			// offset in hex.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:30:23 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  8. pkg/wasm/cache.go

    	resourceVersionByResource map[string]string
    }
    
    type moduleKey struct {
    	// Identifier for the module. It should be neutral for the checksum.
    	// e.g.) oci://docker.io/test@sha256:0123456789 is not allowed.
    	//       oci://docker.io/test:latest (tagged form) is allowed.
    	name     string
    	checksum string
    }
    
    type cacheKey struct {
    	moduleKey
    	downloadURL string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. src/encoding/gob/encoder_test.go

    	var values = []any{
    		true,
    		int(123),
    		int8(123),
    		int16(-12345),
    		int32(123456),
    		int64(-1234567),
    		uint(123),
    		uint8(123),
    		uint16(12345),
    		uint32(123456),
    		uint64(1234567),
    		uintptr(12345678),
    		float32(1.2345),
    		float64(1.2345678),
    		complex64(1.2345 + 2.3456i),
    		complex128(1.2345678 + 2.3456789i),
    		[]byte("hello"),
    		string("hello"),
    	}
    	for _, value := range values {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  10. src/encoding/json/decode.go

    				i++ // escaped char
    			case '"':
    				i++ // tokenize the closing quote too
    				break Switch
    			}
    		}
    	case '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '-': // number
    		for ; i < len(data); i++ {
    			switch data[i] {
    			case '0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
    				'.', 'e', 'E', '+', '-':
    			default:
    				break Switch
    			}
    		}
    	case 't': // true
    		i += len("rue")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 35.3K bytes
    - Viewed (0)
Back to top