Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 611 for Invoke (0.11 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

        }
    
      private fun loomThreadFactory(): ThreadFactory {
        val ofVirtual = Thread::class.java.getMethod("ofVirtual").invoke(null)
    
        return Class.forName("java.lang.Thread\$Builder")
          .getMethod("factory")
          .invoke(ofVirtual) as ThreadFactory
      }
    
      private fun isLoom(): Boolean {
        return getPlatformSystemProperty() == LOOM_PROPERTY
      }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (1)
  2. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

       * Verifies that {@code method} produces a {@link NullPointerException} or {@link
       * UnsupportedOperationException} whenever <i>any</i> of its non-nullable parameters are null.
       *
       * @param instance the instance to invoke {@code method} on, or null if {@code method} is static
       */
      public void testMethod(@Nullable Object instance, Method method) {
        Class<?>[] types = method.getParameterTypes();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

        Feature<?>[] presentFeatures;
        Feature<?>[] absentFeatures;
        try {
          presentFeatures = (Feature[]) annotationClass.getMethod("value").invoke(testerAnnotation);
          absentFeatures = (Feature[]) annotationClass.getMethod("absent").invoke(testerAnnotation);
        } catch (Exception e) {
          throw new IllegalArgumentException("Error extracting features from tester annotation.", e);
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 21 15:08:35 UTC 2022
    - 12.1K bytes
    - Viewed (0)
  4. src/text/template/doc.go

    A template may be executed directly or through [Template.ExecuteTemplate], which executes
    an associated template identified by name. To invoke our example above, we
    might write,
    
    	err := tmpl.Execute(os.Stdout, "no data needed")
    	if err != nil {
    		log.Fatalf("execution failed: %s", err)
    	}
    
    or to invoke a particular template explicitly by name,
    
    	err := tmpl.ExecuteTemplate(os.Stdout, "T2", "no data needed")
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  5. src/syscall/js/js.go

    //go:nosplit
    //go:noescape
    func valueCall(v ref, m string, args []ref) (ref, bool)
    
    // Invoke does a JavaScript call of the value v with the given arguments.
    // It panics if v is not a JavaScript function.
    // The arguments get mapped to JavaScript values according to the ValueOf function.
    func (v Value) Invoke(args ...any) Value {
    	argVals, argRefs := makeArgSlices(len(args))
    	storeArgs(args, argVals, argRefs)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 14:35:26 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/NullPointerTester.java

       * Verifies that {@code method} produces a {@link NullPointerException} or {@link
       * UnsupportedOperationException} whenever <i>any</i> of its non-nullable parameters are null.
       *
       * @param instance the instance to invoke {@code method} on, or null if {@code method} is static
       */
      public void testMethod(@Nullable Object instance, Method method) {
        Class<?>[] types = method.getParameterTypes();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/util/wait/backoff.go

    }
    
    // DelayWithReset returns a DelayFunc that will return the appropriate next interval to
    // wait. Every resetInterval the backoff parameters are reset to their initial state.
    // This method is safe to invoke from multiple goroutines, but all calls will advance
    // the backoff state when Factor is set. If Factor is zero, this method is the same as
    // invoking b.DelayFunc() since Steps has no impact without Factor. If resetInterval is
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 19:14:11 UTC 2023
    - 16.5K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

        Feature<?>[] presentFeatures;
        Feature<?>[] absentFeatures;
        try {
          presentFeatures = (Feature[]) annotationClass.getMethod("value").invoke(testerAnnotation);
          absentFeatures = (Feature[]) annotationClass.getMethod("absent").invoke(testerAnnotation);
        } catch (Exception e) {
          throw new IllegalArgumentException("Error extracting features from tester annotation.", e);
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 21 15:08:35 UTC 2022
    - 12.1K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/EncryptionService.kt

                safeWrap(output, this::encryptingOutputStream)
            else
                output.invoke()
    
        override fun inputStream(stateType: StateType, input: () -> InputStream): InputStream =
            if (shouldEncryptStreams(stateType))
                safeWrap(input, this::decryptingInputStream)
            else
                input.invoke()
    
        /**
         * Wraps an inner closeable into an outer closeable, while ensuring that
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ForwardingMultiset.java

     *
     * <p><b>{@code default} method warning:</b> This class does <i>not</i> forward calls to {@code
     * default} methods. Instead, it inherits their default implementations. When those implementations
     * invoke methods, they invoke methods on the {@code ForwardingMultiset}.
     *
     * <p>The {@code standard} methods and any collection views they return are not guaranteed to be
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 10.4K bytes
    - Viewed (0)
Back to top