Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 413 for existing (0.08 sec)

  1. android/guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

      /*
       * This is a public type so that the Android test runner can create an instance directly as it
       * insists upon doing. It then runs the test, which behaves exactly like this package's existing
       * PackageSanityTests. (The test would run on the JVM, too, if not for the suppression below, and
       * that would be a problem because it violates small-test rules. Note that we strip the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 02:48:50 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java

      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPutIfAbsent_supportedPresent() {
        assertEquals(
            "putIfAbsent(present, value) should return existing value",
            v0(),
            getMap().putIfAbsent(k0(), v3()));
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      public void testPutIfAbsent_unsupportedAbsent() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPutIfAbsent_supportedPresent() {
        assertEquals(
            "putIfAbsent(present, value) should return existing value",
            v0(),
            getMap().putIfAbsent(k0(), v3()));
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      public void testPutIfAbsent_unsupportedAbsent() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Supplier.java

     * Otherwise, at least reduce <i>explicit</i> dependencies on this type by using lambda expressions
     * or method references instead of classes, leaving your code easier to migrate in the future.
     *
     * <p>To use an existing supplier instance (say, named {@code supplier}) in a context where the
     * <i>other type</i> of supplier is expected, use the method reference {@code supplier::get}. A
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jun 19 17:20:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/UUID.java

        private static byte B(final int i) {
            return (byte) (i & 0xFF);
        }
    
        private static short S(final int i) {
            return (short) (i & 0xFFFF);
        }
    
        /**
         * Constructs a UUID from an existing rpc.uuid_t object
         *
         * @param uuid
         *            wrapped uuid object to copy values from
         */
        public UUID(final rpc.uuid_t uuid) {
            this.time_low = uuid.time_low;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

            Map<String, String> dataMap = new HashMap<>();
            dataMap.put("key1", "value1");
            dataMap.put("key2", "");
            dataMap.put("key3", null);
    
            // Test with existing value
            String result1 = (String) method.invoke(crawler, dataMap, "key1", "default");
            assertEquals("value1", result1);
    
            // Test with empty value
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/webconfig/AdminWebconfigAction.java

                        form.name = null;
                    });
                    form.crudMode = CrudMode.CREATE;
                });
            });
        }
    
        /**
         * Displays the form for editing an existing web crawler configuration.
         *
         * @param form the edit form containing web config ID
         * @return HTML response for the web config edit form
         */
        @Execute
        @Secured({ ROLE })
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 21K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/webauth/AdminWebauthAction.java

                });
            }).renderWith(data -> {
                registerProtocolSchemeItems(data);
                registerWebConfigItems(data);
            });
        }
    
        /**
         * Displays the form for editing an existing web authentication configuration.
         *
         * @param form the edit form containing web authentication ID
         * @return HTML response for the web authentication edit form
         */
        @Execute
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

          Class<E> clazz) {
        Map<E, LockGraphNode> existing = (Map<E, LockGraphNode>) lockGraphNodesPerType.get(clazz);
        if (existing != null) {
          return existing;
        }
        Map<E, LockGraphNode> created = createNodes(clazz);
        existing = (Map<E, LockGraphNode>) lockGraphNodesPerType.putIfAbsent(clazz, created);
        return MoreObjects.firstNonNull(existing, created);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbTransportImplTest.java

            assertEquals(1, transport.getNumSessions());
            s1.close();
    
            // Act: request again with same context -> reuse existing
            SmbSessionImpl s2 = transport.getSmbSession(ctx);
            assertNotNull(s2);
            assertEquals(1, transport.getNumSessions(), "Should reuse existing session");
            s2.close();
        }
    
        @Test
        @DisplayName("DFS referrals: invalid double-slash prefix triggers exception")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
Back to top