Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 592 for invoker (0.06 seconds)

  1. 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 Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/beans/impl/MethodDescImpl.java

            if (pcd == null) {
                return null;
            }
            return pcd.getRawClass();
        }
    
        @Override
        public <T> T invoke(final Object target, final Object... args) {
            assertArgumentNotNull("target", target);
    
            return MethodUtil.invoke(method, target, args);
        }
    
        @Override
        public <T> T invokeStatic(final Object... args) {
            if (!isStatic()) {
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 7.3K bytes
    - Click Count (1)
  3. android/guava/src/com/google/common/util/concurrent/FutureCallback.java

     *
     * @author Anthony Zana
     * @since 10.0
     */
    @GwtCompatible
    public interface FutureCallback<V extends @Nullable Object> {
      /** Invoked with the result of the {@code Future} computation when it is successful. */
      void onSuccess(@ParametricNullness V result);
    
      /**
       * Invoked when a {@code Future} computation fails or is canceled.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  4. guava/src/com/google/common/base/FinalizableReference.java

    @J2ktIncompatible
    @GwtIncompatible
    public interface FinalizableReference {
      /**
       * Invoked on a background thread after the referent has been garbage collected unless security
       * restrictions prevented starting a background thread, in which case this method is invoked when
       * new references are created.
       */
      void finalizeReferent();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/SmbTreeInternalTest.java

        @Mock
        private Request<CommonServerMessageBlockResponse> request;
    
        @Mock
        private CommonServerMessageBlockResponse response;
    
        @Test
        @DisplayName("connectLogon invokes underlying implementation")
        void connectLogon_invocation_isForwarded() throws Exception {
            // Act
            tree.connectLogon(context);
    
            // Assert - verify interaction with dependency
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  6. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

                assertEquals("0", getResultMessageMethod.invoke(null, 0), "Should return '0' for success");
                assertEquals("DCERPC_BIND_ERR_ABSTRACT_SYNTAX_NOT_SUPPORTED", getResultMessageMethod.invoke(null, 1),
                        "Should return correct message for error 1");
                assertEquals("DCERPC_BIND_ERR_PROPOSED_TRANSFER_SYNTAXES_NOT_SUPPORTED", getResultMessageMethod.invoke(null, 2),
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/MultiChannelManagerBasicTest.java

                java.lang.reflect.Method method =
                        MultiChannelManager.class.getDeclaredMethod("createChannelTransport", InetAddress.class, InetAddress.class);
                method.setAccessible(true);
                method.invoke(multiChannelManager, null, null);
            });
    
            // Check that the root cause is CIFSException
            assertTrue(exception instanceof java.lang.reflect.InvocationTargetException);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 4K bytes
    - Click Count (0)
  8. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinNullabilityChangesTest.kt

                        fun foo(bar: String) {}
                    }
                    operator fun Source.invoke(arg: String) {}
                """,
                v2 = """
                    class Source(some: String?) {
                        fun foo(bar: String?) {}
                    }
                    operator fun Source.invoke(arg: String?) {}
                """
            ) {
                assertHasNoError()
                assertHasWarnings(
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Feb 04 09:55:47 GMT 2025
    - 5K bytes
    - Click Count (0)
  9. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/filters/KotlinInvokeDefaultBridgeFilter.groovy

    import javassist.CtBehavior
    
    /**
     * Kotlin 2.2 produces bridge methods for invoke operator functions compiled as JVM default methods.
     */
    class KotlinInvokeDefaultBridgeFilter implements BehaviorFilter {
        @Override
        boolean matches(CtBehavior ctBehavior) {
            return ctBehavior.name.startsWith("access\$invoke\$jd")
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Jul 08 07:03:16 GMT 2025
    - 1K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            setTreeIdMethod.setAccessible(true);
            setTreeIdMethod.invoke(response, -1);
            assertFalse(response.isValidTid());
    
            // Test valid TID
            setTreeIdMethod.invoke(response, 100);
            assertTrue(response.isValidTid());
    
            // Test zero TID (valid)
            setTreeIdMethod.invoke(response, 0);
            assertTrue(response.isValidTid());
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.3K bytes
    - Click Count (0)
Back to Top