Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1641 - 1650 of 2,268 for Method (0.06 sec)

  1. src/test/java/jcifs/dcerpc/rpcTest.java

                uuid.clock_seq_low = (byte) 0x22;
                uuid.node = new byte[] { (byte) 0xAA, (byte) 0xBB, (byte) 0xCC, (byte) 0xDD, (byte) 0xEE, (byte) 0xFF };
    
                // Mock the derive method to return a buffer for node encoding
                when(mockNdrBuffer.derive(anyInt())).thenReturn(mockNdrBuffer);
    
                // When: Encoding the UUID
                uuid.encode(mockNdrBuffer);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java

            indexUpdateCallback.store(paramMap, dataMap);
    
            // Verify
            assertEquals(1, indexUpdateCallback.getDocumentSize());
            // Check if fields were added (they should be added by the store method)
            assertNotNull("ID should be set", dataMap.get("id"));
            assertNotNull("Doc ID should be set", dataMap.get("doc_id"));
            assertNotNull("Click count should be set", dataMap.get("click_count"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/SessionServicePacketTest.java

            when(mockInputStream.read(any(byte[].class), anyInt(), anyInt())).thenReturn(-1); // Immediate EOF
    
            byte[] buffer = new byte[10];
    
            // The readn method will return 0 when stream returns -1
            // So this should still throw IOException, not return -1
            IOException exception = assertThrows(IOException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/dtyp/ACETest.java

            assertTrue(result.contains("Inherited"));
            assertTrue(result.contains("This folder, subfolders and files"));
        }
    
        @Test
        @DisplayName("Test appendCol helper method")
        void testAppendCol() {
            StringBuffer sb = new StringBuffer();
    
            // Test with short string
            ace.appendCol(sb, "test", 10);
            assertEquals("test      ", sb.toString());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

                when(response.getName()).thenReturn(null);
    
                byte[] actualName = response.getName();
                assertEquals(null, actualName);
            }
    
            @Test
            @DisplayName("decode() method should be callable")
            void testDecodeMethod() throws SMBProtocolDecodingException {
                CreateContextResponse response = mock(CreateContextResponse.class);
                byte[] buffer = new byte[100];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertTrue(enumer.hasMoreElements());
        assertEquals(3, (int) enumer.nextElement());
        assertFalse(enumer.hasMoreElements());
      }
    
      // We're testing our asEnumeration method against a known-good implementation.
      @SuppressWarnings("JdkObsolete")
      private static Enumeration<Integer> enumerate(int... ints) {
        Vector<Integer> vector = new Vector<>(Ints.asList(ints));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 54.4K bytes
    - Viewed (0)
  7. docs/changelogs/changelog_4x.md

        This regression was introduced in OkHttp 4.3.0.
     *  Fix: Don't crash with an `IllegalArgumentException` when using custom trust managers on
        Android 10. Android uses reflection to look up a magic `checkServerTrusted()` method and we
        didn't have it.
     *  Fix: Explicitly specify the remote server name when making HTTPS connections on Android 5. In
        4.3.0 we introduced a regression where server name indication (SNI) was broken on Android 5.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Apr 17 13:25:31 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/StandardTable.java

     * Null row keys, columns keys, and values are not supported.
     *
     * <p>Lookups by row key are often faster than lookups by column key, because the data is stored in
     * a {@code Map<R, Map<C, V>>}. A method call like {@code column(columnKey).get(rowKey)} still runs
     * quickly, since the row key is provided. However, {@code column(columnKey).size()} takes longer,
     * since an iteration across all row keys occurs.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 30.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

            assertEquals(expectedMappedValue, actualInfoLevel);
        }
    
        @Test
        @DisplayName("Test with null buffer in read methods")
        void testReadMethodsWithNullBuffer() {
            trans2SetFileInfo = new Trans2SetFileInformation(config, TEST_FID, mockFileInfo);
    
            // All read methods should handle null buffer gracefully
            assertEquals(0, trans2SetFileInfo.readSetupWireFormat(null, 0, 0));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/base/FessSearchAction.java

        protected boolean favoriteSupport;
    
        /** Flag indicating whether thumbnail generation is enabled. */
        protected boolean thumbnailSupport;
    
        /**
         * Hook method called before action execution. Sets up search-related flags and
         * registers popular words if enabled.
         *
         * @param runtime the action runtime context
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 13.8K bytes
    - Viewed (0)
Back to top