- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 165 for invoke (0.21 sec)
-
guava-tests/test/com/google/common/base/PreconditionsTest.java
public String toString() { throw new AssertionFailedError(); } }; private static class Message { boolean invoked; @Override public String toString() { assertFalse(invoked); invoked = true; return "A message"; } } private static final String FORMAT = "I ate %s pies.";
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 19.8K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Tue Jul 11 06:57:51 GMT 2023 - 12.7K bytes - Viewed (0) -
ci/devinfra/docker_windows/Dockerfile
FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019 # Set default powershell policy for this script (ProgressPreference='SilentlyContinue' makes # downloads with Invoke-WebRequest not show the progress bar and is MUCH faster). SHELL ["powershell.exe", "-ExecutionPolicy", "Bypass", "-Command", "$ErrorActionPreference='Stop'; $ProgressPreference='SilentlyContinue'; $VerbosePreference = 'Continue';"]
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Aug 18 17:24:20 GMT 2023 - 13.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/PreconditionsTest.java
public String toString() { throw new AssertionFailedError(); } }; private static class Message { boolean invoked; @Override public String toString() { assertFalse(invoked); invoked = true; return "A message"; } } private static final String FORMAT = "I ate %s pies.";
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 19.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/InvokableTest.java
Prepender prepender = delegate.invoke(null, "a", 1); assertEquals("a", prepender.prefix); assertEquals(1, prepender.times); } public void testConstructor_returning() throws Exception { Invokable<?, Prepender> delegate = Prepender.constructor(String.class, int.class).returning(Prepender.class); Prepender prepender = delegate.invoke(null, "a", 1); assertEquals("a", prepender.prefix);
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 30.9K bytes - Viewed (0) -
android/guava/src/com/google/common/io/TempFileCreator.java
Method orElseMethod = optionalClass.getMethod("orElse", Object.class); Object current = currentMethod.invoke(null); Object info = infoMethod.invoke(current); Object user = userMethod.invoke(info); return (String) requireNonNull(orElseMethod.invoke(user, fromSystemProperty)); } catch (ClassNotFoundException runningUnderAndroidOrJava8) { /*
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Oct 06 17:11:11 GMT 2023 - 12.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java
executionList.add(listener, exec); } /** * Subclasses should invoke this method to set the result of the computation to {@code value}. * This will set the state of the future to {@link OldAbstractFuture.Sync#COMPLETED} and invoke * the listeners if the state was successfully changed. * * @param value the value that was the result of the task.
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed May 09 15:17:25 GMT 2018 - 13.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java
executionList.add(listener, exec); } /** * Subclasses should invoke this method to set the result of the computation to {@code value}. * This will set the state of the future to {@link OldAbstractFuture.Sync#COMPLETED} and invoke * the listeners if the state was successfully changed. * * @param value the value that was the result of the task.
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Apr 06 12:56:11 GMT 2023 - 13.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
T instance = invoke(factory, args); if (instance == null) { throw new FactoryMethodReturnsNullException(factory); } return instance; } private static <T> @Nullable T invoke(Invokable<?, ? extends T> factory, List<?> args) throws InvocationTargetException, IllegalAccessException { T returnValue = factory.invoke(null, args.toArray()); if (returnValue == null) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 08 17:31:55 GMT 2024 - 33K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/InvokableTest.java
Prepender prepender = delegate.invoke(null, "a", 1); assertEquals("a", prepender.prefix); assertEquals(1, prepender.times); } public void testConstructor_returning() throws Exception { Invokable<?, Prepender> delegate = Prepender.constructor(String.class, int.class).returning(Prepender.class); Prepender prepender = delegate.invoke(null, "a", 1); assertEquals("a", prepender.prefix);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 30.8K bytes - Viewed (0)