- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 286 for cyclone (0.1 sec)
-
guava/src/com/google/common/hash/MacHashFunction.java
this.supportsClone = supportsClone(prototype); } @Override public int bits() { return bits; } private static boolean supportsClone(Mac mac) { try { Object unused = mac.clone(); return true; } catch (CloneNotSupportedException e) { return false; } } private static Mac getMac(String algorithmName, Key key) { try {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 15 22:31:55 UTC 2022 - 3.6K bytes - Viewed (0) -
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 3.1K bytes - Viewed (0) -
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) -
tests/hooks_test.go
gorm.Model Name string Code string Price int64 Owner string } func (s Product2) BeforeCreate(tx *gorm.DB) (err error) { if !strings.HasSuffix(s.Name, "_clone") { newProduft := s newProduft.Price *= 2 newProduft.Name += "_clone" err = tx.Create(&newProduft).Error } if s.Name == "Invalid" { return errors.New("invalid") } return nil }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Jun 17 03:59:06 UTC 2024 - 16.7K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/Parameter.java
this.since = since; } /** * Creates a shallow copy of this parameter. */ @Override public Parameter clone() { try { return (Parameter) super.clone(); } catch (CloneNotSupportedException e) { throw new UnsupportedOperationException(e); } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.1K bytes - Viewed (0) -
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) -
android/guava/src/com/google/common/collect/Iterables.java
* elements. * * <p>To cycle over the iterable {@code n} times, use the following: {@code * Iterables.concat(Collections.nCopies(n, iterable))} * * <p><b>Java 8+ users:</b> The {@code Stream} equivalent of this method is {@code * Stream.generate(() -> iterable).flatMap(Streams::stream)}. */ public static <T extends @Nullable Object> Iterable<T> cycle(final Iterable<T> iterable) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 24 19:38:27 UTC 2024 - 42.8K bytes - Viewed (0) -
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) -
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) -
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)