- Sort Score
- Result 10 results
- Languages All
Results 271 - 280 of 540 for safety (0.07 sec)
-
src/test/java/jcifs/smb/PreauthIntegrityTest.java
} /** * Test that pre-auth integrity hash is properly synchronized */ @Test @DisplayName("Pre-auth integrity hash should be thread-safe") void testPreauthHashThreadSafety() throws Exception { // Setup SMB3.1.1 negotiation when(negotiateResponse.getSelectedDialect()).thenReturn(DialectVersion.SMB311);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.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/65343391Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 12.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableList.java
* Collections#emptyList}, and is preferable mainly for consistency and maintainability of your * code. * * <p><b>Performance note:</b> the instance returned is a singleton. */ // Casting to any type is safe because the list will never hold any elements. @SuppressWarnings("unchecked") public static <E> ImmutableList<E> of() { return (ImmutableList<E>) EMPTY; } /**Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.5K bytes - Viewed (0) -
android/guava/src/com/google/common/base/SneakyThrows.java
* throw. */ @CanIgnoreReturnValue static Error sneakyThrow(Throwable t) { throw new SneakyThrows<Error>().throwIt(t); } @SuppressWarnings("unchecked") // not really safe, but that's the point private Error throwIt(Throwable t) throws T { throw (T) t; } private SneakyThrows() {}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Feb 03 21:52:39 UTC 2025 - 2.4K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/SneakyThrows.java
* throw. */ @CanIgnoreReturnValue static Error sneakyThrow(Throwable t) { throw new SneakyThrows<Error>().throwIt(t); } @SuppressWarnings("unchecked") // not really safe, but that's the point private Error throwIt(Throwable t) throws T { throw (T) t; } private SneakyThrows() {}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Dec 30 18:44:22 UTC 2024 - 2.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/ArtifactStatus.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.artifact; import java.util.HashMap; import java.util.Map; /** * Type safe enumeration for the artifact status field. * */ @Deprecated public final class ArtifactStatus implements Comparable<ArtifactStatus> { /** * No trust - no information about status. */
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/TearDownStack.java
import java.util.logging.Level; import java.util.logging.Logger; import org.jspecify.annotations.NullMarked; /** * A {@code TearDownStack} contains a stack of {@link TearDown} instances. * * <p>This class is thread-safe. * * @author Kevin Bourrillion * @since 10.0 */ @GwtCompatible @NullMarked public class TearDownStack implements TearDownAccepter {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 2.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/TearDownStack.java
import java.util.logging.Level; import java.util.logging.Logger; import org.jspecify.annotations.NullMarked; /** * A {@code TearDownStack} contains a stack of {@link TearDown} instances. * * <p>This class is thread-safe. * * @author Kevin Bourrillion * @since 10.0 */ @GwtCompatible @NullMarked public class TearDownStack implements TearDownAccepter {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 2.5K bytes - Viewed (0) -
src/archive/zip/reader.go
// Since the number of directory records is not validated, it is not // safe to preallocate r.File without first checking that the specified // number of files is reasonable, since a malformed archive may // indicate it contains up to 1 << 128 - 1 files. Since each file has a // header which will be _at least_ 30 bytes we can safely preallocate // if (data size / 30) >= end.directoryRecords.
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Mar 11 22:19:38 UTC 2025 - 28.4K bytes - Viewed (0) -
cmd/erasure-healing.go
errPartMissing = errors.New("part missing") ) // Only heal on disks where we are sure that healing is needed. We can expand // this list as and when we figure out more errors can be added to this list safely. func shouldHealObjectOnDisk(erErr error, partsErrs []int, meta FileInfo, latestMeta FileInfo) (bool, bool, error) {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 34.6K bytes - Viewed (0)