- Sort Score
- Result 10 results
- Languages All
Results 1351 - 1360 of 7,083 for returned (0.07 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/TestStringSetGenerator.java
public String[] createArray(int length) { return new String[length]; } /** * {@inheritDoc} * * <p>By default, returns the supplied elements in their given order; however, generators for * containers with a known order other than insertion order must override this method. * * <p>Note: This default implementation is overkill (but valid) for an unordered container. An
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 2.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestIntegerSetGenerator.java
public Integer[] createArray(int length) { return new Integer[length]; } /** * {@inheritDoc} * * <p>By default, returns the supplied elements in their given order; however, generators for * containers with a known order other than insertion order must override this method. * * <p>Note: This default implementation is overkill (but valid) for an unordered container. An
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 2.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestMapEntrySetGenerator.java
@SuppressWarnings("unchecked") // generic arrays make typesafety sad public Entry<K, V>[] createArray(int length) { return (Entry<K, V>[]) new Entry<?, ?>[length]; } /** Returns the original element list, unchanged. */ @Override public List<Entry<K, V>> order(List<Entry<K, V>> insertionOrder) { return insertionOrder; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestStringSetGenerator.java
public String[] createArray(int length) { return new String[length]; } /** * {@inheritDoc} * * <p>By default, returns the supplied elements in their given order; however, generators for * containers with a known order other than insertion order must override this method. * * <p>Note: This default implementation is overkill (but valid) for an unordered container. An
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 2.1K bytes - Viewed (0) -
docs/en/docs/advanced/testing-dependencies.md
### Use cases: external service An example could be that you have an external authentication provider that you need to call. You send it a token and it returns an authenticated user. This provider might be charging you per request, and calling it might take some extra time than if you had a fixed mock user for tests.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ForwardingMultisetTest.java
public int count(Object element) { return standardCount(element); } @Override public boolean contains(Object object) { return standardContains(object); } @Override public boolean containsAll(Collection<?> collection) { return standardContainsAll(collection); } @Override public boolean remove(Object object) { return standardRemove(object); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 11.8K bytes - Viewed (0) -
internal/http/server.go
l = tls.NewListener(listener, tlsConfig) } serve = func() error { return srv.Server.Serve(l) } return } // Shutdown - shuts down HTTP server. func (srv *Server) Shutdown() error { srv.listenerMutex.Lock() if srv.listener == nil { srv.listenerMutex.Unlock() return http.ErrServerClosed } srv.listenerMutex.Unlock()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jun 19 18:42:47 UTC 2024 - 6.1K bytes - Viewed (0) -
android/guava/src/com/google/common/io/LineProcessor.java
* * @param line the line read from the input, without delimiter * @return true to continue processing, false to stop */ @CanIgnoreReturnValue // some uses know that their processor never returns false boolean processLine(String line) throws IOException; /** Return the result of processing all the lines. */ @ParametricNullness T getResult();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 17 14:35:11 UTC 2023 - 1.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/InvokableTest.java
signature.append(sep).append(typeName(param)); sep = ", "; } methods.add(signature.append(")").toString()); } return methods.build(); } private static String typeName(Class<?> type) { return type.isArray() ? typeName(type.getComponentType()) + "[]" : type.getName(); } public void testConstructor() throws Exception { Invokable<A, A> invokable = A.constructor();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:00:28 UTC 2024 - 30.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/InvokableTest.java
signature.append(sep).append(typeName(param)); sep = ", "; } methods.add(signature.append(")").toString()); } return methods.build(); } private static String typeName(Class<?> type) { return type.isArray() ? typeName(type.getComponentType()) + "[]" : type.getName(); } public void testConstructor() throws Exception { Invokable<A, A> invokable = A.constructor();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:00:28 UTC 2024 - 30.7K bytes - Viewed (0)