Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 87 for 23456789 (0.05 seconds)

  1. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            // Write test data to buffer
            int fileAttributes = 0x0021; // FILE_ATTRIBUTE_READONLY | FILE_ATTRIBUTE_ARCHIVE
            long lastWriteTime = System.currentTimeMillis();
            int fileSize = 12345678;
    
            SMBUtil.writeInt2(fileAttributes, buffer, bufferIndex);
            SMBUtil.writeUTime(lastWriteTime, buffer, bufferIndex + 2);
            SMBUtil.writeInt4(fileSize, buffer, bufferIndex + 6);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

            @Test
            @DisplayName("Test expiration property")
            void testExpirationProperty() {
                assertNull(testBlock.getExpiration());
                testBlock.setExpiration(123456789L);
                assertEquals(123456789L, testBlock.getExpiration());
            }
        }
    
        @Nested
        @DisplayName("DFS Resolution Tests")
        class DFSResolutionTests {
    
            @BeforeEach
            void setup() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 36.2K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

      public void testDecodeInt() {
        assertThat(UnsignedInts.decode("0xffffffff")).isEqualTo(0xffffffff);
        assertThat(UnsignedInts.decode("01234567")).isEqualTo(01234567); // octal
        assertThat(UnsignedInts.decode("#12345678")).isEqualTo(0x12345678);
        assertThat(UnsignedInts.decode("76543210")).isEqualTo(76543210);
        assertThat(UnsignedInts.decode("0x13579135")).isEqualTo(0x13579135);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  4. internal/dsync/drwmutex_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package dsync
    
    import (
    	"context"
    	"fmt"
    	"runtime"
    	"sync/atomic"
    	"testing"
    	"time"
    )
    
    const (
    	id     = "1234-5678"
    	source = "main.go"
    )
    
    func testSimpleWriteLock(t *testing.T, duration time.Duration) (locked bool) {
    	drwm1 := NewDRWMutex(ds, "simplelock")
    	ctx1, cancel1 := context.WithCancel(t.Context())
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  5. src/bytes/compare_test.go

    }
    
    func benchmarkCompareBytesBigUnaligned(b *testing.B, offset int) {
    	b.StopTimer()
    	b1 := make([]byte, 0, 1<<20)
    	for len(b1) < 1<<20 {
    		b1 = append(b1, "Hello Gophers!"...)
    	}
    	b2 := append([]byte("12345678")[:offset], b1...)
    	b.StartTimer()
    	for j := 0; j < b.N; j++ {
    		if Compare(b1, b2[offset:]) != 0 {
    			b.Fatal("b1 != b2")
    		}
    	}
    	b.SetBytes(int64(len(b1)))
    }
    
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Jul 13 23:11:42 GMT 2023
    - 6.8K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/util/Hexdump.java

        /**
         * Array of hexadecimal digit characters used for converting binary data to hex representation.
         */
        public static final char[] HEX_DIGITS = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F' };
    
        /**
         * Generate "hexdump" output of the buffer at src like the following:
         *
         * <pre>
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

            stubValidTree(6L, true, false); // SMB1
    
            SmbFileHandleImpl h = new SmbFileHandleImpl(cfg, 42, tree, "//s/share", 0xA, 0xB, 0xC, 0xD, 0L);
    
            long lastWrite = 123456789L;
            h.close(lastWrite);
    
            // Verify SMB1 close path uses request + response overload
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb1/util/HexdumpTest.java

            assertEquals("00FF", Hexdump.toHexString(255L, 4));
    
            // Test larger values
            assertEquals("0000000012345678", Hexdump.toHexString(0x12345678L, 16));
            assertEquals("12345678", Hexdump.toHexString(0x12345678L, 8));
            assertEquals("5678", Hexdump.toHexString(0x12345678L, 4));
    
            // Test negative values (treated as unsigned)
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  9. cmd/xl-storage-format-v2_test.go

    		Parts:            nil,
    		Erasure: ErasureInfo{
    			Algorithm:    ReedSolomon.String(),
    			DataBlocks:   4,
    			ParityBlocks: 2,
    			BlockSize:    10000,
    			Index:        1,
    			Distribution: []int{1, 2, 3, 4, 5, 6, 7, 8},
    			Checksums: []ChecksumInfo{{
    				PartNumber: 1,
    				Algorithm:  HighwayHash256S,
    				Hash:       nil,
    			}},
    		},
    		MarkDeleted:      false,
    		Data:             data,
    		NumVersions:      1,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 37.8K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/Collections2Test.java

        assertPermutationsCount(5040, Collections2.permutations(newArrayList(1, 2, 3, 4, 5, 6, 7)));
        assertPermutationsCount(40320, Collections2.permutations(newArrayList(1, 2, 3, 4, 5, 6, 7, 8)));
      }
    
      public void testPermutationSetSizeOverflow() {
        // 13 elements overflow an int
        assertEquals(
            Integer.MAX_VALUE,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 20.1K bytes
    - Click Count (0)
Back to Top