Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for trimpath (0.04 sec)

  1. buildscripts/cross-compile.sh

    	os="${arr[0]}"
    	arch="${arr[1]}"
    	package=$(go list -f '{{.ImportPath}}')
    	printf -- "--> %15s:%s\n" "${osarch}" "${package}"
    
    	# go build -trimpath to build the binary.
    	export GOOS=$os
    	export GOARCH=$arch
    	export GO111MODULE=on
    	go build -trimpath -tags kqueue -o /dev/null
    }
    
    function main() {
    	echo "Testing builds for OS/Arch: ${SUPPORTED_OSARCH}"
    	for each_osarch in ${SUPPORTED_OSARCH}; do
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Jun 08 16:12:05 UTC 2025
    - 972 bytes
    - Viewed (0)
  2. src/cmd/asm/internal/flags/flags.go

    	"strings"
    )
    
    var (
    	Debug      = flag.Bool("debug", false, "dump instructions as they are parsed")
    	OutputFile = flag.String("o", "", "output file; default foo.o for /a/b/c/foo.s as first argument")
    	TrimPath   = flag.String("trimpath", "", "remove prefix from recorded source file paths")
    	Shared     = flag.Bool("shared", false, "generate code that can be linked into a shared library")
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 22 19:18:23 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/lex/tokenizer.go

    		scanner.ScanStrings |
    		scanner.ScanComments
    	s.Position.Filename = name
    	s.IsIdentRune = isIdentRune
    	return &Tokenizer{
    		s:    &s,
    		base: src.NewFileBase(name, objabi.AbsFile(objabi.WorkingDir(), name, *flags.TrimPath)),
    		line: 1,
    		file: file,
    	}
    }
    
    // We want center dot (·) and division slash (∕) to work as identifier characters.
    func isIdentRune(ch rune, i int) bool {
    	if unicode.IsLetter(ch) {
    		return true
    	}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Aug 04 20:35:21 UTC 2022
    - 3K bytes
    - Viewed (0)
  4. src/cmd/asm/doc.go

    	-p pkgpath
    		Set expected package import to pkgpath.
    	-shared
    		Generate code that can be linked into a shared library.
    	-spectre list
    		Enable spectre mitigations in list (all, ret).
    	-trimpath prefix
    		Remove prefix from recorded source file paths.
    	-v
    		Print debug output.
    
    Input language:
    
    The assembler uses mostly the same syntax for all architectures,
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 22 20:46:45 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderRequest.java

        @Nonnull
        static SettingsBuilderRequest build(
                @Nonnull ProtoSession session, @Nonnull Path installationSettingsPath, @Nonnull Path userSettingsPath) {
            return build(session, Sources.fromPath(installationSettingsPath), null, Sources.fromPath(userSettingsPath));
        }
    
        @Nonnull
        static SettingsBuilderRequest build(
                @Nonnull ProtoSession session,
                @Nullable Source installationSettingsSource,
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java

            Source source = Sources.fromPath(testFile);
            try (InputStream inputStream = source.openStream()) {
                String readContent = new String(inputStream.readAllBytes());
                assertEquals(content, readContent);
            }
        }
    
        @Test
        void testNullHandling() {
            assertThrows(NullPointerException.class, () -> Sources.fromPath(null));
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderRequest.java

                                    ? Sources.fromPath(installationToolchainsFile)
                                    : null)
                    .userToolchainsSource(
                            userToolchainsPath != null && Files.exists(userToolchainsPath)
                                    ? Sources.fromPath(userToolchainsPath)
                                    : null)
                    .build();
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java

         *
         * @param path the path to the file
         * @return a new Source instance
         * @throws NullPointerException if path is null
         */
        @Nonnull
        public static Source fromPath(@Nonnull Path path) {
            return new PathSource(requireNonNull(path, "path"));
        }
    
        /**
         * Creates a new build source for the specified path.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 8K bytes
    - Viewed (0)
Back to top