Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 96 for expect (0.04 sec)

  1. src/bytes/bytes_test.go

    	m := Map(maxRune, []byte(a))
    	expect := tenRunes(unicode.MaxRune)
    	if string(m) != expect {
    		t.Errorf("growing: expected %q got %q", expect, m)
    	}
    
    	// 2. Shrink
    	minRune := func(r rune) rune { return 'a' }
    	m = Map(minRune, []byte(tenRunes(unicode.MaxRune)))
    	expect = a
    	if string(m) != expect {
    		t.Errorf("shrinking: expected %q got %q", expect, m)
    	}
    
    	// 3. Rot13
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Jul 28 18:13:58 UTC 2025
    - 62.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

     * {@link ClosingFuture} pipeline.
     */
    @NullUnmarked
    public abstract class AbstractClosingFutureTest extends TestCase {
      // TODO(dpb): Use Expect once that supports JUnit 3, or we can use JUnit 4.
      final List<AssertionError> failures = new ArrayList<>();
      final StandardSubjectBuilder expect =
          StandardSubjectBuilder.forCustomFailureStrategy(
              new FailureStrategy() {
                @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 75.4K bytes
    - Viewed (0)
  3. src/bufio/bufio_test.go

    func TestReadLineNewlines(t *testing.T) {
    	for _, e := range readLineNewlinesTests {
    		testReadLineNewlines(t, e.input, e.expect)
    	}
    }
    
    func testReadLineNewlines(t *testing.T, input string, expect []readLineResult) {
    	b := NewReaderSize(strings.NewReader(input), minReadBufferSize)
    	for i, e := range expect {
    		line, isPrefix, err := b.ReadLine()
    		if !bytes.Equal(line, e.line) {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 07 01:08:54 UTC 2025
    - 51.6K bytes
    - Viewed (0)
  4. docs/changelogs/changelog_3x.md

           <version>1.14.0</version>
         </dependency>
    
         com.squareup.okio:okio:1.14.0
         ```
    
     *  Fix: Handle `HTTP/1.1 100 Continue` status lines, even on requests that did
        not send the `Expect: continue` request header.
     *  Fix: Do not count web sockets toward the dispatcher's per-host connection
        limit.
     *  Fix: Avoid using invalid HTTPS sessions. This prevents OkHttp from crashing
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

          client.newCall(
            Request
              .Builder()
              .url(server.url("/"))
              .build(),
          )
        assertFailsWith<IOException> {
          call.execute()
        }.also { expected ->
          assertThat(expected.message).isIn("timeout", "Read timed out")
        }
        assertThat(listener.recordedEventTypes()).containsExactly(
          "CallStart",
          "ProxySelectStart",
          "ProxySelectEnd",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 60.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Sets.java

       * elements without resizing. Note that this is not what {@link HashSet#HashSet(int)} does, but it
       * is what most users want and expect it to do.
       *
       * <p>This behavior can't be broadly guaranteed, but has been tested with OpenJDK 1.7 and 1.8.
       *
       * @param expectedSize the number of elements you expect to add to the returned set
       * @return a new, empty hash set with enough capacity to hold {@code expectedSize} elements
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  7. tensorflow/c/c_api_test.cc

    absl::Status TF_TensorToTensor(const TF_Tensor* src, Tensor* dst);
    
    namespace {
    
    static void ExpectHasSubstr(absl::string_view s, absl::string_view expected) {
      EXPECT_TRUE(absl::StrContains(s, expected))
          << "'" << s << "' does not contain '" << expected << "'";
    }
    
    // Returns the GPU device name if there is one (with arbitrary tie breaking if
    // there are more than one), or "" otherwise.
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Dec 27 12:18:10 UTC 2024
    - 97K bytes
    - Viewed (0)
  8. cmd/xl-storage.go

    		return err
    	}
    	dstFilePath := pathutil.Join(dstVolumeDir, dstPath)
    	if err = checkPathLength(dstFilePath); err != nil {
    		return err
    	}
    	if srcIsDir {
    		// If source is a directory, we expect the destination to be non-existent but we
    		// we still need to allow overwriting an empty directory since it represents
    		// an object empty directory.
    		dirInfo, err := Lstat(dstFilePath)
    		if isSysErrIO(err) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jun 13 11:33:47 UTC 2025
    - 91.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTransportImpl.java

            /*
             * Unless key returned is null or invalid Transport.loop() always
             * calls doRecv() after and no one else but the transport thread
             * should call doRecv(). Therefore it is ok to expect that the data
             * in sbuf will be preserved for copying into BUF in doRecv().
             */
    
            return (long) Encdec.dec_uint16le(this.sbuf, 34) & 0xFFFF;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  10. fess-crawler-lasta/src/main/resources/crawler/extractor.xml

    				"text/x-csharp",
    				"text/x-cobol",
    				"text/x-coldfusion",
    				"text/x-common-lisp",
    				"text/x-diff",
    				"text/x-eiffel",
    				"text/x-emacs-lisp",
    				"text/x-erlang",
    				"text/x-expect",
    				"text/x-forth",
    				"text/x-fortran",
    				"text/x-go",
    				"text/x-groovy",
    				"text/x-haskell",
    				"text/x-idl",
    				"text/x-ini",
    				"text/x-java-source",
    				"text/x-jsp",
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Aug 01 21:40:30 UTC 2020
    - 49K bytes
    - Viewed (0)
Back to top