Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 2,550 for value (0.02 sec)

  1. guava-tests/test/com/google/common/primitives/SignedBytesTest.java

      }
    
      private static void assertCastFails(long value) {
        try {
          SignedBytes.checkedCast(value);
          fail("Cast to byte should have failed: " + value);
        } catch (IllegalArgumentException ex) {
          assertWithMessage(value + " not found in exception text: " + ex.getMessage())
              .that(ex.getMessage().contains(String.valueOf(value)))
              .isTrue();
        }
      }
    
      public void testCompare() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java

        public void test_preprocessUri() {
            String value;
            String result;
    
            value = "file://test.txt";
            result = "file://test.txt";
            assertEquals(result, fsClient.preprocessUri(value));
    
            value = "file://test test.txt";
            result = "file://test%20test.txt";
            assertEquals(result, fsClient.preprocessUri(value));
    
            value = "file://ใƒ†ใ‚นใƒˆ.txt";
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 8K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

              equal(getMap().get(entry.getKey()), entry.getValue()));
        }
      }
    
      private static boolean equal(@Nullable Object a, @Nullable Object b) {
        return a == b || (a != null && a.equals(b));
      }
    
      // This one-liner saves us from some ugly casts
      protected Entry<K, V> entry(K key, V value) {
        return mapEntry(key, value);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java

        /**
         * Trims space characters from the value.
         * @param value The value to trim.
         * @return The trimmed value.
         */
        protected String trimSpace(final String value) {
            if (trimSpaceEnabled) {
                final Matcher matcher = SPACE_PATTERN.matcher(value);
                return matcher.replaceAll(" ").trim();
            }
            return value;
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractor.java

         *
         * @param key   the key of the feature
         * @param value the value of the feature
         */
        public void addFeature(final String key, final String value) {
            if (StringUtil.isBlank(key) || StringUtil.isBlank(value)) {
                throw new CrawlerSystemException("key or value is null.");
            }
    
            featureMap.put(key, value);
        }
    
        /**
         * Adds a property to the extractor.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                final String key = e.getKey();
                Object value = e.getValue();
                if (value == null) {
                    value = StringUtil.EMPTY;
                }
                if (value instanceof String || value == null) {
                    return new Pair<>(key, value);
                }
                if (arrayFieldSet.contains(key)) {
                    if (value instanceof String[]) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 86.5K bytes
    - Viewed (0)
  7. api/go1.8.txt

    pkg encoding/json, type UnmarshalTypeError struct, Struct string
    pkg expvar, func Handler() http.Handler
    pkg expvar, method (*Float) Value() float64
    pkg expvar, method (Func) Value() interface{}
    pkg expvar, method (*Int) Value() int64
    pkg expvar, method (*String) Value() string
    pkg go/doc, func IsPredeclared(string) bool
    pkg go/types, func Default(Type) Type
    pkg go/types, func IdenticalIgnoreTags(Type, Type) bool
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Dec 21 05:25:57 UTC 2016
    - 16.3K bytes
    - Viewed (0)
  8. tests/multi_primary_keys_test.go

    		Locale:  "ZH",
    		Subject: "subject",
    		Body:    "body",
    		Tags: []Tag{
    			{Locale: "ZH", Value: "tag1"},
    			{Locale: "ZH", Value: "tag2"},
    		},
    	}
    
    	DB.Save(&blog)
    	if !compareTags(blog.Tags, []string{"tag1", "tag2"}) {
    		t.Fatalf("Blog should has two tags")
    	}
    
    	// Append
    	tag3 := &Tag{Locale: "ZH", Value: "tag3"}
    	DB.Model(&blog).Association("Tags").Append([]*Tag{tag3})
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsLabelType.java

            checkSpecifiedProperty("value");
            return convertEmptyToNull(value);
        }
    
        public void setValue(String value) {
            registerModifiedProperty("value");
            this.value = value;
        }
    
        public String getVirtualHost() {
            checkSpecifiedProperty("virtualHost");
            return convertEmptyToNull(virtualHost);
        }
    
        public void setVirtualHost(String value) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/collection/ArrayUtil.java

         *
         * @param array
         *            the array
         * @param value
         *            the value to search for
         * @return {@literal true} if the array contains the specified value
         */
        public static boolean contains(final long[] array, final long value) {
            return indexOf(array, value) > -1;
        }
    
        /**
         * Returns {@literal true} if the array contains the specified value.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 41.5K bytes
    - Viewed (0)
Back to top