Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 115 for getPac (0.04 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/MapSizeTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MapSizeTester<K, V> extends AbstractMapTester<K, V> {
      public void testSize() {
        assertEquals("size():", getNumElements(), getMap().size());
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/it/admin/SuggestTests.java

        protected void testRead() {
            final Map<String, Object> searchBody = new HashMap<>();
            String response = checkGetMethod(searchBody, "").asString();
            final Map<String, Object> res = JsonPath.from(response).getMap("response.setting");
            assertTrue(res.containsKey("total_words_num"));
            assertTrue(res.containsKey("document_words_num"));
            assertTrue(res.containsKey("query_words_num"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jun 19 07:14:01 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/Kerb5ContextTest.java

            byte[] data = new byte[] { 1, 2, 3 };
            byte[] mic = new byte[] { 9, 8 };
            when(gssContext.getMIC(eq(data), eq(0), eq(3), any())).thenReturn(mic);
    
            byte[] res = ctx.calculateMIC(data);
            assertArrayEquals(mic, res);
            verify(gssContext, times(1)).getMIC(eq(data), eq(0), eq(3), any());
        }
    
        @Test
        @DisplayName("calculateMIC wraps GSSException into CIFSException")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/it/admin/GeneralTests.java

        protected void testRead() {
            final Map<String, Object> searchBody = new HashMap<>();
            String response = checkGetMethod(searchBody, "").asString();
            final Map<String, Object> res = JsonPath.from(response).getMap("response.setting");
            assertTrue(!res.isEmpty());
            assertEquals(Integer.valueOf(0), JsonPath.from(response).get("response.status"));
        }
    
        @Override
        protected void tearDown() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jun 19 07:14:01 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/MapGetTester.java

        assertEquals("get(null) should return the associated value", getValueForNullKey(), get(null));
      }
    
      public void testGet_wrongType() {
        try {
          assertNull("get(wrongType) should return null or throw", getMap().get(WrongType.VALUE));
        } catch (ClassCastException tolerated) {
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/ntlmssp/av/AvTargetName.java

            this(encode(targetName));
        }
    
        /**
         * Gets the target name from this AV pair
         *
         * @return the target name
         */
        public String getTargetName() {
            return new String(getRaw(), UTF16LE);
        }
    
        /**
         * @param targetName
         * @return
         */
        private static byte[] encode(final String targetName) {
            return targetName.getBytes(UTF16LE);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

            // Then
            // MIC (Message Integrity Check) should be included for newer versions
            if (type3.isMICRequired()) {
                assertNotNull(type3.getMic());
                assertEquals(16, type3.getMic().length); // MIC is 16 bytes
            }
        }
    
        @Test
        @DisplayName("Should handle case sensitivity correctly")
        void testCaseSensitivity() throws Exception {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetTester.java

        assertEquals("get(null) should return the associated value", getValueForNullKey(), get(null));
      }
    
      public void testGet_wrongType() {
        try {
          assertNull("get(wrongType) should return null or throw", getMap().get(WrongType.VALUE));
        } catch (ClassCastException tolerated) {
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/DfsImpl.java

                return null;
            }
    
        }
    
        /**
         *
         * {@inheritDoc}
         *
         * @see jcifs.DfsResolver#getDc(jcifs.CIFSContext, java.lang.String)
         */
        @Override
        public SmbTransport getDc(final CIFSContext tf, final String domain) throws SmbAuthException {
            if (tf.getConfig().isDfsDisabled()) {
                return null;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 29.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/Dfs.java

         * @param auth the authentication credentials
         * @return an SMB transport to the domain controller
         * @throws SmbAuthException if authentication fails
         */
        public SmbTransport getDc(final String domain, final NtlmPasswordAuthentication auth) throws SmbAuthException {
            if (DISABLED) {
                return null;
            }
    
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.2K bytes
    - Viewed (0)
Back to top