Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 49 for cloneOf (0.25 seconds)

  1. guava-tests/test/com/google/common/math/QuantilesAlgorithmTest.java

      public void testSingleQuantile_median() {
        double referenceValue = REFERENCE_ALGORITHM.singleQuantile(1, 2, dataset.clone());
        for (QuantilesAlgorithm algorithm : NON_REFERENCE_ALGORITHMS) {
          assertWithMessage("Mismatch between %s and %s", algorithm, REFERENCE_ALGORITHM)
              .that(algorithm.singleQuantile(1, 2, dataset.clone()))
              .isWithin(ALLOWED_ERROR)
              .of(referenceValue);
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/math/QuantilesAlgorithmTest.java

      public void testSingleQuantile_median() {
        double referenceValue = REFERENCE_ALGORITHM.singleQuantile(1, 2, dataset.clone());
        for (QuantilesAlgorithm algorithm : NON_REFERENCE_ALGORITHMS) {
          assertWithMessage("Mismatch between %s and %s", algorithm, REFERENCE_ALGORITHM)
              .that(algorithm.singleQuantile(1, 2, dataset.clone()))
              .isWithin(ALLOWED_ERROR)
              .of(referenceValue);
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  3. api/next/73450.txt

    pkg net/url, method (*URL) Clone() *URL #73450
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Mar 06 18:48:32 GMT 2026
    - 98 bytes
    - Click Count (0)
  4. gorm.go

    	if sqldb, ok := connPool.(*sql.DB); ok && sqldb != nil {
    		return sqldb, nil
    	}
    
    	return nil, ErrInvalidDB
    }
    
    func (db *DB) getInstance() *DB {
    	if db.clone > 0 {
    		tx := &DB{Config: db.Config, Error: db.Error}
    
    		if db.clone == 1 {
    			// clone with new statement
    			tx.Statement = &Statement{
    				DB:        tx,
    				ConnPool:  db.Statement.ConnPool,
    				Context:   db.Statement.Context,
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  5. .github/workflows/contributor-pr.yml

      GRADLE_BUILD_ACTION_CACHE_DEBUG_ENABLED: true
    
    permissions: {}
    
    jobs:
      build:
        name: "Compile All"
        permissions:
          contents: read
        runs-on: ubuntu-latest
        steps:
          - name: git clone
            uses: actions/checkout@v6
          - id: setup-matrix
            run: echo "matrix=$(jq -c -f .github/workflows/extract-unit-test-split.jq .teamcity/subprojects.json)" >> $GITHUB_OUTPUT
          - name: setup java
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 22:06:44 GMT 2026
    - 5K bytes
    - Click Count (0)
  6. doc/next/6-stdlib/99-minor/net/url/73450.md

    The new [URL.Clone] method creates a deep copy of a URL.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Mar 06 18:48:32 GMT 2026
    - 118 bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/curl/io/ContentCache.java

         * If the content is cached in memory, a clone of the data is returned.
         * If the content is cached in a file, the file contents are read.
         *
         * @return the content as a byte array
         * @throws IOException if an I/O error occurs while reading the file
         */
        public byte[] getContentAsBytes() throws IOException {
            if (data != null) {
                return data.clone();
            }
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

          } catch (Throwable t) {
            threadUnexpectedException(t);
            return null;
          }
        }
      }
    
      <T> T serialClone(T o) {
        T clone = reserialize(o);
        assertThat(clone.getClass()).isEqualTo(o.getClass());
        return clone;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  9. .github/workflows/update-test-buckets.yml

          - name: Setup java
            uses: actions/setup-java@v5
            with:
              distribution: temurin
              java-version: 17
          - name: Clone gradle/ci-health repository
            run: |
              git clone https://${{ env.BOT_GRADLE_GITHUB_TOKEN }}@github.com/gradle/ci-health.git /tmp/gradle-ci-health
          - name: Generate test class runtime JSON
            run: |
              cd /tmp/gradle-ci-health
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Mar 24 22:05:21 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

          } catch (Throwable t) {
            threadUnexpectedException(t);
            return null;
          }
        }
      }
    
      <T> T serialClone(T o) {
        T clone = reserialize(o);
        assertThat(clone.getClass()).isEqualTo(o.getClass());
        return clone;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 8.8K bytes
    - Click Count (0)
Back to Top