Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 228 for cloneOf (0.04 sec)

  1. guava/src/com/google/common/collect/ImmutableEnumSet.java

        }
      }
    
      /*
       * Notes on EnumSet and <E extends Enum<E>>:
       *
       * This class isn't an arbitrary ForwardingImmutableSet because we need to
       * know that calling {@code clone()} during deserialization will return an
       * object that no one else has a reference to, allowing us to guarantee
       * immutability. Hence, we support only {@link EnumSet}.
       */
      private final transient EnumSet<E> delegate;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  3. 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());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/PreauthIntegrityService.java

                this.salt = salt != null ? salt.clone() : new byte[0];
                this.hashAlgorithm = hashAlgorithm;
                this.currentHash = new byte[HASH_SIZE_SHA512]; // Initialize with zeros
                this.isValid = true;
            }
    
            public byte[] getSalt() {
                return salt.clone();
            }
    
            public int getHashAlgorithm() {
                return hashAlgorithm;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  5. okcurl/README.md

    OkCurl
    ======
    
    _A curl for the next-generation web._
    
    OkCurl is an OkHttp-backed curl clone which allows you to test OkHttp's HTTP engine (including
    HTTP/2) against web servers.
    
    To run locally, make sure you have GRAALVM_HOME set and run
    
    ```bash
    ./okcurl
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 19 08:48:55 UTC 2025
    - 261 bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/SecureKeyManager.java

            if (key == null || sessionId == null) {
                throw new IllegalArgumentException("Session ID and key must not be null");
            }
    
            // Clone the key to prevent external modification
            byte[] keyClone = key.clone();
            SecretKey secretKey = new SecretKeySpec(keyClone, algorithm);
    
            // Store in memory
            sessionKeys.put(sessionId, secretKey);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  7. util/update_snapshot_docs.sh

    #!/bin/bash
    
    set -e -u
    
    echo "Publishing Javadoc and JDiff..."
    
    cd $HOME
    git clone -q -b gh-pages "https://x-access-token:${GITHUB_TOKEN}@github.com/google/guava.git" gh-pages > /dev/null
    cd gh-pages
    
    git config --global user.name "$GITHUB_ACTOR"
    git config --global user.email "$******@****.***"
    
    ./updaterelease.sh snapshot
    
    git push -fq origin gh-pages > /dev/null
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Mar 16 16:48:28 UTC 2021
    - 439 bytes
    - Viewed (0)
  8. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  9. cmd/data-scanner_test.go

    	*/
    	lrObjInfos := slices.Clone(objInfos)
    	lrObjInfos[3].UserDefined = objRetentionMeta
    	var lrWants []ObjectInfo
    	lrWants = append(lrWants, lrObjInfos[:4]...)
    
    	/*
    		replObjInfos: objInfos with following modifications
    		version stack for obj-1
    		v1 uuid-1 modTime -4m	"VersionPurgeStatus: replication.VersionPurgePending"
    	*/
    	replObjInfos := slices.Clone(objInfos)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12K bytes
    - Viewed (0)
  10. 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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top