Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 1,395 for 2024 (0.07 seconds)

  1. okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt

      }
    
      @Test fun doesNotConsumeBuffer() {
        val buffer = Buffer()
        buffer.writeUtf8("hello ".repeat(1024))
        assertThat(buffer.isProbablyUtf8(100L)).isTrue()
        assertThat(buffer.readUtf8()).isEqualTo("hello ".repeat(1024))
      }
    
      /** Confirm [isProbablyUtf8] doesn't attempt to read the entire stream. */
      @Test fun doesNotReadEntireSource() {
        val unlimitedSource =
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Oct 06 22:47:06 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/storage/StorageItemTest.java

        public void test_fileItem() {
            final ZonedDateTime now = ZonedDateTime.now();
            final StorageItem item = new StorageItem("report.pdf", "/reports/2025/", false, 2048576L, now, "cmVwb3J0LnBkZg==");
    
            assertEquals("report.pdf", item.getName());
            assertEquals("/reports/2025/", item.getPath());
            assertFalse(item.isDirectory());
            assertEquals(2048576L, item.getSize());
            assertEquals(now, item.getLastModified());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 12:58:11 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java

            assertEquals(4096, transaction.maxDataCount);
        }
    
        @Test
        @DisplayName("Test buffer management")
        void testBufferManagement() {
            byte[] buffer = new byte[1024];
            buffer[0] = 0x42;
    
            transaction.setBuffer(buffer);
    
            byte[] released = transaction.releaseBuffer();
            assertSame(buffer, released);
            assertEquals(0x42, released[0]);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  4. src/main/assemblies/files/service.bat

    if "%unit%" == "G" goto giga
    
    rem no unit found, must be bytes; consider the whole value
    set conv=%value%
    rem convert to KB
    set /a conv=%conv% / 1024
    :kilo
    rem convert to MB
    set /a conv=%conv% / 1024
    goto mega
    :giga
    rem convert to MB
    set /a conv=%conv% * 1024
    :mega
    set "%~2=%conv%"
    goto:eof
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 15 06:32:15 GMT 2023
    - 6K bytes
    - Click Count (0)
  5. src/cmd/asm/internal/asm/testdata/buildtagerror.s

    // Copyright 2020 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #define X 1
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Oct 13 01:16:56 GMT 2020
    - 227 bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java

        }
    
        @Test
        @DisplayName("Test writeBytesWireFormat returns 0")
        void testWriteBytesWireFormat() {
            response = new Smb2QueryDirectoryResponse(mockConfig, (byte) 0x03);
            byte[] dst = new byte[1024];
            int dstIndex = 0;
    
            int result = response.writeBytesWireFormat(dst, dstIndex);
    
            assertEquals(0, result);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 23.5K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

        assertThat(escapeAsString(e, TEST_STRING)).isEqualTo(expected);
      }
    
      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 + "]");
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 6K bytes
    - Click Count (0)
  8. src/cmd/api/boring_test.go

    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build boringcrypto
    
    package main
    
    import (
    	"fmt"
    	"os"
    )
    
    func init() {
    	fmt.Printf("SKIP with boringcrypto enabled\n")
    	os.Exit(0)
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Aug 16 16:02:26 GMT 2023
    - 300 bytes
    - Click Count (0)
  9. 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
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Feb 27 20:41:17 GMT 2026
    - 96.2K bytes
    - Click Count (0)
  10. src/cmd/asm/internal/asm/testdata/loong64.s

    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #include "../../../../../runtime/textflag.h"
    // TODO: cover more instruction
    
    TEXT foo(SB),DUPOK|NOSPLIT,$0
    	JAL	1(PC)	//CALL 1(PC)	//00040054
    	JAL	(R4)	//CALL (R4)	//8100004c
    	// relocation in play so the assembled offset should be 0
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Mar 22 18:50:59 GMT 2023
    - 434 bytes
    - Click Count (0)
Back to Top