Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 6,254 for Packaged (0.77 sec)

  1. hack/lib/golang.sh

    # Creates a dummy unit test on disk in the source directory for the given package.
    # This unit test will invoke the package's standard entry point when run.
    kube::golang::create_coverage_dummy_test() {
      local package="$1"
      local name
      name="$(basename "${package}")"
      cat <<EOF > "$(kube::golang::path_for_coverage_dummy_test "${package}")"
    package main
    import (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 16:43:08 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  2. src/go/ast/ast.go

    	}
    	return f.Name.End()
    }
    
    // A Package node represents a set of source files
    // collectively building a Go package.
    //
    // Deprecated: use the type checker [go/types] instead; see [Object].
    type Package struct {
    	Name    string             // package name
    	Scope   *Scope             // package scope across all files
    	Imports map[string]*Object // map of package id -> package object
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 21:32:41 UTC 2024
    - 35.6K bytes
    - Viewed (0)
  3. src/context/context.go

    	// Context.Value. A key can be any type that supports equality;
    	// packages should define keys as an unexported type to avoid
    	// collisions.
    	//
    	// Packages that define a Context key should provide type-safe accessors
    	// for the values stored using that key:
    	//
    	// 	// Package user defines a User type that's stored in Contexts.
    	// 	package user
    	//
    	// 	import "context"
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 23.7K bytes
    - Viewed (0)
  4. src/go/internal/gcimporter/iimport.go

    	}
    
    	for _, typ := range p.interfaceList {
    		typ.Complete()
    	}
    
    	// record all referenced packages as imports
    	list := append(([]*types.Package)(nil), pkgList[1:]...)
    	slices.SortFunc(list, func(a, b *types.Package) int {
    		return strings.Compare(a.Path(), b.Path())
    	})
    	localpkg.SetImports(list)
    
    	// package was imported completely and without errors
    	localpkg.MarkComplete()
    	return localpkg, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  5. src/net/smtp/smtp.go

    // license that can be found in the LICENSE file.
    
    // Package smtp implements the Simple Mail Transfer Protocol as defined in RFC 5321.
    // It also implements the following extensions:
    //
    //	8BITMIME  RFC 1652
    //	AUTH      RFC 2554
    //	STARTTLS  RFC 3207
    //
    // Additional extensions may be handled by clients.
    //
    // The smtp package is frozen and is not accepting new features.
    // Some external packages provide more functionality. See:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java

         * @param parent The parent realm for the new realm, may be {@code null}.
         * @param parentImports The packages/types to import from the parent realm, may be {@code null}.
         * @param foreignImports The packages/types to import from foreign realms, may be {@code null}.
         * @param artifacts The artifacts to add to the realm, may be {@code null}. Unresolved artifacts (i.e. with a
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jan 10 12:53:42 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  7. src/internal/types/testdata/check/issues0.go

    	T.x /* ERROR "T.x undefined (type T has no method x)" */ ()
    }
    
    func issue35895() {
    	// T is defined in this package, don't qualify its name with the package name.
    	var _ T = 0 // ERROR "cannot use 0 (untyped int constant) as T"
    
    	// There is only one package with name syntax imported, only use the (global) package name in error messages.
    	var _ *syn.Prog = 0 // ERROR "cannot use 0 (untyped int constant) as *syntax.Prog"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 18:13:11 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  8. src/cmd/doc/pkg.go

    	name        string       // Package name, json for encoding/json.
    	userPath    string       // String the user used to find this package.
    	pkg         *ast.Package // Parsed package.
    	file        *ast.File    // Merged from all files in the package
    	doc         *doc.Package
    	build       *build.Package
    	typedValue  map[*doc.Value]bool // Consts and vars related to types.
    	constructor map[*doc.Func]bool  // Constructors.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 08 20:15:52 UTC 2024
    - 32K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/bigger-applications.md

    ```Python
    from ...dependencies import get_token_header
    ```
    
    that would mean:
    
    * Starting in the same package that this module (the file `app/routers/items.py`) lives in (the directory `app/routers/`)...
    * go to the parent package (the directory `app/`)...
    * then go to the parent of that package (there's no parent package, `app` is the top level 😱)...
    * and in there, find the module `dependencies` (the file at `app/dependencies.py`)...
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/internal/analysisinternal/analysis.go

    	default:
    		return false
    	}
    }
    
    // TypeExpr returns syntax for the specified type. References to
    // named types from packages other than pkg are qualified by an appropriate
    // package name, as defined by the import environment of file.
    func TypeExpr(f *ast.File, pkg *types.Package, typ types.Type) ast.Expr {
    	switch t := typ.(type) {
    	case *types.Basic:
    		switch t.Kind() {
    		case types.UnsafePointer:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top