Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 718 for invokers (0.05 seconds)

  1. android/guava/src/com/google/common/base/FinalizableWeakReference.java

    import java.lang.ref.ReferenceQueue;
    import java.lang.ref.WeakReference;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Weak reference with a {@code finalizeReferent()} method which a background thread invokes after
     * the garbage collector reclaims the referent. This is a simpler alternative to using a {@link
     * ReferenceQueue}.
     *
     * @author Bob Lee
     * @since 2.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  2. guava/src/com/google/common/base/FinalizableWeakReference.java

    import java.lang.ref.ReferenceQueue;
    import java.lang.ref.WeakReference;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Weak reference with a {@code finalizeReferent()} method which a background thread invokes after
     * the garbage collector reclaims the referent. This is a simpler alternative to using a {@link
     * ReferenceQueue}.
     *
     * @author Bob Lee
     * @since 2.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  3. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java

        /**
         * Test: Verify that OnConnectListener is properly invoked
         */
        @Test
        public void testOnConnectListenerInvoked() {
            final AtomicBoolean listenerCalled = new AtomicBoolean(false);
            final OnConnectListener listener = () -> listenerCalled.set(true);
    
            fesenClient.addOnConnectListener(listener);
    
            // Manually invoke listeners as if connect() succeeded
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Mon Jan 12 06:25:38 GMT 2026
    - 16.9K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/cisupport/GithubCIDetector.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.cling.invoker.cisupport;
    
    import java.util.Optional;
    
    import org.apache.maven.api.cli.cisupport.CIInfo;
    
    /**
     * GitHub CI support.
     */
    public class GithubCIDetector implements CIDetector {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Apr 13 18:50:07 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/cisupport/TravisCIDetector.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.cling.invoker.cisupport;
    
    import java.util.Optional;
    
    import org.apache.maven.api.cli.cisupport.CIInfo;
    
    /**
     * Travis CI support.
     */
    public class TravisCIDetector implements CIDetector {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Apr 13 18:50:07 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

                    return 0;
                  case 1:
                    return 1;
                  case 2:
                    return endOfData();
                  default:
                    throw new AssertionError("Should not have been invoked again");
                }
              }
            };
    
        assertTrue(iter.hasNext());
        assertEquals(0, (int) iter.next());
    
        // verify idempotence of hasNext()
        assertTrue(iter.hasNext());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 8K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

                    return 0;
                  case 1:
                    return 1;
                  case 2:
                    return endOfData();
                  default:
                    throw new AssertionError("Should not have been invoked again");
                }
              }
            };
    
        assertTrue(iter.hasNext());
        assertEquals(0, (int) iter.next());
    
        // verify idempotence of hasNext()
        assertTrue(iter.hasNext());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 8K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CWD.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.cling.invoker;
    
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.util.function.Supplier;
    
    import org.apache.maven.api.annotations.Nonnull;
    
    import static java.util.Objects.requireNonNull;
    
    /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Mar 24 14:09:05 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  9. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt

            // Enable session tickets.
            setUseSessionTickets.invoke(sslSocket, true)
    
            // Assume platform support on 24+
            if (hostname != null && Build.VERSION.SDK_INT <= 23) {
              // This is SSLParameters.setServerNames() in API 24+.
              setHostname.invoke(sslSocket, hostname)
            }
    
            // Enable ALPN.
            setAlpnProtocols.invoke(
              sslSocket,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/resources/forbidden/es-all-signatures.txt

    java.security.MessageDigest#clone() @ use org.elasticsearch.common.hash.MessageDigests
    
    @defaultMessage Don't use MethodHandles in slow ways, don't be lenient in tests.
    java.lang.invoke.MethodHandle#invoke(java.lang.Object[])
    java.lang.invoke.MethodHandle#invokeWithArguments(java.lang.Object[])
    java.lang.invoke.MethodHandle#invokeWithArguments(java.util.List)
    
    @defaultMessage Don't open socket connections
    java.net.URL#openStream()
    java.net.URLConnection#connect()
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 15:21:26 GMT 2021
    - 3.8K bytes
    - Click Count (0)
Back to Top