Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 154 for dabc (0.02 sec)

  1. guava-tests/test/com/google/common/base/CharMatcherTest.java

      public void testSmallCharMatcher() {
        CharMatcher len1 = SmallCharMatcher.from(bitSet("#"), "#");
        CharMatcher len2 = SmallCharMatcher.from(bitSet("ab"), "ab");
        CharMatcher len3 = SmallCharMatcher.from(bitSet("abc"), "abc");
        CharMatcher len4 = SmallCharMatcher.from(bitSet("abcd"), "abcd");
        assertTrue(len1.matches('#'));
        assertFalse(len1.matches('!'));
        assertTrue(len2.matches('a'));
        assertTrue(len2.matches('b'));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/WholeOperationTimeoutTest.kt

            return "text/plain".toMediaTypeOrNull()
          }
    
          @Throws(IOException::class)
          override fun writeTo(sink: BufferedSink) {
            try {
              sink.writeUtf8("abc")
              sink.flush()
              Thread.sleep(sleepMillis.toLong())
              sink.writeUtf8("def")
            } catch (e: InterruptedException) {
              throw InterruptedIOException()
            }
          }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  3. src/bytes/reader_test.go

    		t.Errorf("behavior differs: with = %#v; without: %#v", with, withOut)
    	}
    }
    
    // tests that Len is affected by reads, but Size is not.
    func TestReaderLenSize(t *testing.T) {
    	r := NewReader([]byte("abc"))
    	io.CopyN(io.Discard, r, 1)
    	if r.Len() != 2 {
    		t.Errorf("Len = %d; want 2", r.Len())
    	}
    	if r.Size() != 3 {
    		t.Errorf("Size = %d; want 3", r.Size())
    	}
    }
    
    func TestReaderReset(t *testing.T) {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 8K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

      }
    
      @SuppressWarnings("unchecked") // functor classes have no type parameters
      public void testGet_functors() {
        assertEquals(0, ArbitraryInstances.get(Comparator.class).compare("abc", 123));
        assertTrue(ArbitraryInstances.get(Predicate.class).apply("abc"));
        assertTrue(ArbitraryInstances.get(Equivalence.class).equivalent(1, 1));
        assertFalse(ArbitraryInstances.get(Equivalence.class).equivalent(1, 2));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  5. cmd/xl-storage_test.go

    		t.Fatalf("Unable to create volume, %s", err)
    	}
    	if err = xlStorage.AppendFile(context.Background(), "success-vol", "abc/def/ghi/success-file", []byte("Hello, world")); err != nil {
    		t.Fatalf("Unable to create file, %s", err)
    	}
    	if err = xlStorage.AppendFile(context.Background(), "success-vol", "abc/xyz/ghi/success-file", []byte("Hello, world")); err != nil {
    		t.Fatalf("Unable to create file, %s", err)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  6. src/bufio/bufio_test.go

    		b := NewWriterSize(tw, BufSize)
    		b.WriteString("abc")
    		tw.check(t, "", "")
    		b.WriteString("123456789012345")      // long string, non-empty buffer
    		tw.check(t, "abc12345", "6789012345") // use Write and then WriteString since the remaining part is still longer than BufSize
    	}
    	{
    		tw := &teststringwriter{}
    		b := NewWriterSize(tw, BufSize)
    		b.Write([]byte("abc")) // same as above, but use Write instead of WriteString
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  7. docs/vi/docs/python-types.md

    # Giới thiệu kiểu dữ liệu Python
    
    Python hỗ trợ tùy chọn "type hints" (còn được gọi là "type annotations").
    
    Những **"type hints"** hay chú thích là một cú pháp đặc biệt cho phép khai báo <abbr title="ví dụ: str, int, float, bool"> kiểu dữ liệu</abbr> của một biến.
    
    Bằng việc khai báo kiểu dữ liệu cho các biến của bạn, các trình soạn thảo và các công cụ có thể hỗ trợ bạn tốt hơn.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/HashTestUtils.java

        // Test that only data and data-order is important, not the individual operations.
        new EqualsTester()
            .addEqualityGroup(
                hashFunction.hashUnencodedChars("abc"),
                hashFunction.newHasher().putUnencodedChars("abc").hash(),
                hashFunction.newHasher().putUnencodedChars("ab").putUnencodedChars("c").hash(),
                hashFunction.newHasher().putUnencodedChars("a").putUnencodedChars("bc").hash(),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  9. cmd/object-api-putobject_test.go

    		4: {bucketName: bucket, inputData: []byte(""), expectedError: ObjectNameInvalid{Bucket: bucket, Object: ""}},
    
    		// Valid object and bucket names but non-existent bucket.
    		5: {bucketName: "abc", objName: "def", inputData: []byte(""), expectedError: BucketNotFound{Bucket: "abc"}},
    
    		// Input to replicate Md5 mismatch.
    		6: {
    			bucketName: bucket, objName: object, inputData: []byte(""),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/SplitterTest.java

        assertThat(letters).containsExactly("ab", "cd", "ef").inOrder();
      }
    
      public void testFixedLengthSplitOnlyOneChunk() {
        String simple = "abc";
        Iterable<String> letters = Splitter.fixedLength(3).split(simple);
        assertThat(letters).containsExactly("abc").inOrder();
      }
    
      public void testFixedLengthSplitSmallerString() {
        String simple = "ab";
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 29.6K bytes
    - Viewed (0)
Back to top