Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 25 of 25 for pubnames (0.49 sec)

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

    	if a.name != b.name {
    		return a.name < b.name
    	}
    	if !ea {
    		return a.pkg.path < b.pkg.path
    	}
    
    	return false
    }
    
    // A PkgName represents an imported Go package.
    // PkgNames don't have a type.
    type PkgName struct {
    	object
    	imported *Package
    	used     bool // set if the package was used
    }
    
    // NewPkgName returns a new PkgName object representing an imported package.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  2. src/go/types/object.go

    	if a.name != b.name {
    		return a.name < b.name
    	}
    	if !ea {
    		return a.pkg.path < b.pkg.path
    	}
    
    	return false
    }
    
    // A PkgName represents an imported Go package.
    // PkgNames don't have a type.
    type PkgName struct {
    	object
    	imported *Package
    	used     bool // set if the package was used
    }
    
    // NewPkgName returns a new PkgName object representing an imported package.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/types/objectpath/objectpath.go

    			// have a path.
    			return "", fmt.Errorf("no path for %v", obj)
    		}
    	case *types.Const, // Only package-level constants have a path.
    		*types.Label,   // Labels are function-local.
    		*types.PkgName: // PkgNames are file-local.
    		return "", fmt.Errorf("no path for %v", obj)
    
    	case *types.Var:
    		// Could be:
    		// - a field (obj.IsField())
    		// - a func parameter or result
    		// - a local var.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  4. pkg/controller/volume/attachdetach/reconciler/reconciler_test.go

    	testForceDetachMetric(t, int(initialForceDetachCount)+1, metrics.ForceDetachReasonOutOfService)
    }
    
    func Test_ReportMultiAttachError(t *testing.T) {
    	type nodeWithPods struct {
    		name     k8stypes.NodeName
    		podNames []string
    	}
    	tests := []struct {
    		name           string
    		nodes          []nodeWithPods
    		expectedEvents []string
    	}{
    		{
    			"no pods use the volume",
    			[]nodeWithPods{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:14 UTC 2024
    - 72.8K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go

    		}
    	}
    
    	n := &Name{Name: id}
    	return n
    }
    
    // moduleName parses:
    //
    //	<module-name> ::= <module-subname>
    //	 	      ::= <module-name> <module-subname>
    //		      ::= <substitution>  # passed in by caller
    //	<module-subname> ::= W <source-name>
    //			 ::= W P <source-name>
    //
    // The module name is optional. If it is not present, this returns the parent.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 94.1K bytes
    - Viewed (0)
Back to top