Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 316 for importPos (0.21 sec)

  1. src/internal/types/testdata/check/importdecl0/importdecl0a.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package importdecl0
    
    import ()
    
    import (
    	// we can have multiple blank imports (was bug)
    	_ "math"
    	_ "net/rpc"
    	init /* ERROR "cannot import package as init" */ "fmt"
    	// reflect defines a type "flag" which shows up in the gc export data
    	"reflect"
    	. /* ERROR "imported and not used" */ "reflect"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. src/go/ast/import.go

    // SortImports sorts runs of consecutive import lines in import blocks in f.
    // It also removes duplicate imports when it is possible to do so without data loss.
    func SortImports(fset *token.FileSet, f *File) {
    	for _, d := range f.Decls {
    		d, ok := d.(*GenDecl)
    		if !ok || d.Tok != token.IMPORT {
    			// Not an import declaration, so we're done.
    			// Imports are always first.
    			break
    		}
    
    		if !d.Lparen.IsValid() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/ProcessInBuildScriptIntegrationTest.groovy

            given:
            def snippets = snippetsFactory.newSnippets(execOperationsFixture)
            testDirectory.file(file) << """
                ${snippets.imports}
                ${snippets.body}
            """
    
            when:
            configurationCacheFails(":help")
    
            then:
            failure.assertOutputContains("Hello")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/compilerFacility/FirIdeNormalAnalysisLibrarySourceModuleCompilerFacilityTestGenerated.java

        runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/dependencyBetweenBinaryLibraries.kt");
      }
    
      @Test
      @TestMetadata("imports.kt")
      public void testImports() {
        runTest("analysis/analysis-api/testData/components/compilerFacility/compilation/imports.kt");
      }
    
      @Test
      @TestMetadata("internalUsage.kt")
      public void testInternalUsage() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Apr 16 19:18:28 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/PropertyAccessResolver.kt

            lookupNamedValueInScopes(propertyAccess, onLocalValue, onProperty)
    
            if (propertyAccess.name in imports) {
                schema.externalObjectsByFqName[imports[propertyAccess.name]]?.let { external ->
                    onExternal(ObjectOrigin.External(external, propertyAccess))
                }
            }
        }
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:01 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  6. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtImportOptimizer.kt

    }
    
    public typealias KtImportOptimizer = KaImportOptimizer
    
    public interface KaImportOptimizerMixIn : KaSessionMixIn {
    
        /**
         * Takes [file] and inspects its imports and their usages,
         * so they can be optimized based on the resulting [KaImportOptimizerResult].
         *
         * Does **not** change the file.
         */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/ImplicitImports.kt

    package org.gradle.kotlin.dsl.support
    
    import org.gradle.configuration.ImportsReader
    import org.gradle.internal.service.scopes.Scope
    import org.gradle.internal.service.scopes.ServiceScope
    
    
    /**
     * Holds the list of imports implicitly added to every Kotlin build script.
     */
    @ServiceScope(Scope.Global::class)
    class ImplicitImports internal constructor(
        @Transient
        private val importsReader: ImportsReader
    ) {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. hack/verify-import-boss.sh

    # limitations under the License.
    
    # This script checks import restrictions. The script looks for a file called
    # `.import-restrictions` in each directory, then all imports of the package are
    # checked against each "rule" in the file.
    # Usage: `hack/verify-import-boss.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:07:36 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. docs/es/docs/tutorial/cookie-params.md

        ```
    
    !!! note "Detalles Técnicos"
        `Cookie` es una clase "hermana" de `Path` y `Query`. También hereda de la misma clase común `Param`.
    
        Pero recuerda que cuando importas `Query`, `Path`, `Cookie`  y otros de `fastapi`, en realidad son funciones que devuelven clases especiales.
    
    !!! info
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Apr 19 19:30:26 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/ExternalProcessFixture.groovy

                }
            }
        }
    
        private static Snippets newSnippets(String body, String imports) {
            return new Snippets() {
                @Override
                String getBody() {
                    return body
                }
    
                @Override
                String getImports() {
                    return imports
                }
            }
        }
    
        static PrintProcessOutput processBuilder() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top