- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for safeSet (0.15 sec)
-
src/encoding/json/encode.go
dst = append(dst, '"') start := 0 for i := 0; i < len(src); { if b := src[i]; b < utf8.RuneSelf { if htmlSafeSet[b] || (!escapeHTML && safeSet[b]) { i++ continue } dst = append(dst, src[start:i]...) switch b { case '\\', '"': dst = append(dst, '\\', b) case '\b': dst = append(dst, '\\', 'b') case '\f':
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:18:55 UTC 2024 - 36.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ConcurrentHashMultiset.java
* @param element the element to look for * @return the nonnegative number of occurrences of the element */ @Override public int count(@CheckForNull Object element) { AtomicInteger existingCounter = Maps.safeGet(countMap, element); return (existingCounter == null) ? 0 : existingCounter.get(); } /** * {@inheritDoc} *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 20.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java
* @param element the element to look for * @return the nonnegative number of occurrences of the element */ @Override public int count(@CheckForNull Object element) { AtomicInteger existingCounter = Maps.safeGet(countMap, element); return (existingCounter == null) ? 0 : existingCounter.get(); } /** * {@inheritDoc} *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 20.9K bytes - Viewed (0) -
src/runtime/string.go
// [ptr, endOfPage) interval. safeLen := int(pageSize - uintptr(ptr)%pageSize) for { t := *(*string)(unsafe.Pointer(&stringStruct{ptr, safeLen})) // Check one page at a time. if i := bytealg.IndexByteString(t, 0); i != -1 { return offset + i } // Move to next page ptr = unsafe.Pointer(uintptr(ptr) + uintptr(safeLen)) offset += safeLen safeLen = pageSize } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:17:26 UTC 2024 - 13.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/StandardTable.java
import static com.google.common.base.Predicates.in; import static com.google.common.base.Predicates.not; import static com.google.common.collect.Maps.safeContainsKey; import static com.google.common.collect.Maps.safeGet; import static com.google.common.collect.NullnessCasts.uncheckedCastNullableTToT; import static java.util.Objects.requireNonNull; import com.google.common.annotations.GwtCompatible; import com.google.common.base.Function;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Oct 13 14:11:58 UTC 2023 - 29.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/StandardTable.java
import static com.google.common.base.Predicates.in; import static com.google.common.base.Predicates.not; import static com.google.common.collect.Maps.safeContainsKey; import static com.google.common.collect.Maps.safeGet; import static com.google.common.collect.NullnessCasts.uncheckedCastNullableTToT; import static java.util.Objects.requireNonNull; import com.google.common.annotations.GwtCompatible; import com.google.common.base.Function;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Oct 13 14:11:58 UTC 2023 - 30.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultiset.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Mar 06 16:06:58 UTC 2023 - 10.4K bytes - Viewed (0) -
guava/src/com/google/common/io/TempFileCreator.java
/* * I assume that this check can't fail because JELLY_BEAN will be present only if we're * running under Jelly Bean or higher. But it seems safest to check. */ if (version < jellyBean) { return new ThrowingCreator(); } // Don't merge these catch() blocks, let alone use ReflectiveOperationException directly: // b/65343391
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Oct 06 17:11:11 UTC 2023 - 12.5K bytes - Viewed (0) -
android/guava/src/com/google/common/io/TempFileCreator.java
/* * I assume that this check can't fail because JELLY_BEAN will be present only if we're * running under Jelly Bean or higher. But it seems safest to check. */ if (version < jellyBean) { return new ThrowingCreator(); } // Don't merge these catch() blocks, let alone use ReflectiveOperationException directly: // b/65343391
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Oct 06 17:11:11 UTC 2023 - 12.5K bytes - Viewed (0) -
pilot/pkg/bootstrap/istio_ca.go
// and trust domain for Istiod, if not explicitly defined. // K8S will use the same kind of tokens for the pods, and the value in istiod's own token is // simplest and safest way to have things match. // // Note that K8S is not required to use JWT tokens - we will fallback to the defaults // or require explicit user option for K8S clusters using opaque tokens.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 17:48:28 UTC 2024 - 20.6K bytes - Viewed (0)