Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for sourceLocation (0.18 sec)

  1. platforms/core-configuration/model-groovy/src/main/java/org/gradle/model/dsl/internal/transform/SourceLocation.java

    import javax.annotation.Nullable;
    import java.net.URI;
    
    public class SourceLocation {
        private final @Nullable URI uri;
        private final String scriptSourceDescription;
        private final String expression;
        private final int lineNumber;
        private final int columnNumber;
    
        public SourceLocation(@Nullable URI uri, String scriptSourceDescription, String expression, int lineNumber, int columnNumber) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-groovy/src/main/java/org/gradle/model/dsl/internal/transform/ClosureBackedRuleFactory.java

            //      that would entail adding location information to the model {} outer closure.
            @Override
            public SourceLocation transform(TransformedClosure closure) {
                SourceLocation sourceLocation = closure.sourceLocation();
                URI uri = sourceLocation.getUri();
                String scheme = uri.getScheme();
                String description;
    
                if ("file".equalsIgnoreCase(scheme)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 6K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-groovy/src/main/java/org/gradle/model/dsl/internal/transform/RuleVisitor.java

                                new ConstantExpression(sourceLocation.getExpression()),
                                new ConstantExpression(sourceLocation.getLineNumber()),
                                new ConstantExpression(sourceLocation.getColumnNumber())
                        )))));
                node.addMethod(new MethodNode("sourceLocation",
                                    Modifier.PUBLIC,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 14:04:39 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-groovy/src/main/java/org/gradle/model/dsl/internal/transform/TransformedClosure.java

        /**
         * Returns the input references for this closure.
         */
        InputReferences inputReferences();
    
        /**
         * Returns the source location for this closure.
         */
        SourceLocation sourceLocation();
    
        /**
         * Marks this closure as a rule action, with the given inputs
         *
         * @param nestedRuleFactory Factory to use to create nested rules.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  5. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/impl/DefaultFileSystemAccess.java

        }
    
        @Override
        public void moveAtomically(String sourceLocation, String targetLocation) throws IOException {
            FileSystemLocationSnapshot sourceSnapshot = read(sourceLocation);
            write(ImmutableList.of(sourceLocation, targetLocation), () -> {
                Files.move(Paths.get(sourceLocation), Paths.get(targetLocation), ATOMIC_MOVE);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:35 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/pkginit/initAsanGlobals.go

    		c = tconv(typecheck.NodAddr(asanLi), types.Types[types.TUNSAFEPTR])
    		c = tconv(c, types.Types[types.TUINTPTR])
    		setField("sourceLocation", c, i)
    	}
    	fn.Body.Append(init...)
    	return globals
    }
    
    // createtypes creates the asanGlobal, asanLocation and defString struct type.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 17 19:36:24 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  7. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/FileSystemAccess.java

        /**
         * Move a file or directory on the actual file system atomically, and update the cached state without having to re-snapshot content in the new location.
         */
        void moveAtomically(String sourceLocation, String targetLocation) throws IOException;
    
        interface WriteListener {
            void locationsWritten(Iterable<String> locations);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 15 08:29:37 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. maven-model/src/main/java/org/apache/maven/model/InputLocation.java

            java.util.Map<Object, InputLocation> sourceLocations = source.getLocations();
            java.util.Map<Object, InputLocation> targetLocations = target.getLocations();
            if (sourceLocations == null) {
                locations = targetLocations;
            } else if (targetLocations == null) {
                locations = sourceLocations;
            } else {
                locations = new java.util.LinkedHashMap();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Oct 19 07:06:15 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  9. api/maven-api-model/src/main/java/org/apache/maven/api/model/InputLocation.java

            Map<Object, InputLocation> locations;
            Map<Object, InputLocation> sourceLocations = source.locations;
            Map<Object, InputLocation> targetLocations = target.locations;
            if (sourceLocations == null) {
                locations = targetLocations;
            } else if (targetLocations == null) {
                locations = sourceLocations;
            } else {
                locations = new LinkedHashMap<>();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Sep 05 16:06:44 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  10. src/mdo/java/InputLocation.java

            Map<Object, InputLocation> locations;
            Map<Object, InputLocation> sourceLocations = source.locations;
            Map<Object, InputLocation> targetLocations = target.locations;
            if (sourceLocations == null) {
                locations = targetLocations;
            } else if (targetLocations == null) {
                locations = sourceLocations;
            } else {
                locations = new LinkedHashMap<>();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 07 21:28:01 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top