Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for 010203 (0.1 sec)

  1. src/test/java/org/codelibs/core/lang/StringUtilTest.java

            assertEquals("abc", StringUtil.substringToLast("abc", "dddd"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToHex() throws Exception {
            assertEquals("010203", StringUtil.toHex(new byte[] { 1, 2, 3 }));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToHex2() throws Exception {
            assertEquals("0001", StringUtil.toHex(1));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. tests/migrate_test.go

    	// Create primary table
    	if err := DB.AutoMigrate(&DynamicUser{}); err != nil {
    		t.Fatalf("AutoMigrate create table error: %#v", err)
    	}
    
    	// Create sub tables
    	for _, v := range []string{"01", "02", "03"} {
    		tableName := "dynamic_users_" + v
    		m := DB.Scopes(func(db *gorm.DB) *gorm.DB {
    			return db.Table(tableName)
    		}).Migrator()
    
    		if err := m.AutoMigrate(&DynamicUser{}); err != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Mar 18 11:24:16 UTC 2024
    - 56.2K bytes
    - Viewed (0)
  3. cmd/data-usage-cache_test.go

    			}
    		})
    	}
    }
    
    func TestMigrateSizeHistogramFromV1(t *testing.T) {
    	tests := []struct {
    		v    sizeHistogramV1
    		want sizeHistogram
    	}{
    		{
    			v:    sizeHistogramV1{0: 10, 1: 20, 2: 3},
    			want: sizeHistogram{0: 10, 5: 20, 6: 3},
    		},
    		{
    			v:    sizeHistogramV1{0: 10, 1: 20, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7},
    			want: sizeHistogram{0: 10, 5: 20, 6: 3, 7: 4, 8: 5, 9: 6, 10: 7},
    		},
    	}
    	for i, test := range tests {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jan 13 07:51:08 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/SmbPipeResource.java

         * Pipe operations should behave like the <code>TransactNamedPipe</code> Win32 Named Pipe function.
         */
    
        public static final int PIPE_TYPE_TRANSACT = 0x0200;
    
        /**
         * Pipe is used for DCE
         */
        public static final int PIPE_TYPE_DCE_TRANSACT = 0x0200 | 0x0400;
    
        /**
         * Pipe should use it's own exclusive transport connection
         */
        public static final int PIPE_TYPE_UNSHARED = 0x800;
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  5. okhttp-idna-mapping-table/src/test/kotlin/okhttp3/internal/idn/MappingTablesTest.kt

              Mapping(0x0233, 0x0233, TYPE_VALID, ByteString.EMPTY),
              Mapping(0x0234, 0x0236, TYPE_VALID, ByteString.EMPTY),
              Mapping(0x0237, 0x0239, TYPE_VALID, ByteString.EMPTY),
              Mapping(0x023a, 0x023a, TYPE_MAPPED, "b".encodeUtf8()),
            ),
          ),
        ).containsExactly(
          Mapping(0x0232, 0x0232, TYPE_MAPPED, "a".encodeUtf8()),
          Mapping(0x0233, 0x0239, TYPE_VALID, ByteString.EMPTY),
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java

        hasher.putBytes(new byte[] {});
        hasher.putBytes(new byte[] {8});
        hasher.assertBytes(expected);
      }
    
      public void testShort() {
        TestHasher hasher = new TestHasher();
        hasher.putShort((short) 0x0201);
        hasher.assertBytes(new byte[] {1, 2});
      }
    
      public void testInt() {
        TestHasher hasher = new TestHasher();
        hasher.putInt(0x04030201);
        hasher.assertBytes(new byte[] {1, 2, 3, 4});
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/MultiInputStreamTest.java

      public void testJoin() throws Exception {
        joinHelper(0);
        joinHelper(1);
        joinHelper(0, 0, 0);
        joinHelper(10, 20);
        joinHelper(10, 0, 20);
        joinHelper(0, 10, 20);
        joinHelper(10, 20, 0);
        joinHelper(10, 20, 1);
        joinHelper(1, 1, 1, 1, 1, 1, 1, 1);
        joinHelper(1, 0, 1, 0, 1, 0, 1, 0);
      }
    
      public void testOnlyOneOpen() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.6K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/ModelVersionParserTest.java

            c = versionParser.parseVersionConstraint("[1.0],[2.0]");
            assertTrue(c.contains(versionParser.parseVersion("1.0")));
            assertTrue(c.contains(versionParser.parseVersion("2.0")));
    
            c = versionParser.parseVersionConstraint("[1.0],[2.0],[3.0]");
            assertContains(c, "1.0", "2.0", "3.0");
            assertNotContains(c, "1.5");
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java

        hasher.putBytes(new byte[] {});
        hasher.putBytes(new byte[] {8});
        hasher.assertBytes(expected);
      }
    
      public void testShort() {
        TestHasher hasher = new TestHasher();
        hasher.putShort((short) 0x0201);
        hasher.assertBytes(new byte[] {1, 2});
      }
    
      public void testInt() {
        TestHasher hasher = new TestHasher();
        hasher.putInt(0x04030201);
        hasher.assertBytes(new byte[] {1, 2, 3, 4});
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

        HashCode unused = sink.hash();
        sink.assertInvariants(8);
        sink.assertBytes(expected);
      }
    
      public void testShort() {
        Sink sink = new Sink(4);
        sink.putShort((short) 0x0201);
        HashCode unused = sink.hash();
        sink.assertInvariants(2);
        sink.assertBytes(new byte[] {1, 2, 0, 0}); // padded with zeros
      }
    
      public void testInt() {
        Sink sink = new Sink(4);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top