Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 106 for noImports (0.15 sec)

  1. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/DefaultSourceIncludesParserTest.groovy

            given:
            def file = new File("test")
            def noImports = Mock(IncludeDirectives)
    
            when:
            def includesParser = new DefaultSourceIncludesParser(sourceParser, false)
    
            1 * sourceParser.parseSource(file) >> sourceIncludes
            1 * sourceIncludes.discardImports() >> noImports
            0 * sourceIncludes._
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_tidy_sum.txt

    ! grep rsc.io/sampler go.sum
    
    # go.sum with no entries is OK to keep
    # (better for version control not to delete and recreate.)
    cp x.go.noimports x.go
    go mod tidy
    exists go.sum
    ! grep . go.sum
    
    -- go.mod --
    module x
    -- x.go --
    package x
    import _ "rsc.io/quote"
    -- x.go.noimports --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 742 bytes
    - Viewed (0)
  3. analysis/analysis-api-standalone/tests-gen/org/jetbrains/kotlin/analysis/api/standalone/fir/test/cases/generated/cases/components/scopeProvider/FirStandaloneNormalAnalysisSourceModuleFileImportingScopeContextTestGenerated.java

        runTest("analysis/analysis-api/testData/components/scopeProvider/importingScopeContext/importAlias.kt");
      }
    
      @Test
      @TestMetadata("noImports.kt")
      public void testNoImports() {
        runTest("analysis/analysis-api/testData/components/scopeProvider/importingScopeContext/noImports.kt");
      }
    
      @Test
      @TestMetadata("simpleImport.kt")
      public void testSimpleImport() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Feb 27 20:30:06 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/scopeProvider/FirIdeNormalAnalysisSourceModuleFileImportingScopeContextTestGenerated.java

        runTest("analysis/analysis-api/testData/components/scopeProvider/importingScopeContext/importAlias.kt");
      }
    
      @Test
      @TestMetadata("noImports.kt")
      public void testNoImports() {
        runTest("analysis/analysis-api/testData/components/scopeProvider/importingScopeContext/noImports.kt");
      }
    
      @Test
      @TestMetadata("simpleImport.kt")
      public void testSimpleImport() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Feb 27 20:30:06 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/sourceparser/RegexBackedCSourceParserTest.groovy

            sourceFile << ""
    
            then:
            noIncludes()
            noImports()
        }
    
        def "finds quoted include"() {
            when:
            sourceFile << """
        #include "test.h"
    """
    
            then:
            includes == [new IncludeWithSimpleExpression('test.h', false, IncludeType.QUOTED)]
    
            and:
            noImports()
        }
    
        def "finds quoted include on first line of file"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 34.3K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/scopeProvider/FirIdeDependentAnalysisSourceModuleFileImportingScopeContextTestGenerated.java

        runTest("analysis/analysis-api/testData/components/scopeProvider/importingScopeContext/importAlias.kt");
      }
    
      @Test
      @TestMetadata("noImports.kt")
      public void testNoImports() {
        runTest("analysis/analysis-api/testData/components/scopeProvider/importingScopeContext/noImports.kt");
      }
    
      @Test
      @TestMetadata("simpleImport.kt")
      public void testSimpleImport() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Feb 27 20:30:06 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. pkg/util/iptables/testing/parse_test.go

    		err       string
    	}{
    		{
    			name: "basic rule",
    			rule: `-A KUBE-NODEPORTS -m comment --comment "ns2/svc2:p80 health check node port" -m tcp -p tcp --dport 30000 -j ACCEPT`,
    			parsed: &Rule{
    				Raw:             `-A KUBE-NODEPORTS -m comment --comment "ns2/svc2:p80 health check node port" -m tcp -p tcp --dport 30000 -j ACCEPT`,
    				Chain:           iptables.Chain("KUBE-NODEPORTS"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 26K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/nodeports/node_ports.go

    type NodePorts struct{}
    
    var _ framework.PreFilterPlugin = &NodePorts{}
    var _ framework.FilterPlugin = &NodePorts{}
    var _ framework.EnqueueExtensions = &NodePorts{}
    
    const (
    	// Name is the name of the plugin used in the plugin registry and configurations.
    	Name = names.NodePorts
    
    	// preFilterStateKey is the key in CycleState to NodePorts pre-computed data.
    	// Using the name of the plugin will likely help us avoid collisions with other plugins.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 10:53:29 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. .golangci.yml

    linters:
      enable:
        - cyclop
        - exportloopref
        - gocritic
        - gosec
        - ineffassign
        - misspell
        - prealloc
        - unconvert
        - unparam
        - goimports
        - whitespace
    
    linters-settings:
      whitespace:
        multi-func: true
      goimports:
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sat Nov 05 00:37:37 UTC 2022
    - 291 bytes
    - Viewed (0)
  10. pkg/quota/v1/evaluator/core/services_test.go

    		},
    		"nodeports": {
    			service: &api.Service{
    				Spec: api.ServiceSpec{
    					Type: api.ServiceTypeNodePort,
    					Ports: []api.ServicePort{
    						{
    							Port: 27443,
    						},
    					},
    				},
    			},
    			required: []corev1.ResourceName{corev1.ResourceServicesNodePorts},
    		},
    		"multi-nodeports": {
    			service: &api.Service{
    				Spec: api.ServiceSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 16 15:48:58 UTC 2021
    - 9.4K bytes
    - Viewed (0)
Back to top