Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1501 - 1510 of 1,808 for onlyIf (0.04 sec)

  1. android/guava/src/com/google/common/collect/CompactLinkedHashSet.java

     * java.util.LinkedHashSet}. Generally speaking, this class reduces object allocation and memory
     * consumption at the price of moderately increased constant factors of CPU. Only use this class
     * when there is a specific reason to prioritize memory over CPU.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible // not worth using in GWT for now
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/PreauthIntegrityService.java

         * @param hashAlgorithm the algorithm to check
         * @return true if supported
         */
        public boolean isHashAlgorithmSupported(int hashAlgorithm) {
            return hashAlgorithm == HASH_ALGO_SHA512; // Currently only SHA-512 is supported
        }
    
        /**
         * Gets the list of supported hash algorithms.
         *
         * @return array of supported algorithms
         */
        public int[] getSupportedHashAlgorithms() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/util/transport/Transport.java

                    } catch (final IOException ioe) {
                        ioe.printStackTrace(log);
                    }
                }
            }
        }
    
        /* Build a connection. Only one thread will ever call this method at
         * any one time. If this method throws an exception or the connect timeout
         * expires an encapsulating TransportException will be thrown from connect
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

     * space-sensitive applications should set a conservative limit.
     *
     * Clients call [edit] to create or update the values of an entry. An entry may have only one editor
     * at one time; if a value is not available to be edited then [edit] will return null.
     *
     *  * When an entry is being **created** it is necessary to supply a full set of values; the empty
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  5. src/archive/zip/reader_test.go

    		// the file header and TOC. (0x7e -> 0x7f)
    		b[0x11]++
    		b[0x9d]++
    
    		// TODO(bradfitz): add a new test that only corrupts
    		// one of these values, and verify that that's also an
    		// error. Currently, the reader code doesn't verify the
    		// fileheader and TOC's crc32 match if they're both
    		// non-zero and only the second line above, the TOC,
    		// is what matters.
    	})
    }
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Mar 11 22:19:38 UTC 2025
    - 56.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

                JobProcess jobProcess2 = processHelper.startProcess(sessionId, cmdList, pbCall);
    
                assertNotNull(jobProcess1);
                assertNotNull(jobProcess2);
    
                // Only one process should be running for the session
                assertTrue(processHelper.isProcessRunning(sessionId));
    
                Set<String> sessionIds = processHelper.getRunningSessionIdSet();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/SmbSessionTest.java

            void shouldSupportPartialMockingScenarios() {
                SmbSession mockSession = mock(SmbSession.class);
                Configuration mockConfig = mock(Configuration.class);
    
                // Only mock getConfig, leave others with default behavior
                when(mockSession.getConfig()).thenReturn(mockConfig);
    
                assertEquals(mockConfig, mockSession.getConfig());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

            Configuration mockConfig = mock(Configuration.class);
            Smb2TreeDisconnectRequest request = new Smb2TreeDisconnectRequest(mockConfig);
            byte[] buffer = new byte[10];
            int offset = 8; // Only 2 bytes remaining, need 4
    
            // When & Then
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                request.writeBytesWireFormat(buffer, offset);
            });
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

        @DisplayName("Should throw exception when offset exceeds buffer for reading")
        void testReadBytesWireFormatOffsetTooLarge() {
            // Given
            byte[] buffer = new byte[10];
            int offset = 9; // Only 1 byte remaining, need at least 2 for structure size
    
            // When & Then
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                response.readBytesWireFormat(buffer, offset);
            });
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java

        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create request with configuration only")
            void testConstructorWithConfig() {
                TestServerMessageBlock2Request request = new TestServerMessageBlock2Request(mockConfig);
                assertNotNull(request);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
Back to top