Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,281 for clone (0.52 sec)

  1. 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 =
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. 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++) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  3. 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
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Jan 07 16:05:34 UTC 2024
    - 1.1K bytes
    - Viewed (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 {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

              .Builder()
              .url(server.url("/"))
              .build(),
          )
        val clone = call.clone() // Not cloneWithListener.
    
        val response = clone.execute()
        assertThat(response.code).isEqualTo(200)
        assertThat(response.body.string()).isEqualTo("abc")
        response.body.close()
        assertThat(eventRecorder.recordedEventTypes()).isEmpty()
      }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 70.5K bytes
    - Viewed (0)
  6. 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
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.6K bytes
    - Viewed (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());
            }
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.6K bytes
    - Viewed (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());
            }
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.6K 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 Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Aug 05 18:35:53 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. 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 Dec 30 11:13:12 UTC 2025
    - Last Modified: Mon May 12 16:07:54 UTC 2025
    - 16.5K bytes
    - Viewed (0)
Back to top