- Sort Score
- Num 10 results
- Language All
Results 191 - 200 of 1,085 for Ensure (0.04 seconds)
-
src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java
assertEquals(0, initialThroughput); // Add some data transfer channelInfo.addBytesSent(1000); channelInfo.addBytesReceived(2000); // Wait a bit to ensure time passes try { Thread.sleep(10); } catch (InterruptedException e) { Thread.currentThread().interrupt(); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 7.4K bytes - Click Count (0) -
src/test/java/jcifs/util/transport/ResponseTest.java
@ExtendWith(MockitoExtension.class) public class ResponseTest { @Mock private Response mockResponse; @BeforeEach void setUp() { // Reset mock before each test to ensure clean state // MockitoExtension handles this automatically for @Mock fields, but good to be aware. } @Test void testIsReceived() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.5K bytes - Click Count (0) -
docs/sts/web-identity.md
currently local to the MinIO server). For this setup, set the `MINIO_BROWSER_REDIRECT_URL` parameter to the publicly/client-accessible endpoint for the MinIO Console. For example `MINIO_BROWSER_REDIRECT_URL=https://console.minio.example.org`. This will ensure that the redirect URL is set to `https://console.minio.example.org/oauth_callback` and the login process should work correctly. For deployments employing DNS round-robin on a single domain to all the MinIO servers, it is possible that after...
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 18.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/CompactHashing.java
* then we should have {@code 0 ≤ entry ≤ 255}, and if {@code table} is a {@code short[]} then we * should have {@code 0 ≤ entry ≤ 65535}. It is the caller's responsibility to ensure this. */ static void tableSet(Object table, int index, int entry) { if (table instanceof byte[]) { ((byte[]) table)[index] = (byte) entry; // unsigned write } else if (table instanceof short[]) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 7.1K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
import java.util.ArrayList; import java.util.List; import java.util.concurrent.atomic.AtomicInteger; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Tester to ensure forwarding wrapper works by delegating calls to the corresponding method with * the same parameters forwarded and return value forwarded back or exception propagated as is. * * <p>For example: * * {@snippet :Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 9.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java
auth3.close(); auth4.close(); } finally { auth1.close(); auth2.close(); } } /** * Test concurrent password comparisons to ensure thread safety and consistent timing. */ @Test public void testConcurrentTimingConsistency() throws Exception { final char[] password = "concurrenttestpassword".toCharArray();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11.2K bytes - Click Count (0) -
cmd/bucket-policy.go
vStr, ok := v.(string) if ok { // Trim any LDAP specific prefix args[strings.ToLower(strings.TrimPrefix(k, "ldap"))] = []string{vStr} } } // Add groups claim which could be a list. This will ensure that the claim // `jwt:groups` works. if grpsVal, ok := claims["groups"]; ok { if grpsIs, ok := grpsVal.([]any); ok { grps := []string{} for _, gI := range grpsIs { if g, ok := gI.(string); ok {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 7.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java
public void runTest() throws Exception { /* * Note that we do not run this test under Android at the moment. For Android testing, see * AggregateFutureStateDefaultAtomicHelperTest. */ // First, ensure that our classloaders are initializing the correct helper versions: checkHelperVersion(getClass().getClassLoader(), "SafeAtomicHelper"); checkHelperVersion(NO_ATOMIC_FIELD_UPDATER, "SynchronizedAtomicHelper");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 6.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/storage/GcsStorageClient.java
storage.create(BucketInfo.newBuilder(bucket).build()); logger.info("Created storage bucket: {}", bucket); } } catch (final Exception e) { logger.warn("Failed to ensure bucket exists: {}", bucket, e); } } @Override public boolean isAvailable() { try { return storage.get(bucket) != null; } catch (final Exception e) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 13 02:21:17 GMT 2025 - 10.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java
import jcifs.internal.util.SMBUtil; import jcifs.util.Crypto; /** * SMB2/SMB3 message signing digest implementation. * * This class handles cryptographic signing of SMB2/SMB3 messages to ensure * message integrity and authenticity. It supports different signing algorithms * used in various SMB2/SMB3 dialect versions. * * @author mbechler */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 9.9K bytes - Click Count (0)