Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 125 for a1234 (0.02 seconds)

  1. internal/ringbuffer/ring_buffer_test.go

    		t.Fatalf("expect free 0 bytes but got %d. r.w=%d, r.r=%d", rb.Free(), rb.w, rb.r)
    	}
    	if !bytes.Equal(append(buf, rb.Bytes(nil)...), []byte(strings.Repeat("abcd", 16)+strings.Repeat("1234", 4))) {
    		t.Fatalf("expect 16 abcd and 4 1234 but got %s. r.w=%d, r.r=%d", rb.Bytes(nil), rb.w, rb.r)
    	}
    }
    
    func TestRingBuffer_WriteBlocking(t *testing.T) {
    	rb := New(64).SetBlocking(true)
    
    	// check empty or full
    	if !rb.IsEmpty() {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  2. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

            // Test when sd_size doesn't match actual array size
            srvsvc.ShareInfo502 info502 = new srvsvc.ShareInfo502();
            info502.security_descriptor = new byte[] { 1, 2, 3, 4 };
            info502.sd_size = 100; // Mismatched size - SecurityDescriptor will try to read beyond array bounds
    
            // Replace info field
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/util/HexdumpTest.java

            assertEquals("FF", Hexdump.toHexString(255, 2));
    
            // Test larger values
            assertEquals("00001234", Hexdump.toHexString(0x1234, 8));
            assertEquals("1234", Hexdump.toHexString(0x1234, 4));
            assertEquals("34", Hexdump.toHexString(0x1234, 2));
    
            // Test negative values (treated as unsigned)
            assertEquals("FFFFFFFF", Hexdump.toHexString(-1, 8));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

        @DisplayName("Available returns remaining bytes in current message")
        void availableReturnsBytesInCurrentMessage() throws IOException {
            // Create message with 4 bytes
            byte[] data = new byte[] { 1, 2, 3, 4 };
            InputStream in = new ByteArrayInputStream(concat(messageHeader(4), data));
            SocketInputStream sis = new SocketInputStream(in);
    
            // Read one byte to trigger message header processing
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

        SetMultimap<String, Integer> multimap = create();
        multimap.putAll("bar", asList(3, 1, 2));
        multimap.putAll("foo", asList(2, 3, 1, -1, 4));
        assertThat(multimap.toString()).isEqualTo("{bar=[1, 2, 3], foo=[-1, 1, 2, 3, 4]}");
      }
    
      public void testOrderedGet() {
        TreeMultimap<String, Integer> multimap = createPopulate();
        assertThat(multimap.get("foo")).containsExactly(1, 3, 7).inOrder();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 22.5K bytes
    - Click Count (0)
  6. src/test/java/jcifs/netbios/LmhostsTest.java

            // Create a temporary lmhosts file with various IP formats
            File lmhostsFile = tempDir.resolve("lmhosts_ips").toFile();
            try (FileWriter writer = new FileWriter(lmhostsFile)) {
                writer.write("1.2.3.4 HOST1\n");
                writer.write("192.168.1.100 HOST2\n");
                writer.write("255.255.255.255 HOST3\n");
                writer.write("10.0.0.1 HOST4\n");
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  7. android/guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java

        X1220,
        X1221,
        X1222,
        X1223,
        X1224,
        X1225,
        X1226,
        X1227,
        X1228,
        X1229,
        X1230,
        X1231,
        X1232,
        X1233,
        X1234,
        X1235,
        X1236,
        X1237,
        X1238,
        X1239,
        X1240,
        X1241,
        X1242,
        X1243,
        X1244,
        X1245,
        X1246,
        X1247,
        X1248,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 29.4K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

      }
    
      public void testIteratorConcurrentModification() {
        MinMaxPriorityQueue<Integer> mmHeap = MinMaxPriorityQueue.create();
        mmHeap.addAll(Lists.newArrayList(1, 2, 3, 4));
        Iterator<Integer> it = mmHeap.iterator();
        assertTrue("Iterator has reached end prematurely", it.hasNext());
        it.next();
        it.next();
        mmHeap.remove(4);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 36.2K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertTrue(len4.matches('c'));
        assertTrue(len4.matches('d'));
        for (char c = 'e'; c < 'z'; c++) {
          assertFalse(len4.matches(c));
        }
    
        Random rand = new Random(1234);
        for (int testCase = 0; testCase < 100; testCase++) {
          char[] chars = randomChars(rand, rand.nextInt(63) + 1);
          CharMatcher m = SmallCharMatcher.from(bitSet(chars), new String(chars));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 32.4K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/resources/web-platform-test-urltestdata.txt

    http://foo/abcd?efgh?ijkl  s:http h:foo p:/abcd q:?efgh?ijkl
    http://foo/abcd#foo?bar  s:http h:foo p:/abcd f:#foo?bar
    [61:24:74]:98  s:http h:example.org p:/foo/[61:24:74]:98
    http:[61:27]/:foo  s:http h:example.org p:/foo/[61:27]/:foo
    http://[1::2]:3:4
    http://2001::1
    http://2001::1]
    http://2001::1]:80
    http://[2001::1]  s:http h:[2001::1] p:/
    http://[2001::1]:80  s:http h:[2001::1] p:/
    http:/example.com/  s:http h:example.org p:/example.com/
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 14.3K bytes
    - Click Count (0)
Back to Top