Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,964 for importing (0.22 sec)

  1. src/go/types/stdlib_test.go

    // (See https://golang.org/issue/43232 and
    // https://github.com/golang/build/blob/df58bbac082bc87c4a3cdfe336d1ffe60bbaa916/cmd/release/release.go#L533-L545.)
    //
    // Use the same importer for all std lib tests to
    // avoid repeated importing of the same packages.
    var stdLibImporter = importer.ForCompiler(token.NewFileSet(), "source", nil)
    
    func TestStdlib(t *testing.T) {
    	if testing.Short() {
    		t.Skip("skipping in short mode")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 19 04:39:56 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  2. hack/update-vendor.sh

        # 'go list' calculates direct imports and updates go.mod so that go list -m lists our module dependencies
        echo "=== computing imports for ${repo}"
        go list all
        # ignore errors related to importing `package main` packages, but catch
        # other errors (https://github.com/golang/go/issues/59186)
        errs=()
        kube::util::read-array errs < <(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:08 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/authoring-builds/other/test_kit.adoc

    (e.g. executing the `test` task of a plugin project), the same distribution used to execute the tests will be used by the runner. When using the runner as part of tests _being executed by an IDE_, the same distribution of Gradle that was used when importing the project will be used. This means that the plugin will effectively be tested with the same version of Gradle that it is being built with.
    
    Alternatively, a different and specific version of Gradle to use can be specified by the any of...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 05:36:09 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  4. src/embed/embed.go

    // and that pattern can match only a single file. The string or []byte is initialized with
    // the contents of that file.
    //
    // The //go:embed directive requires importing "embed", even when using a string or []byte.
    // In source files that don't refer to [embed.FS], use a blank import (import _ "embed").
    //
    // # File Systems
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:42:51 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modfetch/repo.go

    // it adds a requirement on either the newer rsc.io/qr or the newer
    // rsc.io/qr/gf256 module, it will automatically add the requirement
    // on the complementary half, ensuring both that rsc.io/qr/gf256 is
    // available for importing by the build and also that it is only defined
    // by a single module. The gf256 package could move back into the
    // original by another simultaneous release of rsc.io/qr v0.4.0 including
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 16:36:19 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  6. CONTRIBUTING.md

    If you did not have a Java 11 SDK installed before importing the project into IntelliJ and after adding a Java 11 SDK your IntelliJ still uses the wrong SDK version, you might need to invalidate IntelliJ's caches before reloading the project.
    
    ## Making your change
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 01:39:23 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  7. cmd/import-boss/main.go

    func unmassage(str string) string {
    	idx := strings.LastIndex(str, " ((")
    	if idx == -1 {
    		return str
    	}
    	return str[0:idx]
    }
    
    type ImportBoss struct {
    	// incomingImports holds all the packages importing the key.
    	incomingImports map[string][]string
    
    	// transitiveIncomingImports holds the transitive closure of
    	// incomingImports.
    	transitiveIncomingImports map[string][]string
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 12:36:49 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  8. src/time/zoneinfo_read.go

    const maxFileSize = 10 << 20
    
    type fileSizeError string
    
    func (f fileSizeError) Error() string {
    	return "time: file " + string(f) + " is too large"
    }
    
    // Copies of io.Seek* constants to avoid importing "io":
    const (
    	seekStart   = 0
    	seekCurrent = 1
    	seekEnd     = 2
    )
    
    // Simple I/O interface to binary blob of data.
    type dataIO struct {
    	p     []byte
    	error bool
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  9. docs/en/docs/python-types.md

    #### Possibly `None`
    
    You can declare that a value could have a type, like `str`, but that it could also be `None`.
    
    In Python 3.6 and above (including Python 3.10) you can declare it by importing and using `Optional` from the `typing` module.
    
    ```Python hl_lines="1  4"
    {!../../../docs_src/python_types/tutorial009.py!}
    ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 31 02:38:05 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  10. src/go/internal/gcimporter/ureader.go

    	// laterFns holds functions that need to be invoked at the end of
    	// import reading.
    	laterFns []func()
    
    	// ifaces holds a list of constructed Interfaces, which need to have
    	// Complete called after importing is done.
    	ifaces []*types.Interface
    }
    
    // later adds a function to be invoked at the end of import reading.
    func (pr *pkgReader) later(fn func()) {
    	pr.laterFns = append(pr.laterFns, fn)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top