Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 86 for 1024 (0.02 sec)

  1. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleTransferListener.java

        }
    
        private String getStatus(long complete, long total) {
            if (total >= 1024) {
                return toKB(complete) + "/" + toKB(total) + " KB ";
            } else if (total >= 0) {
                return complete + "/" + total + " B ";
            } else if (complete >= 1024) {
                return toKB(complete) + " KB ";
            } else {
                return complete + " B ";
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

                + "]";
        assertEquals(expected, escapeAsString(e, TEST_STRING));
      }
    
      public void testGrowBuffer() { // need to grow past an initial 1024 byte buffer
        StringBuilder input = new StringBuilder();
        StringBuilder expected = new StringBuilder();
        for (int i = 256; i < 1024; i++) {
          input.append((char) i);
          expected.append("[" + i + "]");
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

                + "]";
        assertEquals(expected, escapeAsString(e, TEST_STRING));
      }
    
      public void testGrowBuffer() { // need to grow past an initial 1024 byte buffer
        StringBuilder input = new StringBuilder();
        StringBuilder expected = new StringBuilder();
        for (int i = 256; i < 1024; i++) {
          input.append((char) i);
          expected.append("[" + i + "]");
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/FilesTest.java

        assertThrows(FileNotFoundException.class, () -> Files.map(file));
      }
    
      public void testMap_readWrite() throws IOException {
        // Test data
        int size = 1024;
        byte[] expectedBytes = new byte[size];
        byte[] bytes = newPreFilledByteArray(1024);
    
        // Setup
        File file = createTempFile();
        Files.write(bytes, file);
    
        Random random = new Random();
        random.nextBytes(expectedBytes);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/FilesTest.java

        assertThrows(FileNotFoundException.class, () -> Files.map(file));
      }
    
      public void testMap_readWrite() throws IOException {
        // Test data
        int size = 1024;
        byte[] expectedBytes = new byte[size];
        byte[] bytes = newPreFilledByteArray(1024);
    
        // Setup
        File file = createTempFile();
        Files.write(bytes, file);
    
        Random random = new Random();
        random.nextBytes(expectedBytes);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/testdata/arm64.s

    	LDP	11(R0), (R1, R2)    // 1b2c0091610b40a9
    	LDP	1024(R0), (R1, R2)  // 1b001091610b40a9
    	LDP.W	8(R0), (R1, R2)     // 0188c0a9
    	LDP.P	8(R0), (R1, R2)     // 0188c0a8
    	LDP	(RSP), (R1, R2)     // e10b40a9
    	LDP	8(RSP), (R1, R2)    // e18b40a9
    	LDP	-8(RSP), (R1, R2)   // e18b7fa9
    	LDP	11(RSP), (R1, R2)   // fb2f0091610b40a9
    	LDP	1024(RSP), (R1, R2) // fb031091610b40a9
    	LDP.W	8(RSP), (R1, R2)    // e18bc0a9
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Jul 24 18:45:14 UTC 2024
    - 95.2K bytes
    - Viewed (0)
  7. internal/s3select/json/preader.go

    // return the buffer until the next newline occurs.
    // The last block will be sent along with an io.EOF.
    func (r *PReader) nextSplit(skip int, dst []byte) ([]byte, error) {
    	if cap(dst) < skip {
    		dst = make([]byte, 0, skip+1024)
    	}
    	dst = dst[:skip]
    	if skip > 0 {
    		n, err := io.ReadFull(r.buf, dst)
    		if err != nil && err != io.ErrUnexpectedEOF {
    			// If an EOF happens after reading some but not all the bytes,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/ToolchainsBuildingException.java

         */
        public List<Problem> getProblems() {
            return problems;
        }
    
        private static String toMessage(List<Problem> problems) {
            StringWriter buffer = new StringWriter(1024);
    
            PrintWriter writer = new PrintWriter(buffer);
    
            writer.print(problems.size());
            writer.print((problems.size() == 1) ? " problem was " : " problems were ");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. internal/bucket/lifecycle/lifecycle_test.go

    			objectName:             "foodir/fooobject",
    			versionID:              uuid.NewString(),
    			objectModTime:          time.Now().UTC().Add(-10 * 24 * time.Hour), // Created 10 days ago
    			objectSuccessorModTime: time.Now().UTC().Add(-10 * 24 * time.Hour), // Created 10 days ago
    			isNoncurrent:           true,
    			expectedAction:         DeleteVersionAction,
    		},
    		{
    			inputConfig: `<LifecycleConfiguration>
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/SimplexTransferListener.java

     */
    public final class SimplexTransferListener extends AbstractTransferListener {
        private static final Logger LOGGER = LoggerFactory.getLogger(SimplexTransferListener.class);
        private static final int QUEUE_SIZE = 1024;
        private static final int BATCH_MAX_SIZE = 500;
        private final TransferListener delegate;
        private final int batchMaxSize;
        private final boolean blockOnLastEvent;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top