Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 5391 - 5400 of 6,311 for RETURN (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt

            override fun contains(element: Protocol?): Boolean {
              if (element == null) throw NullPointerException()
              return super.contains(element)
            }
    
            override fun indexOf(element: Protocol?): Int {
              if (element == null) throw NullPointerException()
              return super.indexOf(element)
            }
          } as List<Protocol>
        val client =
          OkHttpClient
            .Builder()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 13.4K bytes
    - Click Count (1)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveTester.java

        E duplicate = arrayAndDuplicate.duplicate;
    
        int firstIndex = getList().indexOf(duplicate);
        int initialSize = getList().size();
        assertTrue("remove(present) should return true", getList().remove(duplicate));
        assertTrue(
            "After remove(duplicate), a list should still contain the duplicate element",
            getList().contains(duplicate));
        assertFalse(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/TestPlatform.java

       */
      static <V extends @Nullable Object> V getDoneFromTimeoutOverload(Future<V> future)
          throws ExecutionException {
        checkState(future.isDone(), "Future was expected to be done: %s", future);
        try {
          return getUninterruptibly(future, 0, SECONDS);
        } catch (TimeoutException e) {
          throw new AssertionError(e);
        }
      }
    
      private TestPlatform() {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java

                    T stubber = doReturn(delegate).when(mock);
                    DELEGATE_METHOD.invoke(stubber);
                  } catch (Exception e) {
                    throw new RuntimeException(e);
                  }
                  return mock;
                });
      }
    
      private ForwardingObjectTester() {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java

                    T stubber = doReturn(delegate).when(mock);
                    DELEGATE_METHOD.invoke(stubber);
                  } catch (Exception e) {
                    throw new RuntimeException(e);
                  }
                  return mock;
                });
      }
    
      private ForwardingObjectTester() {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  6. tests/test_datastructures.py

        app = FastAPI()
    
        testing_file_store: list[UploadFile] = []
    
        @app.post("/uploadfile/")
        def create_upload_file(file: UploadFile):
            testing_file_store.append(file)
            return {"filename": file.filename}
    
        client = TestClient(app)
        with path.open("rb") as file:
            response = client.post("/uploadfile/", files={"file": file})
        assert response.status_code == 200, response.text
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb1/smb1/DosErrorTest.java

     * constants, the tests exercise the data and small helper logic in this
     * test class.
     */
    public class DosErrorTest {
        private static Optional<Integer> findNtStatus(int dosErrorCode) {
            return Arrays.stream(DosError.DOS_ERROR_CODES).filter(pair -> pair[0] == dosErrorCode).map(pair -> pair[1]).findFirst();
        }
    
        @Test
        @DisplayName("DOS_ERROR_CODES is non‑null and non‑empty")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/Help.java

            context.unindent();
            context.println();
            context.info("Default behavior: --model and --plugins are applied if no other options are specified");
            context.println();
    
            return 0;
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Aug 29 12:46:51 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/eventspy/EventSpy.java

     */
    public interface EventSpy {
        /**
         * Context
         */
        interface Context {
    
            /**
             * Gets key-value pairs providing information about the Maven runtime.
             *
             * @return The key-value pairs, never {@code null}.
             */
            Map<String, Object> getData();
        }
    
        /**
         * Initializes the spy.
         *
         * @param context The event spy context, never {@code null}.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Feb 10 15:02:53 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

            assertEquals(183L, MemoryUtil.sizeOf(nestedMap));
        }
    
        @Test
        public void test_sizeOf_customObjects() {
            // Test fallback case for custom objects (should return 16L)
            assertEquals(16L, MemoryUtil.sizeOf(new Object()));
            assertEquals(16L, MemoryUtil.sizeOf(new CustomTestObject()));
            assertEquals(16L, MemoryUtil.sizeOf(Boolean.TRUE));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12K bytes
    - Click Count (0)
Back to Top