Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 256 for clone (3.21 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/ArrayOfPrimitiveValueSnapshot.java

         * {@link #getPrimitiveTypeCode() serialized state}.</b>
         */
        private enum PrimitiveType {
            B(byte[].class) {
                @Override
                public Object clone(Object array) {
                    return ((byte[]) array).clone();
                }
    
                @Override
                public boolean equals(Object x, Object y) {
                    return Arrays.equals((byte[]) x, (byte[]) y);
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  2. maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

            List<ComponentDescriptor<?>> clones = null;
            if (mojos != null) {
                clones = new ArrayList<>(mojos.size());
                for (MojoDescriptor mojo : mojos) {
                    MojoDescriptor clone = mojo.clone();
                    clone.setPluginDescriptor(pluginDescriptor);
                    clones.add(clone);
                }
            }
            return clones;
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Apr 14 17:14:22 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  3. src/crypto/tls/boring_test.go

    	// the client does not offer non-FIPS configurations.
    	fipstls.Force()
    	defer fipstls.Abandon()
    
    	c, s := net.Pipe()
    	defer c.Close()
    	defer s.Close()
    
    	clientConfig := testConfig.Clone()
    	// All sorts of traps for the client to avoid.
    	clientConfig.MinVersion = VersionSSL30
    	clientConfig.MaxVersion = VersionTLS13
    	clientConfig.CipherSuites = allCipherSuites()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:45:37 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  4. src/crypto/tls/quic_test.go

    func TestQUICCanceledWaitingForData(t *testing.T) {
    	config := testConfig.Clone()
    	config.MinVersion = VersionTLS13
    	cli := newTestQUICClient(t, config)
    	cli.conn.SetTransportParameters(nil)
    	cli.conn.Start(context.Background())
    	for cli.conn.NextEvent().Kind != QUICNoEvent {
    	}
    	err := cli.conn.Close()
    	if !errors.Is(err, alertCloseNotify) {
    		t.Errorf("conn.Close() = %v, want alertCloseNotify", err)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

        @Override
        public MavenSession clone() {
            try {
                MavenSession clone = (MavenSession) super.clone();
                // the default must become the current project of the thread that clones this
                MavenProject current = getCurrentProject();
                // we replace the thread local of the clone to prevent write through and enforce the new default value
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. api/maven-api-metadata/src/main/mdo/metadata.mdo

      <defaults>
        <default>
          <key>package</key>
          <value>org.apache.maven.artifact.repository.metadata</value>
        </default>
      </defaults>
      <classes>
        <class rootElement="true" xml.tagName="metadata" java.clone="deep">
          <name>Metadata</name>
          <version>1.0.0+</version>
          <fields>
            <field xml.attribute="true" xml.tagName="modelVersion">
              <name>modelVersion</name>
              <version>1.1.0+</version>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed May 15 17:32:27 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  7. src/cmd/distpack/pack.go

    		h.Name = f.Name
    		if err := tw.WriteHeader(h); err != nil {
    			panic(err)
    		}
    		r := check(os.Open(f.Src))
    		check(io.Copy(tw, r))
    		check1(r.Close())
    	}
    	f.Name = ""
    	check1(tw.Close())
    	check1(zw.Close())
    	check1(out.Close())
    	reportHash(name)
    }
    
    // writeZip writes the archive in zip form to the file named name.
    func writeZip(name string, a *Archive) {
    	out, err := os.Create(name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. api/maven-api-settings/src/main/mdo/settings.mdo

        ]]>
      </description>
      <defaults>
        <default>
          <key>package</key>
          <value>org.apache.maven.settings</value>
        </default>
      </defaults>
      <classes>
        <class java.clone="deep">
          <name>TrackableBase</name>
          <version>1.0.0+</version>
          <description>
            common base class that contains code to track the source for
            this instance (USER|GLOBAL)
          </description>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Feb 17 18:40:11 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  9. src/database/sql/fakedb_test.go

    			if rc.bytesClone == nil {
    				rc.bytesClone = make(map[*byte][]byte)
    			}
    			clone, ok := rc.bytesClone[&bs[0]]
    			if !ok {
    				clone = make([]byte, len(bs))
    				copy(clone, bs)
    				rc.bytesClone[&bs[0]] = clone
    			}
    			dest[i] = clone
    		}
    	}
    	return nil
    }
    
    func (rc *rowsCursor) HasNextResultSet() bool {
    	rc.touchMem()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 12:38:07 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  10. platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/Hashing.java

                }
                int hashBits = prototype.getDigestLength() * 8;
                try {
                    Object ignored = prototype.clone();
                    return new CloningMessageDigestHashFunction(prototype, hashBits);
                } catch (CloneNotSupportedException e) {
                    return new RegularMessageDigestHashFunction(algorithm, hashBits);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:30 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top