Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 355 for Anonymous2 (0.19 sec)

  1. staging/src/k8s.io/apiserver/pkg/authentication/group/group_adder_test.go

    				Groups: []string{user.AllAuthenticated, "some-group"},
    			},
    		},
    		{
    			name: "don't add for anon",
    			inputUser: &user.DefaultInfo{
    				Name:   user.Anonymous,
    				Groups: []string{"some-group"},
    			},
    			expectedUser: &user.DefaultInfo{
    				Name:   user.Anonymous,
    				Groups: []string{"some-group"},
    			},
    		},
    		{
    			name: "don't add for unauthenticated group",
    			inputUser: &user.DefaultInfo{
    				Name:   "user",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 11 20:04:50 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/endpoints/filters/authentication_test.go

    			case "known":
    				return &authenticator.Response{User: &user.DefaultInfo{Name: "panda"}}, true, nil
    			case "error":
    				return nil, false, errors.New("authn err")
    			case "anonymous":
    				return anonymous.NewAuthenticator().AuthenticateRequest(r)
    			case "anonymous_group":
    				return &authenticator.Response{User: &user.DefaultInfo{Groups: []string{user.AllUnauthenticated}}}, true, nil
    			default:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  3. src/go/types/signature.go

    			params = append(params, par)
    			anonymous = true
    		}
    	}
    
    	if named && anonymous {
    		check.error(list, InvalidSyntaxTree, "list contains both named and anonymous parameters")
    		// ok to continue
    	}
    
    	// For a variadic function, change the last parameter's type from T to []T.
    	// Since we type-checked T rather than ...T, we also need to retro-actively
    	// record the type for ...T.
    	if variadic {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 13K bytes
    - Viewed (0)
  4. src/debug/dwarf/testdata/cppunsuptypes.cc

    // license that can be found in the LICENSE file.
    
    // cppunsuptypes.elf built with g++ 7.3
    //    g++ -g -c -o cppunsuptypes.elf cppunsuptypes.cc
    
    int i = 3;
    double d = 3;
    
    // anonymous reference type
    int &culprit = i;
    
    // named reference type
    typedef double &dref;
    dref dr = d;
    
    // incorporated into another type
    typedef struct {
      dref q;
      int &r;
    } hasrefs;
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 17:33:46 UTC 2019
    - 667 bytes
    - Viewed (0)
  5. platforms/jvm/normalization-java/src/test/groovy/org/gradle/internal/normalization/java/ApiClassExtractorInnerClassTest.groovy

            where:
            modifier           | access
            ''                 | 0
            'static'           | Opcodes.ACC_STATIC
        }
    
        def "should not keep anonymous inner classes"() {
            given:
            def api = toApi 'A': '''
                public class A {
                   public void foo() {
                       Runnable r = new Runnable() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  6. subprojects/core-api/src/main/java/org/gradle/model/internal/type/ClassTypeWrapper.java

            // Detect anonymous static classes of enum constants with class body
            // See https://docs.oracle.com/javase/specs/jls/se7/html/jls-8.html#d5e12300
            // And https://docs.oracle.com/javase/specs/jls/se7/html/jls-8.html#jls-8.9.1
            // "The optional class body of an enum constant implicitly defines an anonymous class declaration
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 11 21:42:04 UTC 2018
    - 4.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

        final int i = 1;
        final String s = "hello world";
        Class<?> anonymous =
            new Runnable() {
              @Override
              public void run() {
                System.out.println(s + i);
              }
            }.getClass();
        Constructor<?> constructor = anonymous.getDeclaredConstructors()[0];
        assertEquals(0, Invokable.from(constructor).getParameters().size());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 30.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/reflect/InvokableTest.java

        final int i = 1;
        final String s = "hello world";
        Class<?> anonymous =
            new Runnable() {
              @Override
              public void run() {
                System.out.println(s + i);
              }
            }.getClass();
        Constructor<?> constructor = anonymous.getDeclaredConstructors()[0];
        assertEquals(0, Invokable.from(constructor).getParameters().size());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  9. cmd/server-startup-msg.go

    	// Colorize the message and print.
    	logger.Info(color.Blue("API: ") + color.Bold(fmt.Sprintf("%s ", apiEndpointStr)))
    	if color.IsTerminal() && (!globalServerCtxt.Anonymous && !globalServerCtxt.JSON && globalAPIConfig.permitRootAccess()) {
    		logger.Info(color.Blue("   RootUser: ") + color.Bold("%s ", cred.AccessKey))
    		logger.Info(color.Blue("   RootPass: ") + color.Bold("%s \n", cred.SecretKey))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. src/go/doc/exports.go

    		}
    	}
    	return false
    }
    
    // removeAnonymousField removes anonymous fields named name from an interface.
    func removeAnonymousField(name string, ityp *ast.InterfaceType) {
    	list := ityp.Methods.List // we know that ityp.Methods != nil
    	j := 0
    	for _, field := range list {
    		keepField := true
    		if n := len(field.Names); n == 0 {
    			// anonymous field
    			if fname, _ := baseTypeName(field.Type); fname == name {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 01 18:18:07 UTC 2022
    - 8.5K bytes
    - Viewed (0)
Back to top