- Sort Score
- Num 10 results
- Language All
Results 191 - 200 of 6,980 for expect (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
internal/bucket/replication/replication_test.go
t.Fatalf("%d: Expected '%v' during parsing but got '%v'", i+1, tc.expectedParsingErr, err) } if err == nil && tc.expectedParsingErr != nil { t.Fatalf("%d: Expected '%v' during parsing but got '%v'", i+1, tc.expectedParsingErr, err) } if tc.expectedParsingErr != nil { // We already expect a parsing error, // no need to continue this test. return }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 32.4K bytes - Click Count (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
private fun handleSocketEffect( effect: SocketEffect?, socket: MockWebServerSocket, stream: Http2Stream? = null, ): Boolean { if (effect == null) return false when (effect) { is CloseStream -> { if (stream != null) { stream.close(ErrorCode.fromHttp2(effect.http2ErrorCode)!!, null) } else { socket.close() }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 40.3K bytes - Click Count (0) -
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) {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 91.7K bytes - Click Count (0) -
tests/connpool_test.go
"SELECT * FROM `users` WHERE name = ? AND `users`.`deleted_at` IS NULL ORDER BY `users`.`id` LIMIT ?", }, } defer func() { if !reflect.DeepEqual(conn.got, conn.expect) { t.Errorf("expect %#v but got %#v", conn.expect, conn.got) } }() db, err := gorm.Open(mysql.New(mysql.Config{Conn: conn, DisableWithReturning: true})) db.Logger = DB.Logger if err != nil {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sun May 25 07:40:40 GMT 2025 - 5.5K bytes - Click Count (0) -
src/test/java/org/codelibs/core/collection/EmptyIteratorTest.java
} /** * Test method for {@link org.codelibs.core.collection.EmptyIterator#remove()} * . */ @Test public void testRemove() { exception.expect(ClUnsupportedOperationException.class); exception.expectMessage(is("remove")); final EmptyIterator<String> emptyIterator = new EmptyIterator<String>(); emptyIterator.remove(); } /**Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2.5K bytes - Click Count (0) -
src/test/java/org/codelibs/core/collection/ArrayIteratorTest.java
assertThat(itr.next(), equalTo("b")); assertThat(itr.next(), equalTo("c")); } /** * */ @Test public void testNoSuchElement() { exception.expect(NoSuchElementException.class); exception.expectMessage(is("index=2")); final ArrayIterator<Integer> itr = new ArrayIterator<Integer>(new Integer[] { 1, 2 }); itr.next(); itr.next();
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
} /** Awaits the latch and asserts that operation completed in the expected timeframe. */ final void awaitSuccessfully() { awaitLatchUninterruptibly(); completed.assertCompletionExpected(); assertEquals(0, getCount()); } /** * Awaits the latch with a timeout and asserts that operation completed in the expected * timeframe. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 38.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java
return index; } // About the term "aunt node": it's better to leave gender out of it, but for this the English // language has nothing for us. Except for the whimsical neologism "pibling" (!) which we // obviously could not expect to increase anyone's understanding of the code. /** * Swap {@code actualLastElement} with the conceptually correct last element of the heap.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 34K bytes - Click Count (0) -
guava/src/com/google/common/collect/MinMaxPriorityQueue.java
return index; } // About the term "aunt node": it's better to leave gender out of it, but for this the English // language has nothing for us. Except for the whimsical neologism "pibling" (!) which we // obviously could not expect to increase anyone's understanding of the code. /** * Swap {@code actualLastElement} with the conceptually correct last element of the heap.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 34K bytes - Click Count (0) -
src/test/java/org/codelibs/core/collection/EnumerationIteratorTest.java
assertThat(itr.hasNext(), is(not(true))); } /** * @throws Exception */ @Test public void testRemove() throws Exception { exception.expect(ClUnsupportedOperationException.class); exception.expectMessage(is("remove")); final Vector<String> vector = new Vector<String>(); vector.add("a");
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 3.4K bytes - Click Count (0)