Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 572 for invoke (0.25 sec)

  1. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinModifiersChangeTest.kt

            checkNotBinaryCompatibleKotlin(
                v1 = """
                    fun Int.invoke(some: Int) {}
                    operator fun Boolean.invoke(some: Int) {}
    
                    fun String.invoke(some: Int) {}
                    operator fun Long.invoke(some: Int) {}
    
                    fun Float.invoke(some: Int) {}
                    infix fun Byte.invoke(some: Int) {}
    
                    interface Source {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/common/ImplementedInvokerAssistant.java

        //                                                                           =========
        protected static final String[] DEFAULT_CLIENT_INVOKE_NAMES = { "Page", "Action", "Controller", "ControllerImpl", "Task", "Test" };
    
        protected static final String[] DEFAULT_BYPASS_INVOKE_NAMES =
                { "Service", "ServiceImpl", "Facade", "FacadeImpl", "Logic", "LogicImpl" };
    
        @Override
        public DBDef assistCurrentDBDef() {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt

              AlpnProvider(names),
            )
          putMethod.invoke(null, sslSocket, alpnProvider)
        } catch (e: InvocationTargetException) {
          throw AssertionError("failed to set ALPN", e)
        } catch (e: IllegalAccessException) {
          throw AssertionError("failed to set ALPN", e)
        }
      }
    
      override fun afterHandshake(sslSocket: SSLSocket) {
        try {
          removeMethod.invoke(null, sslSocket)
        } catch (e: IllegalAccessException) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6K bytes
    - Viewed (0)
  4. 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)
  5. okhttp/src/main/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,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java

        Class<?> test = classLoader.loadClass(FuturesTest.class.getName());
        Object testInstance = test.getDeclaredConstructor().newInstance();
        test.getMethod("setUp").invoke(testInstance);
        test.getMethod(getName()).invoke(testInstance);
        test.getMethod("tearDown").invoke(testInstance);
      }
    
      private void checkHelperVersion(ClassLoader classLoader, String expectedHelperClassName)
          throws Exception {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.9K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

                    // For implicit invoke, we resolve the calleeExpression of the CallExpression to the call that creates the receiver of this
                    // implicit invoke call. For example,
                    // ```
                    // fun test(f: () -> Unit) {
                    //   f() // calleeExpression `f` resolves to the local variable access, while `f()` resolves to the implicit `invoke` call.
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 70.8K bytes
    - Viewed (1)
  8. android/guava/src/com/google/common/collect/AbstractIterator.java

       *     this method. Any further attempts to use the iterator will result in an {@link
       *     IllegalStateException}.
       */
      @CheckForNull
      protected abstract T computeNext();
    
      /**
       * Implementations of {@link #computeNext} <b>must</b> invoke this method when there are no
       * elements left in the iteration.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Mar 18 02:04:10 GMT 2022
    - 6.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java

        Class<?> test = classLoader.loadClass(FuturesTest.class.getName());
        Object testInstance = test.getDeclaredConstructor().newInstance();
        test.getMethod("setUp").invoke(testInstance);
        test.getMethod(getName()).invoke(testInstance);
        test.getMethod("tearDown").invoke(testInstance);
      }
    
      private void checkHelperVersion(ClassLoader classLoader, String expectedHelperClassName)
          throws Exception {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.9K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt

            fun Int.fooExt() {}
    
            val String.barExt: String
                get() = "bar"
    
            var Int.bazarExt: String
                get() = "bar"
                set(value) = Unit
    
            operator fun String.invoke(p: String, block: String.() -> Unit) = Unit
    
        """
    
        private
        val annotatedKotlinMembers = """
    
            /** @since 2.0 */
            @Incubating
            fun foo() {}
    
            /** @since 2.0 */
    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)
Back to top