- Sort Score
- Num 10 results
- Language All
Results 261 - 270 of 1,213 for Given (0.06 seconds)
-
android/guava/src/com/google/common/util/concurrent/MoreExecutors.java
return new Application().getExitingScheduledExecutorService(executor); } /** * Add a shutdown hook to wait for thread completion in the given {@link ExecutorService service}. * This is useful if the given service uses daemon threads, and we want to keep the JVM from * exiting immediately on shutdown, instead giving these daemon threads a chance to terminate * normally. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 28 22:39:02 GMT 2026 - 45.6K bytes - Click Count (0) -
android/guava/src/com/google/common/escape/ArrayBasedCharEscaper.java
import com.google.common.annotations.GwtCompatible; import java.util.Map; import org.jspecify.annotations.Nullable; /** * A {@link CharEscaper} that uses an array to quickly look up replacement characters for a given * {@code char} value. An additional safe range is provided that determines whether {@code char} * values without specific replacements are to be considered safe and left unescaped or should be * escaped in a general way. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 6.2K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionList.java
} while (reversedList != null) { executeListener(reversedList.runnable, reversedList.executor); reversedList = reversedList.next; } } /** * Submits the given runnable to the given {@link Executor} catching and logging all {@linkplain * RuntimeException runtime exceptions} thrown by the executor. */ @SuppressWarnings("CatchingUnchecked") // sneaky checked exceptionCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 10 11:51:21 GMT 2026 - 6.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/https/HandlerTest.java
class ProtocolComparisonTests { @Test @DisplayName("Should use different ports for HTTP and HTTPS") void testDifferentPorts() { // Given Handler httpsHandler = new Handler(); // When int httpsPort = httpsHandler.getDefaultPort(); int httpPort = jcifs.smb1.http.Handler.DEFAULT_HTTP_PORT;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.2K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRuleTest.groovy
apiClass.compatibilityChanges >> [new JApiCompatibilityChange(JApiCompatibilityChangeType.METHOD_REMOVED_IN_SUPERCLASS)] } def "method removal can be reported if current class is first public class"() { given: apiClass.oldClass >> Optional.of(classes['OldBase']) apiClass.newClass >> Optional.of(classes['NewBase']) when: Violation violation = rule.maybeViolation(apiClass) then:
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 24 14:15:15 GMT 2025 - 3.2K bytes - Click Count (0) -
internal/http/check_port_others.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package http import ( "context" "net" "time" ) // CheckPortAvailability - check if given host and port is already in use. // Note: The check method tries to listen on given port and closes it. // It is possible to have a disconnected client in this tiny window of time. func CheckPortAvailability(host, port string, opts TCPOptions) (err error) {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed May 03 21:12:25 GMT 2023 - 1.5K bytes - Click Count (0) -
cmd/object-api-multipart_test.go
}, // listMultipartResults - 23. // Testing for listing of 3 uploadID's for a given object // setting `prefix` to be "orange". // Will be used to list on bucketNames[1]. { MaxUploads: 10, IsTruncated: false, Prefix: "orange", }, // listMultipartResults - 24. // Testing for listing of 3 uploadID's for a given object. // setting `prefix` to be "Asia".
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 89.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/Comparators.java
* @since 30.0 */ public static <T extends Comparable<? super T>> T min(T a, T b) { return (a.compareTo(b) <= 0) ? a : b; } /** * Returns the minimum of the two values, according to the given comparator. If the values compare * as equal, the first is returned. * * <p>The recommended solution for finding the {@code minimum} of some values depends on the type
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 10.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
throw afe; } } if (Thread.interrupted()) { throw new AssertionFailedError("interrupted status set in main thread"); } } /** * Records the given exception using {@link #threadRecordFailure}, then rethrows the exception, * wrapping it in an AssertionFailedError if necessary. */ final void threadUnexpectedException(Throwable t) { threadRecordFailure(t);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 8.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/CrawlTestBase.java
} protected static Response deleteMethod(final String path) { return given().contentType("application/json").header("Authorization", getTestToken()).delete(path); } protected static void deleteDocuments(final String queryString) { List<String> docIds = new ArrayList<>(); Response response = given().contentType("application/json") .param("scroll", "1m")Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 10.6K bytes - Click Count (0)