Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 475 for jthrowable (0.29 sec)

  1. src/cmd/cgo/internal/test/issue26213/jni.h

    // This is the relevant part of jni.h.
    
    // On Android NDK16, jobject is defined like this in C and C++
    typedef void* jobject;
    
    typedef jobject jclass;
    typedef jobject jthrowable;
    typedef jobject jstring;
    typedef jobject jarray;
    typedef jarray jbooleanArray;
    typedef jarray jbyteArray;
    typedef jarray jcharArray;
    typedef jarray jshortArray;
    typedef jarray jintArray;
    C
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 874 bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/issue26213/test26213.go

    import "C"
    import (
    	"testing"
    )
    
    func Test26213(t *testing.T) {
    	var x1 C.jobject = 0 // Note: 0, not nil. That makes sure we use uintptr for these types.
    	_ = x1
    	var x2 C.jclass = 0
    	_ = x2
    	var x3 C.jthrowable = 0
    	_ = x3
    	var x4 C.jstring = 0
    	_ = x4
    	var x5 C.jarray = 0
    	_ = x5
    	var x6 C.jbooleanArray = 0
    	_ = x6
    	var x7 C.jbyteArray = 0
    	_ = x7
    	var x8 C.jcharArray = 0
    	_ = x8
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 835 bytes
    - Viewed (0)
  3. src/cmd/cgo/doc.go

    type in Go are instead represented by a uintptr. Those include:
    
    1. The *Ref types on Darwin, rooted at CoreFoundation's CFTypeRef type.
    
    2. The object types from Java's JNI interface:
    
    	jobject
    	jclass
    	jthrowable
    	jstring
    	jarray
    	jbooleanArray
    	jbyteArray
    	jcharArray
    	jshortArray
    	jintArray
    	jlongArray
    	jfloatArray
    	jdoubleArray
    	jobjectArray
    	jweak
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Throwables.java

       *
       * @since 20.0
       */
      public static void throwIfUnchecked(Throwable throwable) {
        checkNotNull(throwable);
        if (throwable instanceof RuntimeException) {
          throw (RuntimeException) throwable;
        }
        if (throwable instanceof Error) {
          throw (Error) throwable;
        }
      }
    
      /**
       * Propagates {@code throwable} exactly as-is, if and only if it is an instance of {@link
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Throwables.java

       *
       * @since 20.0
       */
      public static void throwIfUnchecked(Throwable throwable) {
        checkNotNull(throwable);
        if (throwable instanceof RuntimeException) {
          throw (RuntimeException) throwable;
        }
        if (throwable instanceof Error) {
          throw (Error) throwable;
        }
      }
    
      /**
       * Propagates {@code throwable} exactly as-is, if and only if it is an instance of {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  6. src/cmd/cgo/gcc.go

    // they are mapped. The base "jobject" maps to the empty string.
    var jniTypes = map[string]string{
    	"jobject":       "",
    	"jclass":        "jobject",
    	"jthrowable":    "jobject",
    	"jstring":       "jobject",
    	"jarray":        "jobject",
    	"jbooleanArray": "jarray",
    	"jbyteArray":    "jarray",
    	"jcharArray":    "jarray",
    	"jshortArray":   "jarray",
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/ThrowablesTest.java

    import static com.google.common.base.Throwables.getStackTraceAsString;
    import static com.google.common.base.Throwables.lazyStackTrace;
    import static com.google.common.base.Throwables.lazyStackTraceIsLazy;
    import static com.google.common.base.Throwables.throwIfInstanceOf;
    import static com.google.common.base.Throwables.throwIfUnchecked;
    import static com.google.common.truth.Truth.assertThat;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

    import static com.google.common.base.Throwables.getStackTraceAsString;
    import static com.google.common.base.Throwables.lazyStackTrace;
    import static com.google.common.base.Throwables.lazyStackTraceIsLazy;
    import static com.google.common.base.Throwables.throwIfInstanceOf;
    import static com.google.common.base.Throwables.throwIfUnchecked;
    import static com.google.common.truth.Truth.assertThat;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/CloserTest.java

        closer.register(null);
        closer.close();
      }
    
      static Throwable[] getSuppressed(Throwable throwable) {
        try {
          Method getSuppressed = Throwable.class.getDeclaredMethod("getSuppressed");
          return (Throwable[]) getSuppressed.invoke(throwable);
        } catch (Exception e) {
          throw new AssertionError(e); // only called if running on JDK7
        }
      }
    
      /**
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:15:46 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  10. maven-core/src/test/resources/apiv4-repo/junit/junit/4.13.1/junit-4.13.1.jar

    METHOD_NAME_PREFIXES; private static final String[] REFLECTION_METHOD_NAME_PREFIXES; private void Throwables(); public static Exception rethrowAsException(Throwable) throws Exception; private static void rethrow(Throwable) throws Throwable; public static String getStacktrace(Throwable); public static String getTrimmedStackTrace(Throwable); private static java.util.List getTrimmedStackTrace(Throwable); private static reflect.Method initGetSuppressed(); private static boolean hasSuppressed(Throwable);...
    Archive
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 19 19:08:55 GMT 2023
    - 373.7K bytes
    - Viewed (0)
Back to top