Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 666 for ximports (0.17 sec)

  1. src/go/internal/srcimporter/srcimporter_test.go

    	}
    
    	nimports := 0
    	hasGoFiles := false
    	for _, f := range list {
    		if f.IsDir() {
    			n, abort := walkDir(t, filepath.Join(path, f.Name()), endTime)
    			nimports += n
    			if abort {
    				return nimports, true
    			}
    		} else if strings.HasSuffix(f.Name(), ".go") {
    			hasGoFiles = true
    		}
    	}
    
    	if hasGoFiles {
    		doImport(t, path, "")
    		nimports++
    	}
    
    	return nimports, false
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  2. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/imports.txt

    Jinseong Jeon <******@****.***> 1701411264 -0800
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Dec 21 15:34:34 UTC 2023
    - 154 bytes
    - Viewed (0)
  3. analysis/analysis-api/testData/components/compilerFacility/compilation/imports.kt

    import java.io.File
    
    fun main() {
        File("foo").writeText("Hello, world!")
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Aug 07 16:22:01 UTC 2023
    - 78 bytes
    - Viewed (0)
  4. hack/verify-import-boss.sh

    # See the License for the specific language governing permissions and
    # 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)
  5. src/cmd/go/testdata/script/vet_internal.txt

    package a
    
    import (
      _ "a/x/internal/y"
    )
    
    -- a/a_test.go --
    package a
    
    import (
      _ "a/x/internal/y"
    )
    
    -- b/b.go --
    // A package with a bad import in test only
    package b
    
    -- b/b_test.go --
    package b
    
    import (
      _ "a/x/internal/y"
    )
    
    -- depends-on-a/depends-on-a.go --
    // A package that depends on a package with a bad import
    package depends
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 27 21:13:06 UTC 2020
    - 1.5K bytes
    - Viewed (0)
  6. common/config/.golangci-format.yml

    linters:
      disable-all: true
      enable:
      - goimports
      - gofumpt
      - gci
      fast: false
    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:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 03:02:37 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/imports.kt

    // MODULE: context
    
    // FILE: context.kt
    import java.util.TreeSet
    
    fun test() {
        <caret_context>val x = 0
    }
    
    
    // MODULE: main
    // MODULE_KIND: CodeFragment
    // CONTEXT_MODULE: context
    
    // FILE: fragment.kt
    // CODE_FRAGMENT_KIND: EXPRESSION
    // CODE_FRAGMENT_IMPORT: java.io.File
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jan 30 11:41:26 UTC 2024
    - 310 bytes
    - Viewed (0)
  8. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/sourceparser/RegexBackedCSourceParserTest.groovy

            when:
            sourceFile << """
        #import "test1"
        #import "test2"
        #import <system1>
        #import <system2>
        #import DEFINED
    """
            then:
            imports == ['"test1"', '"test2"', '<system1>', '<system2>', 'DEFINED'].collect { include(it, true) }
    
            and:
            noIncludes()
        }
    
        def "finds mixed import include statement imports"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 34.3K bytes
    - Viewed (0)
  9. src/go/internal/gcimporter/gcimporter_test.go

    	if runtime.Compiler != "gc" {
    		t.Skipf("gc-built packages not available (compiler = %s)", runtime.Compiler)
    	}
    
    	imports := make(map[string]*types.Package)
    	fset := token.NewFileSet()
    	_, err := Import(fset, imports, "net/http", ".", nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	mutex := imports["sync"].Scope().Lookup("Mutex").(*types.TypeName).Type()
    	mset := types.NewMethodSet(types.NewPointer(mutex)) // methods of *sync.Mutex
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  10. .golangci.yml

        - durationcheck
        - gocritic
        - gofumpt
        - goimports
        - gomodguard
        - govet
        - ineffassign
        - misspell
        - revive
        - staticcheck
        - tenv
        - typecheck
        - unconvert
        - unused
    
    issues:
      exclude-use-default: false
      exclude:
        - "empty-block:"
        - "unused-parameter:"
        - "dot-imports:"
        - should have a package comment
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Dec 07 02:17:03 UTC 2023
    - 689 bytes
    - Viewed (0)
Back to top