Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 38 for Ordinary (0.57 sec)

  1. maven-settings-builder/src/main/java/org/apache/maven/settings/building/StringSettingsSource.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.settings.building;
    
    import org.apache.maven.building.StringSource;
    
    /**
     * Wraps an ordinary {@link CharSequence} as a settings source.
     *
     *
     * @deprecated instead use {@link StringSource}
     */
    @Deprecated
    public class StringSettingsSource extends StringSource implements SettingsSource {
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultPathTranslator.java

                    // drive-relative Windows path, don't align with project directory but with drive root
                    result = file.getAbsolutePath();
                } else {
                    // an ordinary relative path, align with project directory
                    result = basedir.resolve(path).normalize().toString();
                }
            }
    
            return result;
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Feb 26 17:04:44 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/configuration/BasedirBeanConfigurationPathTranslator.java

                    // drive-relative Windows path, don't align with base dir but with drive root
                    result = path.getAbsoluteFile();
                } else {
                    // an ordinary relative path, align with base dir
                    result = new File(new File(basedir, path.getPath()).toURI().normalize()).getAbsoluteFile();
                }
            }
    
            return result;
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  4. maven-builder-support/src/main/java/org/apache/maven/building/UrlSource.java

     * under the License.
     */
    package org.apache.maven.building;
    
    import java.io.IOException;
    import java.io.InputStream;
    import java.net.URL;
    import java.util.Objects;
    
    /**
     * Wraps an ordinary {@link URL} as a source.
     *
     */
    public class UrlSource implements Source {
    
        private final URL url;
    
        private final int hashCode;
    
        /**
         * Creates a new source backed by the specified URL.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Feb 26 17:04:44 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. maven-model-builder/src/main/java/org/apache/maven/model/building/FileModelSource.java

    import java.io.File;
    import java.net.URI;
    import java.nio.file.Path;
    
    import org.apache.maven.building.FileSource;
    import org.apache.maven.model.locator.ModelLocator;
    
    /**
     * Wraps an ordinary {@link File} as a model source.
     *
     */
    public class FileModelSource extends FileSource implements ModelSource3 {
    
        /**
         * Creates a new model 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.8K bytes
    - Viewed (0)
  6. src/maps/maps.go

    }
    
    // clone is implemented in the runtime package.
    //
    //go:linkname clone maps.clone
    func clone(m any) any
    
    // Clone returns a copy of m.  This is a shallow clone:
    // the new keys and values are set using ordinary assignment.
    func Clone[M ~map[K]V, K comparable, V any](m M) M {
    	// Preserve nil in case it matters.
    	if m == nil {
    		return nil
    	}
    	return clone(m).(M)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 28 20:35:05 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top