Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 305 for cloneOf (0.05 seconds)

  1. mockwebserver/src/main/kotlin/mockwebserver3/internal/BufferMockResponseBody.kt

    package mockwebserver3.internal
    
    import mockwebserver3.MockResponseBody
    import okio.Buffer
    import okio.BufferedSink
    
    internal fun Buffer.toMockResponseBody(): MockResponseBody {
      val defensiveCopy = clone()
      return BufferMockResponseBody(defensiveCopy)
    }
    
    internal class BufferMockResponseBody(
      val buffer: Buffer,
    ) : MockResponseBody {
      override val contentLength = buffer.size
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Jan 07 16:05:34 GMT 2024
    - 1.1K bytes
    - Click Count (0)
  2. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/builder/BuilderCommonTest.java

            MavenSession original = ProjectDependencyGraphStub.getMavenSession();
    
            final TaskSegment taskSegment1 = new TaskSegment(false);
            final MavenSession session1 = original.clone();
            session1.setCurrentProject(ProjectDependencyGraphStub.A);
    
            final BuilderCommon builderCommon = getBuilderCommon(logger);
            final MavenExecutionPlan plan =
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.8K bytes
    - Click Count (0)
  3. android/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++) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/SSPContextTest.java

                    boolean integrity) {
                this.signingKey = signingKey;
                this.established = established;
                this.nbName = nbName;
                this.supportedMechs = supportedMechs != null ? supportedMechs.clone() : new ASN1ObjectIdentifier[0];
                this.flags = flags;
                this.integrity = integrity;
            }
    
            @Override
            public byte[] getSigningKey() throws CIFSException {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.2K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/util/MD4.java

            this();
            context = md.context.clone();
            buffer = md.buffer.clone();
            count = md.count;
        }
    
        // Cloneable method implementation
        //...........................................................................
    
        /**
         * Returns a copy of this MD object.
         */
        @Override
        public Object clone() {
            return new MD4(this);
        }
    
        // JCE methods
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

            this.cipherId = cipherId;
            this.dialect = dialect;
            this.keyManager = keyManager;
            this.sessionKey = sessionKey != null ? sessionKey.clone() : null;
            this.preauthIntegrityHash = preauthHash != null ? preauthHash.clone() : null;
    
            // Generate unique session ID for key management
            this.sessionId = String.format("smb-enc-%d-%d", System.currentTimeMillis(), secureRandom.nextLong());
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/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 (final CloneNotSupportedException ex) {
                throw new IllegalStateException(ex.getMessage());
            }
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  8. 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 (final CloneNotSupportedException ex) {
                throw new IllegalStateException(ex.getMessage());
            }
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 3.6K bytes
    - Click Count (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
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Aug 05 18:35:53 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  10. internal/s3select/json/record.go

    	return nil, errors.New("not implemented here")
    }
    
    // Reset the record.
    func (r *Record) Reset() {
    	if len(r.KVS) > 0 {
    		r.KVS = r.KVS[:0]
    	}
    }
    
    // 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{}
    	}
    	if len(other.KVS) > 0 {
    		other.KVS = other.KVS[:0]
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.2K bytes
    - Click Count (0)
Back to Top