Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 115 for getPac (0.04 sec)

  1. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

        Set<Object> observed = Sets.newIdentityHashSet(); // for the sake of weakly referenced locks.
        // this gets the stripes with #getAt(index)
        for (int i = 0; i < striped.size(); i++) {
          Object object = striped.getAt(i);
          assertNotNull(object);
          assertSame(object, striped.getAt(i)); // idempotent
          observed.add(object);
        }
        assertTrue("All stripes observed", observed.size() == striped.size());
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. android/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)
  3. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

            byte[] code = new byte[4];
            Encdec.enc_uint32le(2, code, 0);
            byte[] codeHmac = getHmac(code, key.getEncoded());
    
            byte[] dataChecksum = new byte[KerberosConstants.CHECKSUM_SIZE];
            System.arraycopy(data, 0, dataChecksum, 0, KerberosConstants.CHECKSUM_SIZE);
    
            byte[] dataHmac = getHmac(dataChecksum, codeHmac);
            SecretKeySpec dataKey = new SecretKeySpec(dataHmac, KerberosConstants.RC4_ALGORITHM);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/beans/factory/BeanDescFactoryTest.java

        }
    
        /**
         *
         */
        public static class MyBean {
    
            /**
             * @return String
             */
            public String getAaa() {
                return null;
            }
    
            /**
             * @param a
             * @return String
             */
            public String getBbb(final Object a) {
                return null;
            }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/MapHashCodeTester.java

        for (Entry<K, V> entry : getSampleEntries()) {
          expectedHashCode += hash(entry);
        }
        assertEquals(
            "A Map's hashCode() should be the sum of those of its entries.",
            expectedHashCode,
            getMap().hashCode());
      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
      @MapFeature.Require(ALLOWS_NULL_KEYS)
      public void testHashCode_containingNullKey() {
        Entry<K, V> entryWithNull = entry(null, v3());
    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/AvTimestamp.java

            return data;
        }
    
        /**
         * Gets the timestamp value from this AV pair
         *
         * @return the timestamp
         */
        public long getTimestamp() {
            return SMBUtil.readInt8(getRaw(), 0);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/DfsResolverTest.java

            assertFalse(dfsResolver.isTrustedDomain(mockContext, "anyDomain"));
        }
    
        // Test for getDc method
        @Test
        void testGetDc_DfsDisabled() throws CIFSException {
            when(mockConfig.isDfsDisabled()).thenReturn(true);
            assertNull(dfsResolver.getDc(mockContext, "anyDomain"));
        }
    
        @Test
        void testGetDc_Success() throws CIFSException, IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/DfsImplTest.java

            assertFalse(dfsImpl.isTrustedDomain(mockContext, "anydomain.com"));
        }
    
        // Tests for getDc
        @Test
        void testGetDc_DfsDisabled() throws SmbAuthException {
            // Scenario: DFS is disabled.
            when(mockConfig.isDfsDisabled()).thenReturn(true);
            assertNull(dfsImpl.getDc(mockContext, "anydomain.com"));
        }
    
        @Test
        void testGetDc_ConnectionFails() throws SmbAuthException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/ntlmssp/av/AvPairsTest.java

                AvPair decoded = decodedPairs.get(i);
    
                assertEquals(original.getType(), decoded.getType(), "Type should match at index " + i);
                assertTrue(Arrays.equals(original.getRaw(), decoded.getRaw()), "Raw data should match at index " + i);
            }
        }
    
        /**
         * Test decode with AvSingleHost type
         */
        @Test
        @DisplayName("Decode should create AvSingleHost instance")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java

         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse createnew(final CreateForm form) {
            saveToken();
            form.initialize();
            form.crudMode = CrudMode.CREATE;
            getDoc(form).ifPresent(entity -> {
                form.doc = fessConfig.convertToEditableDoc(entity);
            });
            return asEditHtml();
        }
    
        /**
         * Displays the form for editing an existing document.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 23.1K bytes
    - Viewed (1)
Back to top