Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for jni (0.14 sec)

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

    // license that can be found in the LICENSE file.
    
    // It's going to be hard to include a whole real JVM to test this.
    // So we'll simulate a really easy JVM using just the parts we need.
    
    // 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;
    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. ci/official/containers/linux_arm64/devel.usertools/repack_libtensorflow.sh

    }
    DIR=$1
    TARBALL_SUFFIX=$2
    mkdir -p "$DIR"
    cp bazel-bin/tensorflow/tools/lib_package/libtensorflow.tar.gz "${DIR}/libtensorflow${TARBALL_SUFFIX}.tar.gz"
    cp bazel-bin/tensorflow/tools/lib_package/libtensorflow_jni.tar.gz "${DIR}/libtensorflow_jni${TARBALL_SUFFIX}.tar.gz"
    cp bazel-bin/tensorflow/java/libtensorflow.jar "${DIR}"
    cp_normalized_srcjar bazel-bin/tensorflow/java/libtensorflow-src.jar "${DIR}/libtensorflow-src.jar"
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  3. ci/official/utilities/repack_libtensorflow.sh

    }
    DIR=$1
    TARBALL_SUFFIX=$2
    mkdir -p "$DIR"
    cp bazel-bin/tensorflow/tools/lib_package/libtensorflow.tar.gz "${DIR}/libtensorflow${TARBALL_SUFFIX}.tar.gz"
    cp bazel-bin/tensorflow/tools/lib_package/libtensorflow_jni.tar.gz "${DIR}/libtensorflow_jni${TARBALL_SUFFIX}.tar.gz"
    cp bazel-bin/tensorflow/java/libtensorflow.jar "${DIR}"
    cp_normalized_srcjar bazel-bin/tensorflow/java/libtensorflow-src.jar "${DIR}/libtensorflow-src.jar"
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jul 12 19:47:53 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/issue26213/test26213.go

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package issue26213
    
    /*
    #include "jni.h"
    */
    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
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 835 bytes
    - Viewed (0)
  5. ci/official/containers/linux_arm64/devel.usertools/aarch64.bazelrc

    test:libtensorflow_test -- //tensorflow/tools/lib_package:libtensorflow_test //tensorflow/tools/lib_package:libtensorflow_java_test
    build:libtensorflow_build -- //tensorflow/tools/lib_package:libtensorflow.tar.gz //tensorflow/tools/lib_package:libtensorflow_jni.tar.gz //tensorflow/java:libtensorflow.jar //tensorflow/java:libtensorflow-src.jar //tensorflow/tools/lib_package:libtensorflow_proto.zip
    
    # For continuous builds
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Nov 21 12:25:39 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  6. ci/official/containers/linux_arm64/devel.usertools/aarch64_clang.bazelrc

    test:libtensorflow_test -- //tensorflow/tools/lib_package:libtensorflow_test //tensorflow/tools/lib_package:libtensorflow_java_test
    build:libtensorflow_build -- //tensorflow/tools/lib_package:libtensorflow.tar.gz //tensorflow/tools/lib_package:libtensorflow_jni.tar.gz //tensorflow/java:libtensorflow.jar //tensorflow/java:libtensorflow-src.jar //tensorflow/tools/lib_package:libtensorflow_proto.zip
    
    # For continuous builds
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Nov 21 12:25:39 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  7. src/cmd/cgo/doc.go

    empty such reference is 0, not nil.
    
    These special cases were introduced in Go 1.10. For auto-updating code
    from Go 1.9 and earlier, use the cftype or jni rewrites in the Go fix tool:
    
    	go tool fix -r cftype <pkg>
    	go tool fix -r jni <pkg>
    
    It will replace nil with 0 in the appropriate places.
    
    The EGLDisplay case was introduced in Go 1.12. Use the egl rewrite
    to auto-update code from Go 1.11 and earlier:
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  8. ci/official/containers/linux_arm64/devel.usertools/code_check_full.bats

        "//tensorflow/tools/lib_package:clicenses_generate"
    }
    
    @test "Java library generated license includes all dependencies' licenses" {
      do_external_licenses_check \
        "//tensorflow/java:libtensorflow_jni.so" \
        "//tensorflow/tools/lib_package:jnilicenses_generate"
    }
    
    # This test ensures that all the targets built into the Python package include
    # their dependencies. It's a rewritten version of the "smoke test", an older
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  9. ci/official/utilities/code_check_full.bats

        "//tensorflow/tools/lib_package:clicenses_generate"
    }
    
    @test "Java library generated license includes all dependencies' licenses" {
      do_external_licenses_check \
        "//tensorflow/java:libtensorflow_jni.so" \
        "//tensorflow/tools/lib_package:jnilicenses_generate"
    }
    
    # This test ensures that all the targets built into the Python package include
    # their dependencies. It's a rewritten version of the "smoke test", an older
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 06 21:54:13 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  10. src/cmd/cgo/gcc.go

    };
    */
    
    func (c *typeConv) badJNI(dt *dwarf.TypedefType) bool {
    	// In Dalvik and ART, the jobject type in the JNI interface of the JVM has the
    	// property that it is sometimes (always?) a small integer instead of a real pointer.
    	// Note: although only the android JVMs are bad in this respect, we declare the JNI types
    	// bad regardless of platform, so the same Go code compiles on both android and non-android.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
Back to top