Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 155 for abcd (0.02 sec)

  1. okhttp/src/test/java/okhttp3/internal/cache2/FileOperatorTest.kt

        }
      }
    
      @Test
      fun writeBounds() {
        val operator =
          FileOperator(
            randomAccessFile!!.getChannel(),
          )
        val buffer = Buffer().writeUtf8("abc")
        assertFailsWith<IndexOutOfBoundsException> {
          operator.write(0, buffer, -1L)
        }
        assertFailsWith<IndexOutOfBoundsException> {
          operator.write(0, buffer, 4L)
        }
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/net/PercentEscaperTest.java

            "Alphanumeric characters are always 'safe' " + "and should not be explicitly specified";
        IllegalArgumentException expected =
            assertThrows(IllegalArgumentException.class, () -> new PercentEscaper("-+#abc.!", false));
        assertThat(expected).hasMessageThat().isEqualTo(msg);
      }
    
      public void testBadArguments_plusforspace() {
        // space can be a safe char if plusForSpace is false
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

      private static final ImmutableSet<String> VALID_NAME =
          ImmutableSet.of(
              "foo.com",
              "f-_-o.cOM",
              "f--1.com",
              "f11-1.com",
              "www",
              "abc.a23",
              "biz.com.ua",
              "x",
              "fOo",
              "f--o",
              "f_a",
              "foo.net.us\uFF61ocm",
              "woo.com.",
              "8server.shop",
              "123.cn",
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  4. cmd/signature-v4-utils_test.go

    func TestSignV4TrimAll(t *testing.T) {
    	testCases := []struct {
    		// Input.
    		inputStr string
    		// Expected result.
    		result string
    	}{
    		{"本語", "本語"},
    		{" abc ", "abc"},
    		{" a b ", "a b"},
    		{"a b ", "a b"},
    		{"a  b", "a b"},
    		{"a   b", "a b"},
    		{"   a   b  c   ", "a b c"},
    		{"a \t b  c   ", "a b c"},
    		{"\"a \t b  c   ", "\"a b c"},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 05 21:26:41 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  5. internal/s3select/sql/funceval.go

    	return FromTimestamp(time.Now().UTC()), nil
    }
    
    func handleSQLSubstring(r Record, e *SubstringFunc, tableAlias string) (val *Value, err error) {
    	// Both forms `SUBSTRING('abc' FROM 2 FOR 1)` and
    	// SUBSTRING('abc', 2, 1) are supported.
    
    	// Evaluate the string argument
    	v1, err := e.Expr.evalNode(r, tableAlias)
    	if err != nil {
    		return nil, err
    	}
    	inferTypeAsString(v1)
    	s, ok := v1.ToString()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 13.2K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/testdata/loong64enc1.s

    	MOVDF	F4, F5			// 85181901
    	MOVWF	F4, F5			// 85101d01
    	MOVFW	F4, F5			// 85041b01
    	MOVWD	F4, F5			// 85201d01
    	MOVDW	F4, F5			// 85081b01
    	NEGF	F4, F5			// 85141401
    	NEGD	F4, F5			// 85181401
    	ABSD	F4, F5			// 85081401
    	TRUNCDW	F4, F5			// 85881a01
    	TRUNCFW	F4, F5			// 85841a01
    	SQRTF	F4, F5			// 85441401
    	SQRTD	F4, F5			// 85481401
    
    	DBAR	 			// 00007238
    	NOOP	 			// 00004003
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Sat Nov 02 01:36:19 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  7. 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)
  8. src/archive/tar/strconv_test.go

    		wantRes string
    		wantKey string
    		wantVal string
    		ok      bool
    	}{
    		{"6 k=v\n\n", "\n", "k", "v", true},
    		{"19 path=/etc/hosts\n", "", "path", "/etc/hosts", true},
    		{"210 path=" + longName + "\nabc", "abc", "path", longName, true},
    		{"110 path=" + medName + "\n", "", "path", medName, true},
    		{"9 foo=ba\n", "", "foo", "ba", true},
    		{"11 foo=bar\n\x00", "\x00", "foo", "bar", true},
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Feb 09 05:28:50 UTC 2021
    - 14K bytes
    - Viewed (0)
  9. 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)
  10. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

        assertEquals(2, CharStreams.readLines(r, conditional).intValue());
        assertEquals("ab", sb.toString());
      }
    
      public void testSkipFully_eof() throws IOException {
        Reader reader = new StringReader("abcde");
        assertThrows(EOFException.class, () -> CharStreams.skipFully(reader, 6));
      }
    
      public void testSkipFully() throws IOException {
        String testString = "abcdef";
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
Back to top