Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 434 for imposes (0.24 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/tests/tests.go

    	var ret []types.Object
    	// Search through the imports to see if any of them define name.
    	// It's hard to tell in general which package is being tested, so
    	// for the purposes of the analysis, allow the object to appear
    	// in any of the imports. This guarantees there are no false positives
    	// because the example needs to use the object so it must be defined
    	// in the package or one if its imports. On the other hand, false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/cgocall/cgocall.go

    		}
    		found := false
    		for _, spec := range f.Imports {
    			if spec.Path.Value == `"C"` {
    				found = true
    				break
    			}
    		}
    		if !found {
    			continue // not a cgo file
    		}
    
    		// Record the original import map.
    		for _, spec := range raw.Imports {
    			path, _ := strconv.Unquote(spec.Path.Value)
    			importMap[path] = imported(info, spec)
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/settings/SoftwareTypeDeclarationIntegrationTest.groovy

            failure.assertHasCause("Type 'org.gradle.test.SoftwareTypeImplPlugin' is registered as a software type plugin, but it exposes multiple software types.")
        }
    
        def 'sensible error when a software type plugin exposes a private software type'() {
            given:
            withSoftwareTypePluginThatExposesPrivateSoftwareType().prepareToExecute()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 19 16:59:01 UTC 2024
    - 11K 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. src/image/draw/draw.go

    			s := spix[i : i+4 : i+4] // Small cap improves performance, see https://golang.org/issue/27857
    			sr := uint32(s[0]) * 0x101
    			sg := uint32(s[1]) * 0x101
    			sb := uint32(s[2]) * 0x101
    			sa := uint32(s[3]) * 0x101
    
    			// The 0x101 is here for the same reason as in drawRGBA.
    			a := (m - sa) * 0x101
    
    			d := dpix[i : i+4 : i+4] // Small cap improves performance, see https://golang.org/issue/27857
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 17:08:05 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  6. 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)
  7. src/cmd/dist/buildtool.go

    		if path == "internal/reflectlite" {
    			lines[i] = strings.ReplaceAll(line, `"reflect"`, `reflectlite "reflect"`)
    			continue
    		}
    
    		// Otherwise, reject direct imports of internal packages,
    		// since that implies knowledge of internal details that might
    		// change from one bootstrap toolchain to the next.
    		// There are many internal packages that are listed in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 23:29:41 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. src/go/build/build_test.go

    }
    
    func TestDotSlashImport(t *testing.T) {
    	p, err := ImportDir("testdata/other", 0)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(p.Imports) != 1 || p.Imports[0] != "./file" {
    		t.Fatalf("testdata/other: Imports=%v, want [./file]", p.Imports)
    	}
    
    	p1, err := Import("./file", "testdata/other", 0)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if p1.Name != "file" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 15 16:24:01 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  9. maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java

            DefaultModelBuildingRequest request = new DefaultModelBuildingRequest();
            request.setModelSource(new FileModelSource(new File(
                    getClass().getResource("/poms/depmgmt/root-two-imports.xml").getFile())));
            request.setModelResolver(new BaseModelResolver() {
                public ModelSource resolveModel(org.apache.maven.model.Dependency dependency)
                        throws UnresolvableModelException {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Feb 01 16:25:04 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/Files.java

       * @deprecated Prefer {@code asCharSource(file, charset).read()}.
       */
      @Deprecated
      @InlineMe(
          replacement = "Files.asCharSource(file, charset).read()",
          imports = "com.google.common.io.Files")
      public static String toString(File file, Charset charset) throws IOException {
        return asCharSource(file, charset).read();
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 33.1K bytes
    - Viewed (0)
Back to top