Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 4,990 for CString (0.03 sec)

  1. android/guava/src/com/google/common/base/Platform.java

       */
      static String nullToEmpty(@Nullable String string) {
        return (string == null) ? "" : string;
      }
    
      /**
       * Returns the string if it is not empty, or a null string otherwise.
       *
       * @param string the string to test and possibly return
       * @return {@code string} if it is not empty; {@code null} otherwise
       */
      static @Nullable String emptyToNull(@Nullable String string) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HeadersCommon.kt

    internal fun Headers.commonName(index: Int): String = namesAndValues.getOrNull(index * 2) ?: throw IndexOutOfBoundsException("name[$index]")
    
    internal fun Headers.commonValue(index: Int): String =
      namesAndValues.getOrNull(index * 2 + 1) ?: throw IndexOutOfBoundsException("value[$index]")
    
    internal fun Headers.commonValues(name: String): List<String> {
      var result: MutableList<String>? = null
      for (i in 0 until size) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/HttpHeaders.java

        public static final String SAME_ORIGIN = "same-origin";
        public static final String ORIGIN = "origin";
        public static final String STRICT_ORIGIN = "strict-origin";
        public static final String ORIGIN_WHEN_CROSS_ORIGIN = "origin-when-cross-origin";
        public static final String STRICT_ORIGIN_WHEN_CROSS_ORIGIN = "strict-origin-when-cross-origin";
        public static final String UNSAFE_URL = "unsafe-url";
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Mar 27 20:37:16 UTC 2025
    - 35.4K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt

       *  * `Proxy-Authorization`
       *  * `Set-Cookie`
       */
      override fun toString(): String = commonToString()
    
      fun toMultimap(): Map<String, List<String>> {
        val result = TreeMap<String, MutableList<String>>(String.CASE_INSENSITIVE_ORDER)
        for (i in 0 until size) {
          val name = name(i).lowercase(Locale.US)
          var values: MutableList<String>? = result[name]
          if (values == null) {
            values = ArrayList(2)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/score/LtrQueryRescorerTest.java

                    return testWindowSize;
                }
            });
    
            Map<String, Object> params = new HashMap<>();
            params.put("string_param", "test_value");
            params.put("int_param", 42);
            params.put("double_param", 3.14);
            params.put("boolean_param", true);
    
            Map<String, String> nestedMap = new HashMap<>();
            nestedMap.put("nested_key", "nested_value");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java

        }
      }
    
      private static String oldRepeat(String string, int count) {
        // If this multiplication overflows, a NegativeArraySizeException or
        // OutOfMemoryError is not far behind
        int len = string.length();
        int size = len * count;
        char[] array = new char[size];
        for (int i = 0; i < size; i += len) {
          string.getChars(0, len, array, i);
        }
        return new String(array);
      }
    
      @Benchmark
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java

         *
         * @param userAgent the user agent string to match against directives,
         *                 can be null (treated as empty string)
         * @return the most specific matching directive, or null if no directive matches
         */
        public Directive getMatchedDirective(final String userAgent) {
            final String target;
            if (userAgent == null) {
                target = StringUtil.EMPTY;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsPathMapping.java

        /** createdBy */
        protected String createdBy;
    
        /** createdTime */
        protected Long createdTime;
    
        /** processType */
        protected String processType;
    
        /** regex */
        protected String regex;
    
        /** replacement */
        protected String replacement;
    
        /** sortOrder */
        protected Integer sortOrder;
    
        /** updatedBy */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/util/StringUtilTest.java

        void testJoinWithMixedCharSequenceTypes() {
            String str = "string";
            StringBuilder builder = new StringBuilder("builder");
            StringBuffer buffer = new StringBuffer("buffer");
            String result = StringUtil.join(",", str, builder, buffer);
            assertEquals("string,builder,buffer", result);
        }
    
        @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

            @Override
            protected void storeQueue(List<Tuple3<String, String, String>> taskList) {
                // Override to avoid database operations
                taskList.clear();
            }
    
            @Override
            protected String getImageFilename(final Map<String, Object> docMap) {
                // Override to avoid null pointer issues
                final String docid = (String) docMap.get("_id");
                if (docid == null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
Back to top