Search Options

Results per page
Sort
Preferred Languages
Advance

Results 981 - 990 of 1,148 for Handler (0.03 sec)

  1. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

        @Test
        @DisplayName("Test toString with null values")
        void testToStringWithNullValues() {
            SmbShareInfo info = new SmbShareInfo();
            String str = info.toString();
    
            // Should handle null values gracefully
            assertNotNull(str);
            assertTrue(str.startsWith("SmbShareInfo["));
            assertTrue(str.contains("netName=null"));
            assertTrue(str.contains("type=0x"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

     * <p>A good example of usage of this class is for HTML escaping where the replacement array
     * contains information about the named HTML entities such as {@code &amp;} and {@code &quot;} while
     * {@link #escapeUnsafe} is overridden to handle general escaping of the form {@code &#NNNNN;}.
     *
     * <p>The size of the data structure used by {@link ArrayBasedUnicodeEscaper} is proportional to the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/config/PropertyConfiguration.java

            // Multi-Channel Configuration
            value = props.getProperty("jcifs.smb.client.useMultiChannel");
            if (value != null) {
                this.useMultiChannelExplicitlySet = true;
                // Handle invalid boolean values by falling back to default
                if ("true".equalsIgnoreCase(value)) {
                    this.useMultiChannel = true;
                } else if ("false".equalsIgnoreCase(value)) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/SmbTreeTest.java

            doNothing().when(idempotentTree).close();
    
            // Close multiple times
            idempotentTree.close();
            idempotentTree.close();
    
            // Verify close was called, but implementation should handle idempotency
            verify(idempotentTree, times(2)).close();
        }
    
        /**
         * Test for unwrap with null parameter.
         * Verifies behavior when null is passed to unwrap.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java

                }
            };
    
            try {
                Artifact artifact = new Artifact("fess-theme-test", "1.0.0");
                mockThemeHelper.install(artifact);
                // Some environments may handle invalid zip gracefully
                assertTrue(true);
            } catch (Exception e) {
                // Should throw ThemeException or ZipException
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/GcFinalization.java

        // load timeout multiplier.  Or we could try to use a CPU time bound instead of wall clock time
        // bound.  But these ideas are harder to implement.  We do not try to detect or handle a
        // user-specified -XX:+DisableExplicitGC.
        //
        // TODO(user): Consider using
        // java/lang/management/OperatingSystemMXBean.html#getSystemLoadAverage()
        //
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

                assertEquals(hA, hB);
                assertEquals(hA.hashCode(), hB.hashCode());
            } else {
                assertNotEquals(hA, hB);
            }
    
            // Test negative case with different tree id handles
            SmbTreeHandleImpl tC = mock(SmbTreeHandleImpl.class);
            lenient().when(tC.acquire()).thenReturn(tC);
            lenient().when(tC.getTreeId()).thenReturn(treeId + 1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. cmd/storage-rest_test.go

    	endpoint.SetIdx = 0
    	endpoint.DiskIdx = 0
    
    	poolEps := []PoolEndpoints{{
    		Endpoints: Endpoints{endpoint},
    	}}
    	poolEps[0].SetCount = 1
    	poolEps[0].DrivesPerSet = 1
    
    	// Register handlers on newly created servers
    	registerStorageRESTHandlers(tg.Mux[0], poolEps, tg.Managers[0])
    	registerStorageRESTHandlers(tg.Mux[1], poolEps, tg.Managers[1])
    
    	storage := globalLocalSetDrives[0][0][0]
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  9. src/bufio/bufio.go

    			b.r = b.w
    			line = b.buf
    			err = ErrBufferFull
    			break
    		}
    
    		s = b.w - b.r // do not rescan area we scanned before
    
    		b.fill() // buffer is not full
    	}
    
    	// Handle last byte, if any.
    	if i := len(line) - 1; i >= 0 {
    		b.lastByte = int(line[i])
    		b.lastRuneSize = -1
    	}
    
    	return
    }
    
    // ReadLine is a low-level line-reading primitive. Most callers should use
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 22K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/NotifyResponseTest.java

            inputList.clear();
            assertEquals(2, notifications.size());
    
            // Try to modify returned list - behavior depends on implementation
            // This tests that the implementation properly handles list modifications
            try {
                notifications.clear();
                // If this succeeds, the implementation allows modification
                assertTrue(notifications.isEmpty());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
Back to top