Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 111 for newline (0.05 sec)

  1. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

    1. if (newEntryIndex == Integer.MAX_VALUE) {
    2. throw new IllegalStateException("Cannot contain more than Integer.MAX_VALUE elements!");
    3. }
    4. int newSize = newEntryIndex + 1;
    5. resizeMeMaybe(newSize);
    6. insertEntry(newEntryIndex, key, value, hash);
    7. this.size = newSize;
    8. if (newEntryIndex >= threshold) {
    9. resizeTable(2 * table.length);
    10. }
    11. modCount++;
    12. return 0;
    13. }
    14.  
    15. /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 15K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

    1. protected File newFile;
    2.  
    3. protected Writer writer;
    4.  
    5. protected ProtwordsItem item;
    6.  
    7. protected ProtwordsUpdater(final ProtwordsItem newItem) {
    8. try {
    9. newFile = ComponentUtil.getSystemHelper().createTempFile(PROTWORDS, ".txt");
    10. writer = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(newFile), Constants.UTF_8));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

    1. protected File newFile;
    2.  
    3. protected Writer writer;
    4.  
    5. protected StopwordsItem item;
    6.  
    7. protected SynonymUpdater(final StopwordsItem newItem) {
    8. try {
    9. newFile = ComponentUtil.getSystemHelper().createTempFile(STOPWORDS, ".txt");
    10. writer = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(newFile), Constants.UTF_8));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

    1. } catch (final Exception e) {
    2. if (newFile != null) {
    3. newFile.delete();
    4. }
    5. throw new DictionaryException("Failed to write a userDict file.", e);
    6. }
    7. item = newItem;
    8. }
    9.  
    10. public StemmerOverrideItem write(final StemmerOverrideItem oldItem) {
    11. try {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/ws/MessageDeflater.kt

    1. deflaterSink.write(buffer, buffer.size)
    2. deflaterSink.flush()
    3.  
    4. if (deflatedBytes.endsWith(EMPTY_DEFLATE_BLOCK)) {
    5. val newSize = deflatedBytes.size - LAST_OCTETS_COUNT_TO_REMOVE_AFTER_DEFLATION
    6. deflatedBytes.readAndWriteUnsafe().use { cursor ->
    7. cursor.resizeBuffer(newSize)
    8. }
    9. } else {
    10. // Same as adding EMPTY_DEFLATE_BLOCK and then removing 4 bytes.
    11. deflatedBytes.writeByte(0x00)
    12. }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/normalization/DefaultModelNormalizer.java

    1. List<T> newList = null;
    2. for (int i = 0; i < list.size(); i++) {
    3. T oldT = list.get(i);
    4. T newT = modifer.apply(oldT);
    5. if (newT != oldT) {
    6. if (newList == null) {
    7. newList = new ArrayList<>(list);
    8. }
    9. newList.set(i, newT);
    10. }
    11. }
    12. return newList;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/OrderingTest.java

    1. List<T> newList = Lists.newArrayList(scenario.strictlyOrderedList);
    2. Collections.reverse(newList);
    3. return new Scenario<T>(scenario.ordering.reverse(), newList, scenario.emptyArray);
    4. }
    5. },
    6. NULLS_FIRST {
    7. @Override
    8. <T extends @Nullable Object> Scenario<?> mutate(Scenario<T> scenario) {
    9. List<T> newList = Lists.newArrayList((T) null);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/OrderingTest.java

    1. List<T> newList = Lists.newArrayList(scenario.strictlyOrderedList);
    2. Collections.reverse(newList);
    3. return new Scenario<T>(scenario.ordering.reverse(), newList, scenario.emptyArray);
    4. }
    5. },
    6. NULLS_FIRST {
    7. @Override
    8. <T extends @Nullable Object> Scenario<?> mutate(Scenario<T> scenario) {
    9. List<T> newList = Lists.newArrayList((T) null);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

    1. }
    2.  
    3. /** Advance the simulated clock, then runs tasks that are ready. Used by the test thread only. */
    4. fun advanceUntil(newTime: Long) {
    5. taskRunner.assertThreadDoesntHoldLock()
    6.  
    7. taskRunner.lock.withLock {
    8. check(currentTask == TestThreadSerialTask)
    9. nanoTime = newTime
    10. yieldUntil(ResumePriority.AfterOtherTasks)
    11. }
    12. }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  10. common/scripts/fix_copyright_banner.sh

    1. WD=$(dirname "$0")
    2. WD=$(cd "$WD"; pwd)
    3.  
    4. for fn in "$@"; do
    5. if ! grep -L -q -e "Apache License, Version 2" -e "Copyright" "${fn}"; then
    6. if [[ "${fn}" == *.go || "${fn}" == *.rs ]]; then
    7. newfile=$(cat "${WD}/copyright-banner-go.txt" "${fn}")
    8. echo "${newfile}" > "${fn}"
    9. echo "Fixing license: ${fn}"
    10. else
    11. echo "Cannot fix license: ${fn}. Unknown file type"
    12. fi
    13. fi
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Nov 17 04:35:57 UTC 2022
    - 1.3K bytes
    - Viewed (0)
Back to top