Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 253 for cloneOf (0.34 sec)

  1. guava-tests/benchmark/com/google/common/math/QuantilesBenchmark.java

            datasets[i][j] = rng.nextDouble();
          }
        }
      }
    
      private double[] dataset(int i) {
        // We must test on a fresh clone of the dataset each time. Doing sorts and quickselects on a
        // dataset which is already sorted or partially sorted is cheating.
        return datasets[i & 0xFF].clone();
      }
    
      @Benchmark
      double median(int reps) {
        double dummy = 0.0;
        for (int i = 0; i < reps; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataUtils.java

     *
     */
    @Deprecated
    class MetadataUtils {
    
        public static Metadata cloneMetadata(Metadata src) {
            if (src == null) {
                return null;
            }
            return src.clone();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/util/HMACT64.java

        private HMACT64(HMACT64 hmac) throws CloneNotSupportedException {
            super("HMACT64");
            this.ipad = hmac.ipad;
            this.opad = hmac.opad;
            this.md5 = (MessageDigest) hmac.md5.clone();
        }
    
        public Object clone() {
            try {
                return new HMACT64(this);
            } catch (CloneNotSupportedException ex) {
                throw new IllegalStateException(ex.getMessage());
            }
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/HMACT64.java

            super("HMACT64");
            this.ipad = hmac.ipad;
            this.opad = hmac.opad;
            this.md5 = (MessageDigest) hmac.md5.clone();
        }
    
    
        @Override
        public Object clone () {
            try {
                return new HMACT64(this);
            }
            catch ( CloneNotSupportedException ex ) {
                throw new IllegalStateException(ex.getMessage());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/CredentialsInternal.java

    
    /**
     * @author mbechler
     *
     */
    public interface CredentialsInternal extends Cloneable, Credentials {
    
        /**
         * 
         * @return a copy of the credentials
         */
        CredentialsInternal clone ();
    
    
        /**
         * @param tc
         * @param targetDomain
         * @param host
         * @param initialToken
         * @param doSigning
         * @return a new context
         * @throws SmbException
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  6. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/Case.kt

          for (inputHeader in headers) {
            val (key, value) = inputHeader.entries.iterator().next()
            result.add(Header(key, value))
          }
          return result
        }
    
      public override fun clone() = Case(seqno, this.wire, headers)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Dec 23 10:26:25 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  7. src/bytes/example_test.go

    	}
    	fmt.Println(c)
    	fmt.Println(b.String())
    	// Output:
    	// 97
    	// bcde
    }
    
    func ExampleClone() {
    	b := []byte("abc")
    	clone := bytes.Clone(b)
    	fmt.Printf("%s\n", clone)
    	clone[0] = 'd'
    	fmt.Printf("%s\n", b)
    	fmt.Printf("%s\n", clone)
    	// Output:
    	// abc
    	// abc
    	// dbc
    }
    
    func ExampleCompare() {
    	// Interpret Compare's result by comparing it to zero.
    	var a, b []byte
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 07 17:22:36 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  8. internal/s3select/sql/record.go

    	// Can return a different record type.
    	Set(name string, value *Value) (Record, error)
    	WriteCSV(writer io.Writer, opts WriteCSVOpts) error
    	WriteJSON(writer io.Writer) error
    
    	// Clone the record and if possible use the destination provided.
    	Clone(dst Record) Record
    	Reset()
    
    	// Returns underlying representation
    	Raw() (SelectObjectFormat, interface{})
    
    	// Replaces the underlying data
    	Replace(k interface{}) error
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 3.4K bytes
    - Viewed (0)
  9. CONTRIBUTING.md

    ### Setup your MinIO GitHub Repository
    
    Fork [MinIO upstream](https://github.com/minio/minio/fork) source repository to your own personal repository. Copy the URL of your MinIO fork (you will need it for the `git clone` command below).
    
    ```sh
    git clone https://github.com/minio/minio
    cd minio
    go install -v
    ls $(go env GOPATH)/bin/minio
    ```
    
    ### Set up git remote as ``upstream``
    
    ```sh
    $ cd minio
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Aug 05 18:35:53 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. internal/config/heal/heal.go

    //
    // >0 interval duration between cycles
    func (opts Config) BitrotScanCycle() (d time.Duration) {
    	configMutex.RLock()
    	defer configMutex.RUnlock()
    	return opts.cache.bitrotCycle
    }
    
    // Clone safely the heal configuration
    func (opts Config) Clone() (int, time.Duration, string) {
    	configMutex.RLock()
    	defer configMutex.RUnlock()
    	return opts.IOCount, opts.Sleep, opts.Bitrot
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top