Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 262 for cloneOf (0.32 sec)

  1. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

            return restrictions;
        }
    
        /**
         * @deprecated VersionRange is immutable, cloning is not useful and even more an issue against the cache
         * @return a clone
         */
        @Deprecated
        public VersionRange cloneOf() {
            List<Restriction> copiedRestrictions = null;
    
            if (restrictions != null) {
                copiedRestrictions = new ArrayList<>();
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  2. maven-core/src/test/resources/apiv4-repo/org/apache/maven/artifact/maven-artifact/3.0-SNAPSHOT/maven-artifact-3.0-SNAPSHOT.jar

    ArtifactVersion recommendedVersion; private final java.util.List restrictions; private void VersionRange(ArtifactVersion, java.util.List); public ArtifactVersion getRecommendedVersio(); public java.util.List getRestrictions(); public VersionRange cloneOf(); public static VersionRange createFromVersionSpe(String) throws InvalidVersionSpecif; private static Restriction parseRestriction(String) throws InvalidVersionSpecif; public static VersionRange createFromVersion(String); public VersionRange res...
    Archive
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 160.1K bytes
    - Viewed (0)
  3. maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/artifact/maven-artifact/3.0-SNAPSHOT/maven-artifact-3.0-SNAPSHOT.jar

    ArtifactVersion recommendedVersion; private final java.util.List restrictions; private void VersionRange(ArtifactVersion, java.util.List); public ArtifactVersion getRecommendedVersio(); public java.util.List getRestrictions(); public VersionRange cloneOf(); public static VersionRange createFromVersionSpe(String) throws InvalidVersionSpecif; private static Restriction parseRestriction(String) throws InvalidVersionSpecif; public static VersionRange createFromVersion(String); public VersionRange res...
    Archive
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Tue Oct 16 20:15:40 GMT 2007
    - 160.1K bytes
    - Viewed (0)
  4. internal/s3select/simdj/record.go

    	r.object = simdjson.Object{}
    }
    
    // Clone the record and if possible use the destination provided.
    func (r *Record) Clone(dst sql.Record) sql.Record {
    	other, ok := dst.(*Record)
    	if !ok {
    		other = &Record{}
    	}
    	other.object = r.object
    	return other
    }
    
    // CloneTo clones the record to a json Record.
    // Values are only unmashaled on object level.
    func (r *Record) CloneTo(dst *json.Record) (sql.Record, error) {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 5.4K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelResolver.java

        /**
         * Clones this resolver for usage in a forked resolution process. In general, implementors need not provide a deep
         * clone. The only requirement is that invocations of {@link #addRepository(Session, Repository)} on the clone do not affect
         * the state of the original resolver and vice versa.
         *
         * @return The cloned resolver, never {@code null}.
         */
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/NtlmNtHashAuthenticator.java

        protected byte[] getNTHash () {
            return this.ntHash;
        }
    
    
        @Override
        public NtlmPasswordAuthenticator clone () {
            NtlmNtHashAuthenticator cloned = new NtlmNtHashAuthenticator(this.ntHash.clone());
            cloneInternal(cloned, this);
            return cloned;
        }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 2.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/MessageDigestHashFunction.java

     * @author Dimitris Andreou
     */
    @Immutable
    @ElementTypesAreNonnullByDefault
    final class MessageDigestHashFunction extends AbstractHashFunction implements Serializable {
    
      @SuppressWarnings("Immutable") // cloned before each use
      private final MessageDigest prototype;
    
      private final int bytes;
      private final boolean supportsClone;
      private final String toString;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 25 20:32:46 GMT 2022
    - 5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/MacHashFunction.java

     *
     * @author Kurt Alfred Kluever
     */
    @Immutable
    @ElementTypesAreNonnullByDefault
    final class MacHashFunction extends AbstractHashFunction {
    
      @SuppressWarnings("Immutable") // cloned before each use
      private final Mac prototype;
    
      @SuppressWarnings("Immutable") // keys are immutable, but not provably so
      private final Key key;
    
      private final String toString;
      private final int bits;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 15 22:31:55 GMT 2022
    - 3.6K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/project/MavenProjectTest.java

            MavenProject clonedProject = projectToClone.clone();
            assertEquals(projectToClone.getFile(), clonedProject.getFile(), "POM file is preserved across clone");
            assertEquals(
                    projectToClone.getBasedir(), clonedProject.getBasedir(), "Base directory is preserved across clone");
        }
    
        @Test
        void testUndefinedOutputDirectory() throws Exception {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 8K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/CallKotlinTest.kt

        server.enqueue(MockResponse(body = "def"))
    
        val request = Request(server.url("/"))
    
        val call = client.newCall(request)
        val response1 = call.execute()
    
        val cloned = call.clone()
        val response2 = cloned.execute()
    
        assertThat("abc").isEqualTo(response1.body.string())
        assertThat("def").isEqualTo(response2.body.string())
      }
    
      @Test
      @Flaky
      fun testMockWebserverRequest() {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 8.4K bytes
    - Viewed (0)
Back to top