Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for abcabc (0.1 sec)

  1. src/test/java/org/codelibs/core/lang/StringUtilTest.java

         * @throws Exception
         */
        @Test
        public void testSubstringFromLast() throws Exception {
            assertEquals("ab", StringUtil.substringFromLast("abc", "c"));
            assertEquals("abcab", StringUtil.substringFromLast("abcabc", "c"));
            assertEquals("abc", StringUtil.substringFromLast("abc", ""));
            assertEquals("abc", StringUtil.substringFromLast("abc", null));
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. src/compress/flate/deflate_test.go

    				if err != nil {
    					t.Errorf("i=%d, firstN=%d, flush=%t: NewWriter: %v", i, firstN, flush, err)
    					continue
    				}
    				for _, n := range tc {
    					want = append(want, abcabc[:n]...)
    					if _, err := w.Write(abcabc[:n]); err != nil {
    						t.Errorf("i=%d, firstN=%d, flush=%t: Write: %v", i, firstN, flush, err)
    						continue outer
    					}
    					if !flush {
    						continue
    					}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  3. src/regexp/all_test.go

    	// of a character.
    	{"[a-c]*", "x", "\u65e5", "x\u65e5x"},
    	{"[^\u65e5]", "x", "abc\u65e5def", "xxx\u65e5xxx"},
    
    	// Start and end of a string.
    	{"^[a-c]*", "x", "abcdabc", "xdabc"},
    	{"[a-c]*$", "x", "abcdabc", "abcdx"},
    	{"^[a-c]*$", "x", "abcdabc", "abcdabc"},
    	{"^[a-c]*", "x", "abc", "x"},
    	{"[a-c]*$", "x", "abc", "x"},
    	{"^[a-c]*$", "x", "abc", "x"},
    	{"^[a-c]*", "x", "dabce", "xdabce"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  4. pkg/auth/authorizer/abac/abac_test.go

    limitations under the License.
    */
    
    package abac
    
    import (
    	"context"
    	"io/ioutil"
    	"os"
    	"reflect"
    	"testing"
    
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apiserver/pkg/authentication/user"
    	"k8s.io/apiserver/pkg/authorization/authorizer"
    	"k8s.io/kubernetes/pkg/apis/abac"
    	"k8s.io/kubernetes/pkg/apis/abac/v0"
    	"k8s.io/kubernetes/pkg/apis/abac/v1beta1"
    )
    
    func TestEmptyFile(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 24 15:14:54 UTC 2019
    - 40K bytes
    - Viewed (0)
  5. cluster/gce/gci/configure-kubeapiserver.sh

      local -r src_dir="${KUBE_HOME}/kube-manifests/kubernetes/gci-trusty"
    
      # Enable ABAC mode unless the user explicitly opts out with ENABLE_LEGACY_ABAC=false
      if [[ "${ENABLE_LEGACY_ABAC:-}" != "false" ]]; then
        echo "Warning: Enabling legacy ABAC policy. All service accounts will have superuser API access. Set ENABLE_LEGACY_ABAC=false to disable this."
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 11:08:30 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/CharSourceTest.java

        CharSource source = CharSource.wrap("abcd");
        Iterable<CharSource> cycle = Iterables.cycle(ImmutableList.of(source));
        CharSource concatenated = CharSource.concat(cycle);
    
        String expected = "abcdabcd";
    
        // read the first 8 chars manually, since there's no equivalent to ByteSource.slice
        // TODO(cgdecker): Add CharSource.slice?
        StringBuilder builder = new StringBuilder();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  7. pkg/kubeapiserver/options/authorization.go

    		}
    	}
    
    	if o.PolicyFile != "" && !modes.Has(authzmodes.ModeABAC) {
    		allErrors = append(allErrors, fmt.Errorf("cannot specify --authorization-policy-file without mode ABAC"))
    	}
    
    	if o.WebhookConfigFile != "" && !modes.Has(authzmodes.ModeWebhook) {
    		allErrors = append(allErrors, fmt.Errorf("cannot specify --authorization-webhook-config-file without mode Webhook"))
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 14 23:09:15 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. src/regexp/find_test.go

    	// fixed bugs
    	{`ab$`, "cab", build(1, 1, 3)},
    	{`axxb$`, "axxcb", nil},
    	{`data`, "daXY data", build(1, 5, 9)},
    	{`da(.)a$`, "daXY data", build(1, 5, 9, 7, 8)},
    	{`zx+`, "zzx", build(1, 1, 3)},
    	{`ab$`, "abcab", build(1, 3, 5)},
    	{`(aa)*$`, "a", build(1, 1, 1, -1, -1)},
    	{`(?:.|(?:.a))`, "", nil},
    	{`(?:A(?:A|a))`, "Aa", build(1, 0, 2)},
    	{`(?:A|(?:A|a))`, "a", build(1, 0, 1)},
    	{`(a){0}`, "", build(1, 0, 0, -1, -1)},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 11 15:28:50 UTC 2021
    - 16.3K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/phases/controlplane/manifests_test.go

    				"--audit-policy-file=/etc/config/audit.yaml",
    				"--audit-log-path=/var/log/kubernetes",
    			},
    		},
    		{
    			name: "authorization-mode extra-args ABAC",
    			cfg: &kubeadmapi.ClusterConfiguration{
    				Networking:      kubeadmapi.Networking{ServiceSubnet: "bar", DNSDomain: "cluster.local"},
    				CertificatesDir: testCertsDir,
    				APIServer: kubeadmapi.APIServer{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 03 14:43:47 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  10. cluster/gce/upgrade.sh

      # kubeconfig:username, and then under kubeconfig:username-basic-auth.
      # TODO: KUBE_USER is used in generating ABAC policy which the
      # apiserver may not have enabled. If it's enabled, we must have a user
      # to generate a valid ABAC policy. If the username changes, should
      # the script fail? Should we generate a default username and password
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 25.2K bytes
    - Viewed (0)
Back to top