Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 586 for getLamp (0.09 sec)

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

      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPut_supportedPresent() {
        assertEquals("put(present, value) should return the old value", v0(), getMap().put(k0(), v3()));
        expectReplacement(entry(k0(), v3()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPut_supportedNotPresent() {
        assertNull("put(notPresent, value) should return null", put(e3()));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/ldap/LdapManager.java

            if (!fessConfig.isLdapAdminEnabled(user.getName())) {
                return;
            }
    
            final Supplier<Hashtable<String, String>> adminEnv = this::createAdminEnv;
            final String userDN = fessConfig.getLdapAdminUserSecurityPrincipal(user.getName());
            // attributes
            search(fessConfig.getLdapAdminUserBaseDn(), fessConfig.getLdapAdminUserFilter(user.getName()), null, adminEnv, result -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 65.9K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivator.java

            if (active && os.getFamily() != null) {
                active = determineFamilyMatch(os.getFamily(), actualOsName);
            }
            if (active && os.getName() != null) {
                active = determineNameMatch(os.getName(), actualOsName);
            }
            if (active && os.getArch() != null) {
                active = determineArchMatch(os.getArch(), actualOsArch);
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java

      @MapFeature.Require(SUPPORTS_PUT)
      public void testAbsent() {
        assertEquals(
            "Map.merge(absent, value, function) should return value",
            v3(),
            getMap()
                .merge(
                    k3(),
                    v3(),
                    (oldV, newV) -> {
                      throw new AssertionFailedError(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

                                new Object[] { clazz.getName(), clazz.getClassLoader(), propertyType.getName(), propertyType.getClassLoader(),
                                        propertyName, valueClass == null ? null : valueClass.getName(),
                                        valueClass == null ? null : valueClass.getClassLoader(), convertedValue,
                                        targetClass == null ? null : targetClass.getName(),
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/EnumsTest.java

      @GwtIncompatible // reflection
      public void testGetField() {
        Field foo = Enums.getField(AnEnum.FOO);
        assertEquals("FOO", foo.getName());
        assertTrue(foo.isAnnotationPresent(ExampleAnnotation.class));
    
        Field bar = Enums.getField(AnEnum.BAR);
        assertEquals("BAR", bar.getName());
        assertFalse(bar.isAnnotationPresent(ExampleAnnotation.class));
      }
    
      @J2ktIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/io/ClassTraversalTest.java

            count = 0;
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testForEachJarFile() throws Exception {
            final String classFilePath = TestCase.class.getName().replace('.', '/') + ".class";
            final URL classURL = ResourceUtil.getResource(classFilePath);
            final JarURLConnection con = (JarURLConnection) classURL.openConnection();
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/BiMapEntrySetTester.java

        for (Entry<K, V> entry : getMap().entrySet()) {
          assertThrows(NullPointerException.class, () -> entry.setValue(null));
          expectUnchanged();
        }
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      @CollectionSize.Require(absent = ZERO)
      public void testSetValueNullSupported() {
        for (Entry<K, V> entry : getMap().entrySet()) {
          if (entry.getKey().equals(k0())) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:10:20 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/SetMultimapTestSuiteBuilder.java

        return SetTestSuiteBuilder.using(
                new MultimapGetGenerator<K, V>(parentBuilder.getSubjectGenerator()))
            .withFeatures(computeMultimapGetFeatures(parentBuilder.getFeatures()))
            .named(parentBuilder.getName() + ".get[key]")
            .suppressing(parentBuilder.getSuppressedTests())
            .createTestSuite();
      }
    
      @Override
      TestSuite computeMultimapAsMapGetTestSuite(
          FeatureSpecificTestSuiteBuilder<
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/MapForEachTester.java

      public void testForEachKnownOrder() {
        List<Entry<K, V>> entries = new ArrayList<>();
        getMap().forEach((k, v) -> entries.add(entry(k, v)));
        assertEquals(getOrderedElements(), entries);
      }
    
      @CollectionFeature.Require(absent = KNOWN_ORDER)
      public void testForEachUnknownOrder() {
        List<Entry<K, V>> entries = new ArrayList<>();
        getMap().forEach((k, v) -> entries.add(entry(k, v)));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top