Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 316 for importPos (0.14 sec)

  1. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/FileContentGenerator.groovy

                    if (childPackageName != ownPackageName) {
                        imports += imports == '' ? '\n        ' : ''
                        imports += "import ${childPackageName}.Production${childNumber};\n        "
                    }
                } else {
                    propertyType = "String"
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  2. hack/verify-import-aliases.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    # This script verifies that all the imports have our preferred alias(es). The
    # preferred aliases for imports are listed in `hack/.import-aliases`.
    # Usage: `hack/verify-import-aliases.sh`.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:56 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. common/config/.golangci-format.yml

    linters-settings:
      gci:
        sections:
          - standard # Captures all standard packages if they do not match another section.
          - default # Contains all imports that could not be matched to another section type.
          - prefix(istio.io/) # Groups all imports with the specified Prefix.
      goimports:
        # put imports beginning with prefix after 3rd-party packages;
        # it's a comma-separated list of prefixes
        local-prefixes: istio.io/
    issues:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 03:02:37 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/api_test.go

    		if pkg == nil {
    			t.Errorf("for %s importer, type-checking failed to return a package", compiler)
    			continue
    		}
    
    		imports := pkg.Imports()
    		if len(imports) != 1 {
    			t.Errorf("for %s importer, got %d imports, want 1", compiler, len(imports))
    			continue
    		}
    		imp := imports[0]
    		if imp.Name() != "foo" {
    			t.Errorf(`for %s importer, got %q, want "foo"`, compiler, imp.Name())
    			continue
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_tidy_compat_added.txt

    
    # For this module, Go 1.17 produces an error for one module, and Go 1.16
    # produces a different error for a different module.
    
    cp go.mod go.mod.orig
    
    ! go mod tidy
    
    stderr '^go: example\.com/m imports\n\texample\.net/added: module example\.net/added@latest found \(v0\.3\.0, replaced by \./a1\), but does not contain package example\.net/added$'
    
    cmp go.mod go.mod.orig
    
    # Make sure that -diff behaves the same as tidy.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. cmd/import-boss/README.md

    packages" which are more sophisticated than Go's `internal` convention.
    
    If inverse rules are found, then all known imports of the package are checked
    against each such rule, in the same fashion as regular rules.  Note that this
    can only handle known imports, which is defined as any package which is also
    being considered by this `import-boss` run.  For most repositories, `./...` will
    suffice.
    
    Example:
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:36 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/inittask.go

    // other, mirroring the import dependencies. So if package p
    // imports package q, then there will be a dependency p -> q.
    // We can't initialize package p until after package q has
    // already been initialized.
    //
    // Package dependencies are encoded with relocations. If package
    // p imports package q, then package p's inittask record will
    // have a R_INITORDER relocation pointing to package q's inittask
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 20:09:45 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/references/FirIdeNormalAnalysisScriptSourceModuleReferenceImportAliasTestGenerated.java

    /** This class is generated by {@link org.jetbrains.kotlin.generators.tests.analysis.api.GenerateAnalysisApiTestsKt}. DO NOT MODIFY MANUALLY */
    @SuppressWarnings("all")
    @TestMetadata("analysis/analysis-api/testData/imports/importAliases")
    @TestDataPath("$PROJECT_ROOT")
    public class FirIdeNormalAnalysisScriptSourceModuleReferenceImportAliasTestGenerated extends AbstractReferenceImportAliasTest {
      @NotNull
      @Override
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Feb 27 20:30:06 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/DynamicGroovyPluginMixin.groovy

     */
    trait DynamicGroovyPluginMixin {
        void withPluginCode(String imports, String codeUnderTest, boolean enableIndy) {
            file("buildSrc/src/main/groovy/SomePlugin.groovy") << """
                import ${Plugin.name}
                import ${Project.name}
    
                $imports
    
                class SomePlugin implements Plugin<Project> {
                    void apply(Project project) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_tidy_compat_implicit.txt

    # error, with useful suggestions about how to resolve it.
    
    cp go.mod go.mod.orig
    ! go mod tidy
    stderr '^go: example\.com/m imports\n\texample\.net/lazy tested by\n\texample\.net/lazy.test imports\n\texample\.com/retract/incompatible loaded from example\.com/retract/incompatible@v1\.0\.0,\n\tbut go 1\.16 would select v2\.0\.0\+incompatible\n\n'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top