Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 641 - 650 of 3,266 for value0 (0.04 seconds)

  1. compat/maven-model/src/test/java/org/apache/maven/model/ModelTest.java

        @Test
        void testPropertiesClear() {
            // Test for issue #11552: NullPointerException when clearing properties
            Model model = new Model();
            model.addProperty("key1", "value1");
            model.addProperty("key2", "value2");
            assertEquals(2, model.getProperties().size());
    
            // This should not throw NullPointerException
            model.getProperties().clear();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 08:09:30 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/AbstractBiMap.java

        return putInBothMaps(key, value, true);
      }
    
      private @Nullable V putInBothMaps(
          @ParametricNullness K key, @ParametricNullness V value, boolean force) {
        checkKey(key);
        checkValue(value);
        boolean containedKey = containsKey(key);
        if (containedKey && Objects.equals(value, get(key))) {
          return value;
        }
        if (force) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        List<@Nullable Integer> values = Arrays.asList(1, null);
        assertThrows(
            NullPointerException.class,
            () -> Multimaps.index((List<Integer>) values, Functions.identity()));
      }
    
      public void testIndex_nullKey() {
        List<Integer> values = Arrays.asList(1, 2);
        assertThrows(
            NullPointerException.class, () -> Multimaps.index(values, Functions.constant(null)));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 39.2K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/hash/LittleEndianByteArray.java

       * @param value the value to write
       */
      static void store64(byte[] sink, int offset, long value) {
        // We don't want to assert in production code.
        assert offset >= 0 && offset + 8 <= sink.length;
        // Delegates to the fast (unsafe)version or the fallback.
        byteArray.putLongLittleEndian(sink, offset, value);
      }
    
      /**
       * Load 4 bytes from the provided array at the indicated offset.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

            return field.getInt(response);
        }
    
        private void setStatus(NetServerEnum2Response response, int value) throws Exception {
            Method method = getSuperclassMethod(response.getClass(), "setStatus", int.class);
            method.setAccessible(true);
            method.invoke(response, value);
        }
    
        private int getConverter(NetServerEnum2Response response) throws Exception {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

        }
    
        @Test
        @DisplayName("Test parameterized constructor")
        void testParameterizedConstructor() {
            // Create instance with test values
            SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, TEST_TYPE, TEST_REMARK);
    
            // Verify all values are set correctly
            assertEquals(TEST_NET_NAME, info.getName());
            assertEquals(SmbConstants.TYPE_SHARE, info.getType());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/api/chat/ChatApiManager.java

            }
        }
    
        /**
         * Parses and validates field filter parameters from the request.
         * Only configured label values are accepted to prevent query injection.
         *
         * @param request the HTTP request
         * @return a map of field names to their validated filter values
         */
        protected Map<String, String[]> parseFieldFilters(final HttpServletRequest request) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 06:06:55 GMT 2026
    - 25.8K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java

            return field.getInt(response);
        }
    
        private void setStatus(NetShareEnumResponse response, int value) throws Exception {
            Method method = getSuperclassMethod(response.getClass(), "setStatus", int.class);
            method.setAccessible(true);
            method.invoke(response, value);
        }
    
        private int getConverter(NetShareEnumResponse response) throws Exception {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.2K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/annotation/SecuredTest.java

            Secured secured = MultipleRolesClass.class.getAnnotation(Secured.class);
            String[] roles1 = secured.value();
            String[] roles2 = secured.value();
    
            // Different array instances should be returned
            assertNotSame(roles1, roles2);
    
            // But values should be the same
            assertEquals(roles1.length, roles2.length);
            for (int i = 0; i < roles1.length; i++) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/util/QueryStringBuilderTest.java

            final Map<String, String[]> multiFields = Collections.singletonMap("content", new String[] { "value1", "value2" });
            assertEquals("(content:\"value1\" OR content:\"value2\")", getQuery("", new String[0], multiFields, Collections.emptyMap(), false));
    
            final Map<String, String[]> nullFields = Collections.singletonMap("empty", null);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16.7K bytes
    - Click Count (0)
Back to Top