Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 174 for Ordinary (0.12 sec)

  1. maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java

    package org.apache.maven.building;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.InputStream;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.util.Objects;
    
    /**
     * Wraps an ordinary {@link File} as a source.
     *
     */
    public class FileSource implements Source {
        private final Path path;
    
        private final int hashCode;
    
        /**
         * Creates a new source backed by the specified file.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Feb 26 17:04:44 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. maven-builder-support/src/main/java/org/apache/maven/building/StringSource.java

     */
    package org.apache.maven.building;
    
    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.nio.charset.StandardCharsets;
    
    /**
     * Wraps an ordinary {@link CharSequence} as a source.
     *
     */
    public class StringSource implements Source {
        private final String content;
    
        private final String location;
    
        private final int hashCode;
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4.java

             * gets occasionally extended by newer Maven versions). This imposes the risk for existing plugins to
             * unintentionally use such a magic expression for an ordinary property. So here we check whether we
             * ended up with a magic value that is not compatible with the type of the configured mojo parameter (a string
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jan 30 23:39:19 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_tagged_import_cycle.txt

    # Because 'go mod' subcommands ignore build constraints, they can encounter
    # package-import cycles that are not possible in an ordinary build. This test
    # verifies that such cycles are handled even when they cross module boundaries.
    
    # First, verify that the import graph depends on build tags as expected.
    go list -deps example.com/left
    stdout '^example.com/right$'
    go list -deps example.com/right
    ! stdout left
    
    env GOFLAGS=-tags=mirror
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 21 19:58:38 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  5. src/testing/helperfuncs_test.go

    		t.Error(msg)
    	}
    	fn("4")
    
    	t.Run("sub", func(t *testing.T) {
    		helper(t, "5")
    		notHelperCallingHelper(t, "6")
    		// Check that calling Helper from inside a subtest entry function
    		// works as if it were in an ordinary function call.
    		t.Helper()
    		t.Error("7")
    	})
    
    	// Check that right caller is reported for func passed to Cleanup when
    	// multiple cleanup functions have been registered.
    	t.Cleanup(func() {
    		t.Helper()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:24:47 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  6. src/runtime/time_fake.go

    // We have to avoid write barriers to avoid potential deadlock
    // on write calls.
    //
    //go:nowritebarrierrec
    func write(fd uintptr, p unsafe.Pointer, n int32) int32 {
    	if !(fd == 1 || fd == 2) {
    		// Do an ordinary write.
    		return write1(fd, p, n)
    	}
    
    	// Write with the playback header.
    
    	// First, lock to avoid interleaving writes.
    	lock(&faketimeState.lock)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:15:13 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectSegment.java

     * into TaskSegments. This class represents the execution context of one such task segment.
     * </p>
     * <p>
     * Wise voices have suggested that maybe aggregators shouldn't be bound to the ordinary
     * lifecycle at all, in which case we wouldn't be needing this class at all ( and
     * ProjectBuildList.getByTaskSegments). Or maybe they should be introduced in the calculation
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_test.txt

    package c_test
    
    -- c_test/c_test_test.go --
    package c_test_test
    
    import "testing"
    
    func Test(t *testing.T) {}
    
    -- d_test/go.mod --
    // Package d is an ordinary package in a deceptively-named directory.
    module example.com/d
    
    -- d_test/d.go --
    package d
    
    -- d_test/d_test.go --
    package d_test
    
    import "testing"
    
    func Test(t *testing.T) {}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 17 21:24:05 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  9. test/nosplit.go

    # The linker should accept the test case on systems not explicitly rejected.
    #
    # 64-bit systems do not attempt to execute test cases with frame sizes
    # that are only 32-bit aligned.
    
    # Ordinary function should work
    start 0
    
    # Large frame marked nosplit is always wrong.
    # Frame is so large it overflows cmd/link's int16.
    start 100000 nosplit
    REJECT
    
    # Calling a large frame is okay.
    start 0 call big
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  10. src/path/filepath/symlink.go

    				if len(dest) > volLen {
    					dest += pathSeparator
    				}
    				dest += ".."
    			} else {
    				// Discard everything since the last slash.
    				dest = dest[:r]
    			}
    			continue
    		}
    
    		// Ordinary path component. Add it to result.
    
    		if len(dest) > filepathlite.VolumeNameLen(dest) && !os.IsPathSeparator(dest[len(dest)-1]) {
    			dest += pathSeparator
    		}
    
    		dest += path[start:end]
    
    		// Resolve symlink.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:50 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top