Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 281 - 290 of 608 for _append (0.05 seconds)

  1. guava/src/com/google/common/collect/Iterators.java

          return first;
        }
    
        StringBuilder sb = new StringBuilder().append("expected one element but was: <").append(first);
        for (int i = 0; i < 4 && iterator.hasNext(); i++) {
          sb.append(", ").append(iterator.next());
        }
        if (iterator.hasNext()) {
          sb.append(", ...");
        }
        sb.append('>');
    
        throw new IllegalArgumentException(sb.toString());
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 12:42:11 GMT 2025
    - 51.4K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < 100; i++) {
                if (i > 0)
                    sb.append(",");
                sb.append("input").append(i);
            }
            sb.append(" => output\n");
    
            writeTestFile(sb.toString());
    
            PagingList<CharMappingItem> result = charMappingFile.selectList(0, 10);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.9K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/exception/ContentNotFoundExceptionTest.java

            StringBuilder longUrl = new StringBuilder("http://example.com/");
            for (int i = 0; i < 100; i++) {
                longParentUrl.append("parent/");
                longUrl.append("child/");
            }
    
            ContentNotFoundException exception = new ContentNotFoundException(longParentUrl.toString(), longUrl.toString());
    
            assertNotNull(exception);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.9K bytes
    - Click Count (0)
  4. .github/workflows/update-jdks.yml

              # To verify the change, run the build with:
              # @bot-gradle test ReadyForNightly
              # ```
              # stopGradleDaemons=true
              # ```
              EOF
              # Append everything from "version:" onwards
              sed -n '/^version:/,$p' .teamcity/jdks.yaml >> .teamcity/jdks.yaml.tmp
              mv .teamcity/jdks.yaml.tmp .teamcity/jdks.yaml
          - name: Create Pull Request
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Dec 09 22:14:16 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/hash/BloomFilterTest.java

          assertThat(BloomFilter.optimalNumOfBits(random.nextInt(1 << 16), random.nextDouble()))
              .isAtLeast(0);
        }
    
        // and some crazy values (this used to be capped to Integer.MAX_VALUE, now it can go bigger
        assertEquals(3327428144502L, BloomFilter.optimalNumOfBits(Integer.MAX_VALUE, Double.MIN_VALUE));
        IllegalArgumentException expected =
            assertThrows(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 23K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/message/MessageFormatter.java

            if (args == null || args.length == 0) {
                return "";
            }
            final StringBuilder buffer = new StringBuilder();
            for (final Object arg : args) {
                buffer.append(arg + ", ");
            }
            buffer.setLength(buffer.length() - ", ".length());
            return new String(buffer);
        }
    
        /**
         * Initializes the class.
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/net/UuidUtil.java

        /**
         * Creates a UUID.
         *
         * @return the UUID string
         */
        public static String create() {
            final StringBuilder buf = new StringBuilder(BASE.length() * 2);
            buf.append(BASE);
            final int lowTime = (int) (System.currentTimeMillis() >> 32);
            StringUtil.appendHex(buf, lowTime);
            StringUtil.appendHex(buf, RANDOM.nextInt());
            return buf.toString();
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

                    final char ch = s.charAt(i);
                    if (ch == '\\' && i < s.length() - 1) {
                        i++;
                        sb.append(s.charAt(i));
                    } else {
                        sb.append(ch);
                    }
                }
                return sb.toString();
            }
            return s;
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/base/FunctionsTest.java

        Function<? super Integer, Y> g = SerializableTester.reserializeAndAssert(f);
        for (int i = 1; i < 5; i++) {
          // convoluted way to check that the same result happens from each
          Y expected = null;
          try {
            expected = f.apply(i);
          } catch (IllegalArgumentException e) {
            try {
              g.apply(i);
              fail();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 16.2K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

          // The names are repetitive so re-use the same builder to avoid allocations.
          val fileBuilder = StringBuilder(key).append('.')
          val truncateTo = fileBuilder.length
          for (i in 0 until valueCount) {
            fileBuilder.append(i)
            cleanFiles += directory / fileBuilder.toString()
            fileBuilder.append(".tmp")
            dirtyFiles += directory / fileBuilder.toString()
            fileBuilder.setLength(truncateTo)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 34.7K bytes
    - Click Count (0)
Back to Top