Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 103 for igmp (0.36 sec)

  1. src/cmd/compile/internal/types2/resolver.go

    		} else {
    			imp, err = importer.Import(path)
    			if imp == nil && err == nil {
    				err = fmt.Errorf("Config.Importer.Import(%s) returned nil but no error", path)
    			}
    		}
    		// make sure we have a valid package name
    		// (errors here can only happen through manipulation of packages after creation)
    		if err == nil && imp != nil && (imp.name == "_" || imp.name == "") {
    			err = fmt.Errorf("invalid package name: %q", imp.name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  2. src/go/types/resolver.go

    			imp, err = importer.Import(path)
    			if imp == nil && err == nil {
    				err = fmt.Errorf("Config.Importer.Import(%s) returned nil but no error", path)
    			}
    		}
    		// make sure we have a valid package name
    		// (errors here can only happen through manipulation of packages after creation)
    		if err == nil && imp != nil && (imp.name == "_" || imp.name == "") {
    			err = fmt.Errorf("invalid package name: %q", imp.name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  3. cluster/addons/calico-policy-controller/globalnetworkpolicy-crd.yaml

                              type: array
                          type: object
                        icmp:
                          description: ICMP is an optional field that restricts the rule
                            to apply to a specific type and code of ICMP traffic.  This
                            should only be specified if the Protocol field is set to "ICMP"
                            or "ICMPv6".
                          properties:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 07 20:48:43 UTC 2021
    - 45.2K bytes
    - Viewed (0)
  4. src/go/importer/importer_test.go

    	if compiler == "gccgo" {
    		t.Skip("golang.org/issue/22500")
    	}
    
    	fset := token.NewFileSet()
    
    	t.Run("LookupDefault", func(t *testing.T) {
    		imp := ForCompiler(fset, compiler, nil)
    		pkg, err := imp.Import(thePackage)
    		if err != nil {
    			t.Fatal(err)
    		}
    		if pkg.Path() != thePackage {
    			t.Fatalf("Path() = %q, want %q", pkg.Path(), thePackage)
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 25 21:16:32 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. cmd/preferredimports/preferredimports.go

    			replacements := make(map[string]string)
    			pathToFile := a.fset.File(file.Pos()).Name()
    			for _, imp := range file.Imports {
    				importPath := strings.Replace(imp.Path.Value, "\"", "", -1)
    				pathSegments := strings.Split(importPath, "/")
    				importName := pathSegments[len(pathSegments)-1]
    				if imp.Name != nil {
    					importName = imp.Name.Name
    				}
    				for re, template := range aliases {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:44 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/resolver_test.go

    	imported map[string]bool
    }
    
    func (imp *resolveTestImporter) Import(string) (*Package, error) {
    	panic("should not be called")
    }
    
    func (imp *resolveTestImporter) ImportFrom(path, srcDir string, mode ImportMode) (*Package, error) {
    	if mode != 0 {
    		panic("mode must be 0")
    	}
    	if imp.importer == nil {
    		imp.importer = defaultImporter().(ImporterFrom)
    		imp.imported = make(map[string]bool)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 10 12:59:20 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  7. cmd/importverifier/importverifier.go

    		imports = append(imports, append(pkg.TestImports, pkg.XTestImports...)...)
    	}
    	for _, imp := range imports {
    		if i.isForbidden(imp) {
    			forbiddenImportSet[imp] = struct{}{}
    		}
    	}
    
    	var forbiddenImports []string
    	for imp := range forbiddenImportSet {
    		forbiddenImports = append(forbiddenImports, imp)
    	}
    	return forbiddenImports
    }
    
    // isForbidden determines if an import is forbidden,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:16 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/internal/facts/imports.go

    			}
    		case *types.TypeParam:
    			if !typs[T] {
    				typs[T] = true
    				addObj(T.Obj())
    				addType(T.Constraint())
    			}
    		}
    	}
    
    	for _, imp := range imports {
    		packages[imp.Path()] = imp
    
    		scope := imp.Scope()
    		for _, name := range scope.Names() {
    			addObj(scope.Lookup(name))
    		}
    	}
    
    	return packages
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. src/cmd/dist/imports.go

    func resolveVendor(imp, srcDir string) string {
    	var first string
    	if i := strings.Index(imp, "/"); i < 0 {
    		first = imp
    	} else {
    		first = imp[:i]
    	}
    	isStandard := !strings.Contains(first, ".")
    	if isStandard {
    		return imp
    	}
    
    	if strings.HasPrefix(srcDir, filepath.Join(goroot, "src", "cmd")) {
    		return path.Join("cmd", "vendor", imp)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 28 21:45:30 UTC 2019
    - 6.3K bytes
    - Viewed (0)
  10. pkg/proxy/ipvs/ipset/types.go

    const (
    	// HashIPPort represents the `hash:ip,port` type ipset.  The hash:ip,port is similar to hash:ip but
    	// you can store IP address and protocol-port pairs in it.  TCP, SCTP, UDP, UDPLITE, ICMP and ICMPv6 are supported
    	// with port numbers/ICMP(v6) types and other protocol numbers without port information.
    	HashIPPort Type = "hash:ip,port"
    	// HashIPPortIP represents the `hash:ip,port,ip` type ipset.  The hash:ip,port,ip set type uses a hash to store
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 2.6K bytes
    - Viewed (0)
Back to top