Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for ababcd (0.19 sec)

  1. src/cmd/go/internal/generate/generate_test.go

    	inLine = "//go:generate CMD0"
    	expected = []string{"abZcd"}
    	got = g.split(inLine + "\n")
    
    	if !reflect.DeepEqual(got, expected) {
    		t.Errorf("split(%q): got %q expected %q", inLine, got, expected)
    	}
    
    	// What if the variable is now undefined?  Should be empty substitution.
    
    	os.Unsetenv("_X")
    	inLine = "//go:generate CMD0"
    	expected = []string{"abcd"}
    	got = g.split(inLine + "\n")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 20 14:09:12 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  2. platforms/software/security/src/test/groovy/org/gradle/plugins/signing/signatory/pgp/PgpKeyIdSpec.groovy

    import spock.lang.*
    
    class PgpKeyIdSpec extends Specification  {
    
        protected key(arg) {
            new PgpKeyId(arg)
        }
    
        def "conversion is symmetrical"() {
            expect:
            key("ABCDABCD").asHex == "ABCDABCD"
        }
    
        def "conversion"() {
            expect:
            key(hex).asLong == decimal
            key(decimal).asHex == hex
    
            where:
            hex        | decimal
            "AAAAAAAA" | 2863311530
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. pkg/auth/authorizer/abac/abac.go

    limitations under the License.
    */
    
    // Package abac authorizes Kubernetes API actions using an Attribute-based access control scheme.
    package abac
    
    import (
    	"bufio"
    	"context"
    	"fmt"
    	"os"
    	"strings"
    
    	"k8s.io/klog/v2"
    
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apiserver/pkg/authentication/user"
    	"k8s.io/apiserver/pkg/authorization/authorizer"
    	"k8s.io/kubernetes/pkg/apis/abac"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 11 03:11:30 UTC 2021
    - 7.4K bytes
    - Viewed (0)
  4. src/regexp/testdata/nullsubexpr.dat

    E	SAME		aaaaaab		(0,6)(0,6)
    E	([ab]*)*	a		(0,1)(0,1)
    E	SAME		aaaaaa		(0,6)(0,6)
    E	SAME		ababab		(0,6)(0,6)
    E	SAME		bababa		(0,6)(0,6)
    E	SAME		b		(0,1)(0,1)
    E	SAME		bbbbbb		(0,6)(0,6)
    E	SAME		aaaabcde	(0,5)(0,5)
    E	([^a]*)*	b		(0,1)(0,1)
    E	SAME		bbbbbb		(0,6)(0,6)
    E	SAME		aaaaaa		(0,0)(0,0)
    E	([^ab]*)*	ccccxx		(0,6)(0,6)
    E	SAME		ababab		(0,0)(0,0)
    
    E	((z)+|a)*	zabcde		(0,2)(1,2)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 18 19:55:29 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/test_fuzz_parallel.txt

    		f.Add(v)
    	}
    
    	var mu sync.Mutex
    	var before, after []byte
    	f.Cleanup(func() {
    		sort.Slice(after, func(i, j int) bool { return after[i] < after[j] })
    		got := string(before) + string(after)
    		want := "abcabc"
    		if got != want {
    			f.Fatalf("got %q; want %q", got, want)
    		}
    	})
    
    	f.Fuzz(func(t *testing.T, b []byte) {
    		before = append(before, b...)
    		t.Parallel()
    		mu.Lock()
    		after = append(after, b...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/schedule_test.go

    )
    
    func TestSchedule(t *testing.T) {
    	c := testConfig(t)
    	cases := []fun{
    		c.Fun("entry",
    			Bloc("entry",
    				Valu("mem0", OpInitMem, types.TypeMem, 0, nil),
    				Valu("ptr", OpConst64, c.config.Types.Int64, 0xABCD, nil),
    				Valu("v", OpConst64, c.config.Types.Int64, 12, nil),
    				Valu("mem1", OpStore, types.TypeMem, 0, c.config.Types.Int64, "ptr", "v", "mem0"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 08 01:46:00 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  7. src/net/http/internal/chunked_test.go

    		t.Fatalf("second read = %v; want malformed error", err)
    	}
    
    }
    
    // Issue 48861: ChunkedReader should report incomplete chunks
    func TestIncompleteChunk(t *testing.T) {
    	const valid = "4\r\nabcd\r\n" + "5\r\nabc\r\n\r\n" + "0\r\n"
    
    	for i := 0; i < len(valid); i++ {
    		incomplete := valid[:i]
    		r := NewChunkedReader(strings.NewReader(incomplete))
    		if _, err := io.ReadAll(r); err != io.ErrUnexpectedEOF {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 04 20:45:19 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/loong64/a.out.go

    	C_LAUTO
    	C_SEXT
    	C_LEXT
    	C_ZOREG
    	C_SOREG
    	C_LOREG
    	C_GOK
    	C_ADDR
    	C_TLS_LE
    	C_TLS_IE
    	C_GOTADDR
    	C_TEXTSIZE
    
    	C_NCLASS // must be the last
    )
    
    const (
    	AABSD = obj.ABaseLoong64 + obj.A_ARCHSPECIFIC + iota
    	AABSF
    	AADD
    	AADDD
    	AADDF
    	AADDU
    
    	AADDW
    	AAND
    	ABEQ
    	ABGEZ
    	ABLEZ
    	ABGTZ
    	ABLTZ
    	ABFPF
    	ABFPT
    
    	ABNE
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. pkg/kubelet/types/pod_status_test.go

    	}
    
    	for _, tc := range trueCases {
    		if !PodConditionByKubelet(tc) {
    			t.Errorf("Expect %q to be condition owned by kubelet.", tc)
    		}
    	}
    
    	falseCases := []v1.PodConditionType{
    		v1.PodConditionType("abcd"),
    		v1.PodConditionType(v1.PodReasonUnschedulable),
    	}
    
    	for _, tc := range falseCases {
    		if PodConditionByKubelet(tc) {
    			t.Errorf("Expect %q NOT to be condition owned by kubelet.", tc)
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/util/internal/NameMatcherTest.groovy

        def "prefers exact match over camel case match"() {
            expect:
            matches("sName", "sName", "someName", "sNames")
            matches("so Name", "so Name", "some Name", "so name")
            matches("ABC", "ABC", "AaBbCc")
        }
    
        def "prefers exact match over kebab case match"() {
            expect:
            matches("sName", "sName", "some-name", "some-Name")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 05 22:49:56 UTC 2022
    - 7.8K bytes
    - Viewed (0)
Back to top