- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 1,471 for isSafe (0.24 sec)
-
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/projectmodule/ProjectArtifactResolver.java
// NOTE: This isn't thread-safe because we're not locking around allResolvedArtifacts to ensure we're not inserting multiple resolvableArtifacts for // the same artifact id. // // This should be replaced by a computeIfAbsent(...) to be thread-safe and ensure there's only ever one DefaultResolvableArtifact created for a single id.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 6.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableMap.java
if (n == 0) { @SuppressWarnings("unchecked") RegularImmutableMap<K, V> empty = (RegularImmutableMap<K, V>) EMPTY; return empty; } else if (n == 1) { // requireNonNull is safe because the first `2*n` elements have been filled in. checkEntryNotNull( requireNonNull(alternatingKeysAndValues[0]), requireNonNull(alternatingKeysAndValues[1]));
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 15 22:32:14 UTC 2024 - 22.7K bytes - Viewed (0) -
maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ObjectBasedValueSource.java
* supplied object is the root. Expressions like 'child.name' will translate into * 'rootObject.getChild().getName()' for non-boolean properties, and * 'rootObject.getChild().isName()' for boolean properties. */ public class ObjectBasedValueSource extends AbstractValueSource { private final Object root; /** * Construct a new value source, using the supplied object as the root from
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Oct 17 17:55:08 UTC 2023 - 3.3K bytes - Viewed (0) -
src/go/types/typelists.go
package types // TypeParamList holds a list of type parameters. type TypeParamList struct{ tparams []*TypeParam } // Len returns the number of type parameters in the list. // It is safe to call on a nil receiver. func (l *TypeParamList) Len() int { return len(l.list()) } // At returns the i'th type parameter in the list. func (l *TypeParamList) At(i int) *TypeParam { return l.tparams[i] }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 2K bytes - Viewed (0) -
src/syscall/js/js.go
for k, v := range x { o.Set(k, v) } return o default: panic("ValueOf: invalid value") } } // stringVal copies string x to Javascript and returns a ref. // // (noescape): This is safe because no references are maintained to the // Go string x after the syscall returns. // //go:wasmimport gojs syscall/js.stringVal //go:noescape func stringVal(x string) ref
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 19 14:35:26 UTC 2024 - 19.5K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/api/kotlin_dsl.adoc
The Kotlin DSL replaces such dynamic resolution with type-safe model accessors that work with model elements contributed by plugins. [[kotdsl:accessor_applicability]] === Understanding when type-safe model accessors are available The Kotlin DSL currently provides various sets of type-safe model accessors, each tailored to different scopes.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 22 20:16:10 UTC 2024 - 55.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableList.java
System.arraycopy(array, 0, dst, dstOff, size); return dstOff + size; } // The fake cast to E is safe because the creation methods only allow E's @Override @SuppressWarnings("unchecked") public E get(int index) { checkElementIndex(index, size); // requireNonNull is safe because we guarantee that the first `size` elements are non-null. return (E) requireNonNull(array[index]); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 2.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularContiguousSet.java
@Override int indexOf(@CheckForNull Object target) { if (!contains(target)) { return -1; } // The cast is safe because of the contains checkāat least for any reasonable Comparable class. @SuppressWarnings("unchecked") // requireNonNull is safe because of the contains check. C c = (C) requireNonNull(target); return (int) domain.distance(first(), c); } @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 8.4K bytes - Viewed (0) -
proguard/cache.pro
# Striped64 uses this -dontwarn sun.misc.Unsafe # Striped64 appears to make some assumptions about object layout that # really might not be safe. This should be investigated. -keepclassmembers class com.google.common.cache.Striped64 { *** base; *** busy; } -keepclassmembers class com.google.common.cache.Striped64$Cell { <fields>;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 09 00:29:01 UTC 2023 - 341 bytes - Viewed (0) -
proguard/hash.pro
# LittleEndianByteArray uses this -dontwarn sun.misc.Unsafe # Striped64 appears to make some assumptions about object layout that # really might not be safe. This should be investigated. -keepclassmembers class com.google.common.hash.Striped64 { *** base; *** busy; } -keepclassmembers class com.google.common.hash.Striped64$Cell { <fields>;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 09 00:29:01 UTC 2023 - 351 bytes - Viewed (0)