Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 287 for Clone (0.01 seconds)

  1. android/guava/src/com/google/common/math/Quantiles.java

         * @throws IllegalArgumentException if {@code indexes} is empty
         */
        public ScaleAndIndexes indexes(int... indexes) {
          return new ScaleAndIndexes(scale, indexes.clone());
        }
    
        /**
         * Specifies multiple quantile indexes to be calculated, each index being the k in the kth
         * q-quantile.
         *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 30.1K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

        // this assertion ever fails we'll need to refactor this implementation.
        var wildcardMatch: String? = null
        if (domainLabelsUtf8Bytes.size > 1) {
          val labelsWithWildcard = domainLabelsUtf8Bytes.clone()
          for (labelIndex in 0 until labelsWithWildcard.size - 1) {
            labelsWithWildcard[labelIndex] = WILDCARD_LABEL
            val rule = publicSuffixList.bytes.binarySearch(labelsWithWildcard, labelIndex)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jul 28 07:33:49 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java

            if (remoteRepository == null) {
                return versioning;
            }
    
            Versioning filteredVersions = versioning.clone();
    
            for (String version : versioning.getVersions()) {
                if (!remoteRepository.getPolicy(ArtifactUtils.isSnapshot(version)).isEnabled()) {
                    filteredVersions.removeVersion(version);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  4. cmd/metrics-v3-handler.go

    			var commonLabels []string
    			for k := range mg.ExtraLabels {
    				commonLabels = append(commonLabels, k)
    			}
    			for _, d := range mg.Descriptors {
    				labels := slices.Clone(d.VariableLabels)
    				labels = append(labels, commonLabels...)
    				metric := metricDisplay{
    					Name:   mg.MetricFQN(d.Name),
    					Help:   d.Help,
    					Type:   d.Type.String(),
    					Labels: labels,
    				}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/reflect/TypesTest.java

            .asList()
            .containsExactlyElementsIn(asList(expected.getBounds()))
            .inOrder();
      }
    
      /**
       * Working with arrays requires defensive code. Verify that we clone the type array for both input
       * and output.
       */
      public void testNewParameterizedTypeImmutability() {
        Type[] typesIn = {String.class, Integer.class};
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Feb 11 19:03:19 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  6. api/maven-api-toolchain/src/main/mdo/toolchains.mdo

        ]]></description>
    
      <defaults>
        <default>
          <key>package</key>
          <value>org.apache.maven.toolchain.model</value>
        </default>
      </defaults>
    
      <classes>
        <class java.clone="deep">
          <name>TrackableBase</name>
          <version>1.1.0+</version>
          <description>
            Common base class that contains code to track the source for this instance.
          </description>
          <codeSegments>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun May 18 09:15:56 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  7. README.md

    open-source software development.
    
    ## Patching guidelines
    
    Follow these steps to patch a specific version of TensorFlow, for example, to
    apply fixes to bugs or security vulnerabilities:
    
    *   Clone the TensorFlow repository and switch to the appropriate branch for
        your desired version—for example, `r2.8` for version 2.8.
    *   Apply the desired changes (i.e., cherry-pick them) and resolve any code
        conflicts.
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Fri Jul 18 14:09:03 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

        Random rnd = new Random(714958103);
        for (int trial = 0; trial < 100; trial++) {
          byte[] left = new byte[1 + rnd.nextInt(32)];
          rnd.nextBytes(left);
          byte[] right = left.clone();
          assertThat(comparator1.compare(left, right)).isEqualTo(0);
          assertThat(comparator2.compare(left, right)).isEqualTo(0);
          int i = rnd.nextInt(left.length);
          left[i] ^= (byte) (1 + rnd.nextInt(255));
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  9. internal/event/targetlist.go

    	wg.Wait()
    	list.totalEvents.Add(1)
    }
    
    func (list *TargetList) sendAsync(event Event, targetIDset TargetIDSet) {
    	select {
    	case list.queue <- asyncEvent{
    		ev:        event,
    		targetSet: targetIDset.Clone(),
    	}:
    	case <-list.ctx.Done():
    		list.eventsSkipped.Add(int64(len(list.queue)))
    		return
    	default:
    		list.eventsSkipped.Add(1)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

    internal fun <T> Array<out T>?.toImmutableList(): List<T> =
      when {
        this.isNullOrEmpty() -> emptyList()
        this.size == 1 -> Collections.singletonList(this[0])
        else -> this.clone().asList().unmodifiable()
      }
    
    /** Closes this, ignoring any checked exceptions. */
    internal fun Socket.closeQuietly() {
      try {
        close()
      } catch (e: AssertionError) {
        throw e
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 10.2K bytes
    - Click Count (1)
Back to Top