Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 170 for force32 (0.04 sec)

  1. src/test/java/jcifs/util/SecureKeyManagerTest.java

            // Store multiple keys
            for (int i = 0; i < 3; i++) {
                keyManager.storeSessionKey("session-" + i, testKey, "AES");
            }
    
            // Force rotate all
            int rotated = keyManager.forceRotateAllKeys();
            assertEquals(3, rotated, "Should rotate 3 keys");
    
            // Verify all keys were rotated
            for (int i = 0; i < 3; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SecurityBlobTest.java

        void length_handlesNullInternalArray() throws Exception {
            // Arrange
            SecurityBlob blob = new SecurityBlob(new byte[] { 1, 2, 3 });
    
            // Force internal field to null via reflection to exercise defensive branch
            Field field = SecurityBlob.class.getDeclaredField("b");
            field.setAccessible(true);
            field.set(blob, null);
    
            // Act & Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/config/BaseConfiguration.java

        /** Whether to use command batching for improved performance */
        protected boolean useBatching = false;
        /** Whether to use Unicode encoding for strings */
        protected boolean useUnicode = true;
        /** Force use of Unicode encoding regardless of negotiation */
        protected boolean forceUnicode = false;
        /** Whether SMB signing is preferred but not required */
        protected boolean signingPreferred = false;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SIDCacheImplTest.java

            assertEquals("user2", ((SID) resolvedFirst[1]).acctName);
    
            // Second call with overlap should use cache for s2 and s3, requiring only s3 if not cached
            // Mark s3 unresolved to force resolve of one element
            doAnswer(inv -> {
                SID[] toResolve = inv.getArgument(2);
                for (SID s : toResolve) {
                    s.type = jcifs.SID.SID_TYPE_USER;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            assertNotSame(first, second, "Should create new connection when first is disconnected");
        }
    
        @Test
        @DisplayName("Should create new connection when force signing differs")
        void testNoReuseWithDifferentSigning() throws Exception {
            // Given: An existing connection without signing enforced
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/transport/Transport.java

            try {
                if (!isDisconnected() && this.usageCount.get() != 0) {
                    log.warn("Transport was not properly released, performing emergency cleanup");
                    // Force disconnect to prevent resource leaks
                    try {
                        disconnect(true);
                    } catch (Exception e) {
                        log.debug("Error during emergency transport disconnect", e);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

           * If we make some other optimizations, this one will no longer be necessary. The optimization
           * could actually hurt in some cases, as it forces us to keep all inputs in memory until the
           * final input completes.
           */
          @RetainedLocalRef
          ImmutableCollection<? extends ListenableFuture<? extends InputT>> localFutures = futures;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java

                return OptionalThing.empty();
            }
            return OptionalThing.of(pipeline);
        }
    
        /**
         * Refreshes the crawling configuration cache by invalidating all cached entries.
         * This forces the next access to reload configurations from the underlying services.
         */
        public void refresh() {
            crawlingConfigCache.invalidateAll();
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

        assertThrows(IllegalArgumentException.class, () -> ImmutableLongArray.builder(-1));
      }
    
      /**
       * If there's a bug in builder growth, we wouldn't know how to expose it. So, brute force the hell
       * out of it for a while and see what happens.
       */
      public void testBuilder_bruteForce() {
        for (int i = 0; i < reduceIterationsIfGwt(100); i++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

            Constructor<Smb2Constants> constructor = Smb2Constants.class.getDeclaredConstructor();
            assertTrue(Modifier.isPrivate(constructor.getModifiers()), "Constructor should be private");
    
            // Force accessibility and create instance to achieve coverage
            constructor.setAccessible(true);
            assertNotNull(constructor.newInstance(), "Should be able to create instance via reflection");
        }
    
        @Nested
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
Back to top