Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 121 for Tok (0.12 sec)

  1. pilot/pkg/bootstrap/istio_ca.go

    	token, err := os.ReadFile(securityModel.ThirdPartyJwtPath)
    	if err == nil {
    		tok, err := detectAuthEnv(string(token))
    		if err != nil {
    			log.Warnf("Starting with invalid K8S JWT token: %v", err)
    		} else {
    			if iss == "" {
    				iss = tok.Iss
    			}
    			if len(tok.Aud) > 0 && len(aud) == 0 {
    				aud = tok.Aud[0]
    			}
    		}
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  2. src/go/printer/printer_test.go

    // be parsed.
    func TestEmptyDecl(t *testing.T) { // issue 63566
    	for _, tok := range []token.Token{token.IMPORT, token.CONST, token.TYPE, token.VAR} {
    		var buf bytes.Buffer
    		Fprint(&buf, token.NewFileSet(), &ast.GenDecl{Tok: tok})
    		got := buf.String()
    		want := tok.String() + " ()"
    		if got != want {
    			t.Errorf("got %q, want %q", got, want)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/PACTest.java

                KerberosKey[] keys = kt.getKeys(new KerberosPrincipal("cifs/******@****.***FIELD", KerberosPrincipal.KRB_NT_PRINCIPAL));
                KerberosToken tok = new KerberosToken(krbToken, keys);
    
                KerberosEncData ed = tok.getTicket().getEncData();
                Assert.assertEquals(1, ed.getUserAuthorizations().size());
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Oct 01 12:01:17 UTC 2023
    - 22.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/branches.go

    				fwdGotos = fwdGotos[:i]
    				lstmt = s
    			}
    			// process labeled statement
    			stmt = s.Stmt
    			goto L
    
    		case *BranchStmt:
    			// unlabeled branch statement
    			if s.Label == nil {
    				switch s.Tok {
    				case _Break:
    					if t := ctxt.breaks; t != nil {
    						s.Target = t
    					} else {
    						ls.err(s.Pos(), "break is not in a loop, switch, or select")
    					}
    				case _Continue:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Jun 26 00:21:29 UTC 2022
    - 9.8K bytes
    - Viewed (0)
  5. src/go/ast/commentmap_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	cmap := NewCommentMap(fset, f, f.Comments)
    
    	// delete variable declaration
    	for i, decl := range f.Decls {
    		if gen, ok := decl.(*GenDecl); ok && gen.Tok == token.VAR {
    			copy(f.Decls[i:], f.Decls[i+1:])
    			f.Decls = f.Decls[:len(f.Decls)-1]
    			break
    		}
    	}
    
    	// check if comments are filtered correctly
    	cc := cmap.Filter(f)
    	for n, list := range cc {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 09 15:35:30 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  6. src/cmd/cgo/godefs.go

    	refName := make(map[*ast.Expr]*Name)
    	for _, r := range f.Ref {
    		refName[r.Expr] = r.Name
    	}
    	for _, d := range f.AST.Decls {
    		d, ok := d.(*ast.GenDecl)
    		if !ok || d.Tok != token.TYPE {
    			continue
    		}
    		for _, s := range d.Specs {
    			s := s.(*ast.TypeSpec)
    			n := refName[&s.Type]
    			if n != nil && n.Mangle != "" {
    				override[n.Mangle] = s.Name.Name
    			}
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. test/convinline.go

    				exprs = append(exprs, code)
    				outputs = append(outputs, convert(x, t1, t2))
    			}
    		}
    	}
    	fmt.Fprintf(&prog, ")\n\n")
    	fmt.Fprintf(&prog, "func main() {\n\tok := true\n")
    	for i, out := range outputs {
    		fmt.Fprintf(&prog, "\tif v%d != %s { fmt.Println(%q, \"=\", v%d, \"want\", %s); ok = false }\n", i, out, exprs[i], i, out)
    	}
    	fmt.Fprintf(&prog, "\tif !ok { println(\"FAIL\") }\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 17 13:46:05 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  8. pkg/controller/volume/attachdetach/util/util.go

    	if err != nil {
    		return false, err
    	}
    
    	ann := csiNode.GetAnnotations()
    	if ann == nil {
    		return false, nil
    	}
    
    	mpa := ann[v1.MigratedPluginsAnnotationKey]
    	tok := strings.Split(mpa, ",")
    	mpaSet := sets.NewString(tok...)
    
    	isMigratedOnNode := mpaSet.Has(pluginName)
    
    	return isMigratedOnNode, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 10:42:15 UTC 2024
    - 12K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/cgocall/cgocall.go

    			importMap[path] = imported(info, spec)
    		}
    
    		// Add special dot-import declaration:
    		//    import . "·this·"
    		var decls []ast.Decl
    		decls = append(decls, &ast.GenDecl{
    			Tok: token.IMPORT,
    			Specs: []ast.Spec{
    				&ast.ImportSpec{
    					Name: &ast.Ident{Name: "."},
    					Path: &ast.BasicLit{
    						Kind:  token.STRING,
    						Value: strconv.Quote(thispkg),
    					},
    				},
    			},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/cfg/builder.go

    			// Calls to panic, os.Exit, etc, never return.
    			b.current = b.newBlock(KindUnreachable, s)
    		}
    
    	case *ast.DeclStmt:
    		// Treat each var ValueSpec as a separate statement.
    		d := s.Decl.(*ast.GenDecl)
    		if d.Tok == token.VAR {
    			for _, spec := range d.Specs {
    				if spec, ok := spec.(*ast.ValueSpec); ok {
    					b.add(spec)
    				}
    			}
    		}
    
    	case *ast.LabeledStmt:
    		label = b.labeledBlock(s.Label, s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top