Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 581 - 590 of 940 for behaviors (0.09 seconds)

  1. src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java

    import jcifs.smb1.Config;
    
    /**
     * Tests for {@link NtlmMessage}. Since {@code NtlmMessage} is abstract we
     * create a lightweight concrete subclass only to exercise the inherited
     * behaviour. The tests cover flag manipulation, byte‑buffer operations and
     * static helpers. Edge cases such as null or short arrays and negative
     * values are verified to ensure proper exception handling and byte
     * conversion.
     */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/base/login/FessLoginAssist.java

        @Resource
        private SessionManager sessionManager;
    
        /** The Fess configuration providing application settings. */
        @Resource
        private FessConfig fessConfig;
    
        /** The user behavior for database operations on user entities. */
        @Resource
        private UserBhv userBhv;
    
        // ===================================================================================
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java

        }
    
        @Test
        public void test_XContentBuilderCallback_nullBuilder() {
            XContentBuilderCallback callback = (builder, params) -> {
                // Test behavior when builder operations might fail
                if (builder == null) {
                    throw new IOException("Builder is null");
                }
                builder.startObject();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

                return;
    
            DirectoryCacheEntry entry = directoryCache.get(directoryPath);
            if (entry == null)
                return;
    
            // Handle lease break by updating cache behavior
            // Only process if newState is not NONE (0) - a valid lease state
            if (newState != 0) {
                if ((newState & Smb2LeaseState.SMB2_LEASE_READ_CACHING) == 0) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/SMBSigningDigestTest.java

    import org.mockito.ArgumentCaptor;
    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    /**
     * Test class for SMBSigningDigest interface
     * Tests the contract and behavior of signing and verification methods
     */
    class SMBSigningDigestTest {
    
        @Mock
        private SMBSigningDigest signingDigest;
    
        @Mock
        private CommonServerMessageBlock request;
    
        @Mock
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java

                // Then
                assertNotNull(cancel);
                assertEquals(testMid, cancel.getMid());
                assertTrue(cancel.isCancel());
            }
        }
    
        @Nested
        @DisplayName("Method Behavior Tests")
        class MethodBehaviorTests {
    
            private SmbComNtCancel cancel;
            private Configuration mockConfig;
    
            @BeforeEach
            void setUp() throws Exception {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  7. CHANGELOG/CHANGELOG-1.34.md

    - Modified the node-local `podresources` API endpoint to consider only active pods. Since this changes long-standing behavior, the `KubeletPodResourcesListUseActivePods` feature gate (enabled by default) can be disabled to restore the previous behavior. Users encountering regressions are encouraged to file an issue if they rely on the old behavior. ([#132028](https://github.com/kubernetes/kubernetes/pull/132028), [@ffromani](https://github.com/ffromani)) [SIG Node and Testing]
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu Mar 19 03:19:43 GMT 2026
    - 368.7K bytes
    - Click Count (2)
  8. src/test/java/jcifs/SmbResourceLocatorTest.java

            }
    
            @Override
            public String getName() {
                if (path == null || path.isEmpty() || path.equals("/")) {
                    return host + "/"; // mimic the JVM behaviour for root or server
                }
                if (path.endsWith("/")) {
                    return path.substring(0, path.length()); // keep trailing slash
                }
                String[] parts = path.split("/");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/IdnaMappingTableTest.kt

      }
    
      @Test fun binarySearchEmptyRange() {
        assertEquals(-1, binarySearch(0, 0) { error("unexpected call") })
      }
    
      /** Confirm the compact table has the exact same behavior as the plain table. */
      @Test fun comparePlainAndCompactTables() {
        val buffer = Buffer()
        for (codePoint in 0..0x10ffff) {
          val allowedByTable = table.map(codePoint, buffer)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 8.9K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/SmbPipeInputStreamTest.java

        SmbFileHandleImpl fd;
        @Mock
        Configuration config;
    
        private SmbPipeInputStream newStreamWithInit(boolean smb2) throws CIFSException {
            when(handle.getPipe()).thenReturn(pipe);
            // init(th) behavior inside SmbFileInputStream constructor
            when(tree.isSMB2()).thenReturn(smb2);
            when(tree.getReceiveBufferSize()).thenReturn(4096);
            when(tree.getMaximumBufferSize()).thenReturn(65535);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
Back to Top