Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 152 for newline (0.05 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/MessageDeflater.kt

        deflaterSink.write(buffer, buffer.size)
        deflaterSink.flush()
    
        if (deflatedBytes.endsWith(EMPTY_DEFLATE_BLOCK)) {
          val newSize = deflatedBytes.size - LAST_OCTETS_COUNT_TO_REMOVE_AFTER_DEFLATION
          deflatedBytes.readAndWriteUnsafe().use { cursor ->
            cursor.resizeBuffer(newSize)
          }
        } else {
          // Same as adding EMPTY_DEFLATE_BLOCK and then removing 4 bytes.
          deflatedBytes.writeByte(0x00)
        }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  2. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/runtimes/CheckTargetRuntimes.kt

            val blockContents = listOf("// Auto-generated by `:checkTargetRuntimes --fix`") + newTargetRuntimes
    
            val newLines = lines.subList(0, start + 1) +
                blockContents.map { " ".repeat(8) + it } +
                lines.subList(end, lines.size)
    
            return BuildFileMutation.Success(newLines.joinToString("\n"))
        }
    
        private fun computeExtraDetails(
            declared: Set<TargetRuntime>,
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 11 22:40:18 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

            return false;
          }
          int oldSize = size(); // calls refreshIfEmpty
          boolean changed = delegate.addAll(collection);
          if (changed) {
            int newSize = delegate.size();
            totalSize += newSize - oldSize;
            if (oldSize == 0) {
              addToMap();
            }
          }
          return changed;
        }
    
        @Override
        public boolean contains(@Nullable Object o) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 48.4K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java

        @Test
        @DisplayName("Test constructor initializes fields correctly")
        public void testConstructor() throws Exception {
            // Given
            String oldFileName = "oldFile.txt";
            String newFileName = "newFile.txt";
    
            // When
            smbComRename = new SmbComRename(config, oldFileName, newFileName);
    
            // Then
            assertEquals(ServerMessageBlock.SMB_COM_RENAME, smbComRename.getCommand());
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/docker/ShellRetry.java

            commandWithRetry.append(indent).append("done; \n");
            commandWithRetry.append(indent).append(exitKeyword).append(" $exit_code");
    
            // We need to escape all newlines so that the build process doesn't run all lines onto a single line
            return commandWithRetry.toString().replaceAll(" *\n", " \\\\\n");
        }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 10 13:10:22 GMT 2021
    - 1.9K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/job/JobExecutorTest.java

        }
    
        @Test
        public void test_execute_specialCharacters() {
            // Test scripts with special characters
            Object result = jobExecutor.execute("test", "script with\nnewline");
            assertEquals("Executed: test script with\nnewline", result);
    
            result = jobExecutor.execute("test", "script with\ttab");
            assertEquals("Executed: test script with\ttab", result);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  7. okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt

    23FF          ; valid                  ;      ; NV8    # 10.0 OBSERVER EYE SYMBOL
    2400..2424    ; valid                  ;      ; NV8    # 1.1  SYMBOL FOR NULL..SYMBOL FOR NEWLINE
    2425..2426    ; valid                  ;      ; NV8    # 3.0  SYMBOL FOR DELETE FORM TWO..SYMBOL FOR SUBSTITUTE FORM TWO
    2427..243F    ; disallowed                             # NA   <reserved-2427>..<reserved-243F>
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Feb 10 11:25:47 GMT 2024
    - 854.1K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/collect/OrderingTest.java

            List<T> newList = new ArrayList<>(scenario.strictlyOrderedList);
            Collections.reverse(newList);
            return new Scenario<T>(scenario.ordering.reverse(), newList, scenario.emptyArray);
          }
        },
        NULLS_FIRST {
          @Override
          <T extends @Nullable Object> Scenario<?> mutate(Scenario<T> scenario) {
            List<T> newList = Lists.newArrayList((T) null);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 43.2K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/OrderingTest.java

            List<T> newList = new ArrayList<>(scenario.strictlyOrderedList);
            Collections.reverse(newList);
            return new Scenario<T>(scenario.ordering.reverse(), newList, scenario.emptyArray);
          }
        },
        NULLS_FIRST {
          @Override
          <T extends @Nullable Object> Scenario<?> mutate(Scenario<T> scenario) {
            List<T> newList = Lists.newArrayList((T) null);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 43.2K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/CompactHashMap.java

        int newSize = newEntryIndex + 1;
        int hash = smearedHash(key);
        int mask = hashTableMask();
        int tableIndex = hash & mask;
        int next = CompactHashing.tableGet(requireTable(), tableIndex);
        if (next == UNSET) { // uninitialized bucket
          if (newSize > mask) {
            // Resize and add new entry
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 39.6K bytes
    - Click Count (0)
Back to Top