Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 251 for Location (0.12 sec)

  1. compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java

        public InputLocation(org.apache.maven.api.model.InputLocation location) {
            this.lineNumber = location.getLineNumber();
            this.columnNumber = location.getColumnNumber();
            this.source = location.getSource() != null ? new InputSource(location.getSource()) : null;
            this.locations = location.getLocations().isEmpty()
                    ? null
                    : location.getLocations().entrySet().stream()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

         * This method is the converse of {@link #location()}.
         *
         * @param location identification of a path in the {@code javax.tool} API
         * @return Java path type associated to the given location
         */
        public static Optional<JavaPathType> valueOf(JavaFileManager.Location location) {
            for (JavaPathType type : JavaPathType.values()) {
                if (location.equals(type.location)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 15K bytes
    - Viewed (0)
  3. cmd/handler-utils.go

    		internalLogOnceIf(GlobalContext, err, "location-constraint-xml-parsing")
    		// Treat all other failures as XML parsing errors.
    		return "", ErrMalformedXML
    	} // else for both err as nil or io.EOF
    	location = locationConstraint.Location
    	if location == "" {
    		location = globalSite.Region()
    	}
    	if !isValidLocation(location) {
    		return location, ErrInvalidRegion
    	}
    
    	return location, ErrNone
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/ClassPath.java

        ImmutableSet<LocationInfo> locations = locationsFrom(classloader);
    
        // Add all locations to the scanned set so that in a classpath [jar1, jar2], where jar1 has a
        // manifest with Class-Path pointing to jar2, we won't scan jar2 twice.
        Set<File> scanned = new HashSet<>();
        for (LocationInfo location : locations) {
          scanned.add(location.file());
        }
    
        // Scan all locations
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 24.9K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/WholeOperationTimeoutTest.kt

          MockResponse.Builder()
            .code(HttpURLConnection.HTTP_MOVED_TEMP)
            .setHeader("Location", "/b")
            .headersDelay(100, TimeUnit.MILLISECONDS)
            .build(),
        )
        server.enqueue(
          MockResponse.Builder()
            .code(HttpURLConnection.HTTP_MOVED_TEMP)
            .setHeader("Location", "/c")
            .headersDelay(100, TimeUnit.MILLISECONDS)
            .build(),
        )
        server.enqueue(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

            if (Files.exists(location)) {
                load(location);
            }
        }
    
        public MavenProperties(boolean substitute) {
            this.substitute = substitute;
        }
    
        public MavenProperties(Path location, boolean substitute) {
            this.location = location;
            this.substitute = substitute;
        }
    
        public void load(Path location) throws IOException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/reflect/ClassPathTest.java

        ImmutableSet<ClassPath.LocationInfo> locations =
            ClassPath.locationsFrom(getClass().getClassLoader());
        assertThat(locations).isNotEmpty();
        for (ClassPath.LocationInfo location : locations) {
          ImmutableSet<ResourceInfo> resources = location.scanResources();
          assertThat(location.scanResources()).containsExactlyElementsIn(resources);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

        ImmutableSet<ClassPath.LocationInfo> locations =
            ClassPath.locationsFrom(getClass().getClassLoader());
        assertThat(locations).isNotEmpty();
        for (ClassPath.LocationInfo location : locations) {
          ImmutableSet<ResourceInfo> resources = location.scanResources();
          assertThat(location.scanResources()).containsExactlyElementsIn(resources);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 25K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

                indent += "  ";
    
                InputLocation location = plugin.getLocation("");
                if (location != null && location.getSource() != null) {
                    trackingData.add(indent + location.getSource().getModelId() + " (implicit)");
                    indent += "  ";
                }
            } else if (collectStepTrace != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

            assertNotNull(result.getProblems());
            assertEquals(0, result.getProblems().size());
        }
    
        @Test
        void testStrictToolchainsParseException() throws Exception {
            Location loc = mock(Location.class);
            when(loc.getLineNumber()).thenReturn(4);
            when(loc.getColumnNumber()).thenReturn(2);
            XMLStreamException parseException = new XMLStreamException("MESSAGE", loc);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
Back to top