Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 6,057 for cstring (0.08 sec)

  1. misc/cgo/gmp/gmp.go

    func (z *Int) SetString(s string, base int) error {
    	z.doinit()
    	if base < 2 || base > 36 {
    		return os.ErrInvalid
    	}
    	p := C.CString(s)
    	defer C.free(unsafe.Pointer(p))
    	if C.mpz_set_str(&z.i[0], p, C.int(base)) < 0 {
    		return os.ErrInvalid
    	}
    	return nil
    }
    
    // String returns the decimal representation of z.
    func (z *Int) String() string {
    	if z == nil {
    		return "nil"
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  2. tensorflow/c/eager/parallel_device/parallel_device.cc

    class NamedParallelDevice {
     public:
      NamedParallelDevice(const std::string& name,
                          std::unique_ptr<ParallelDevice> parallel_device)
          : device_name_(name), parallel_device_(std::move(parallel_device)) {}
      const std::string& name() const { return device_name_; }
      const ParallelDevice& device() const { return *parallel_device_; }
    
     private:
      std::string device_name_;
      std::unique_ptr<ParallelDevice> parallel_device_;
    };
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 21 04:14:14 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  3. src/cmd/cgo/doc.go

    	// if C.free is needed).
    	func C.CString(string) *C.char
    
    	// Go []byte slice to C array
    	// The C array is allocated in the C heap using malloc.
    	// It is the caller's responsibility to arrange for it to be
    	// freed, such as by calling C.free (be sure to include stdlib.h
    	// if C.free is needed).
    	func C.CBytes([]byte) unsafe.Pointer
    
    	// C string to Go string
    	func C.GoString(*C.char) string
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Oct 01 22:52:54 UTC 2024
    - 44K bytes
    - Viewed (0)
  4. tensorflow/c/c_api.cc

      // Convert from TF_Output and TF_Tensor to a string and Tensor.
      std::vector<std::pair<string, Tensor>> input_pairs(ninputs);
      if (!TF_Run_Inputs(input_values, &input_pairs, status)) return;
      for (int i = 0; i < ninputs; ++i) {
        input_pairs[i].first = OutputName(inputs[i]);
      }
    
      // Convert from TF_Output to string names.
      std::vector<string> output_names(noutputs);
      for (int i = 0; i < noutputs; ++i) {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  5. android-test/src/main/res/values/strings.xml

    <resources>
      <string name="app_name">android-test</string>
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jul 16 22:15:20 UTC 2019
    - 73 bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/Strings.java

        }
    
    
        /**
         * 
         * @param str
         * @return the string as bytes (UTF16-LE)
         */
        public static byte[] getUNIBytes ( String str ) {
            return getBytes(str, UNI_ENCODING);
        }
    
    
        /**
         * 
         * @param str
         * @return the string as bytes (ASCII)
         */
        public static byte[] getASCIIBytes ( String str ) {
            return getBytes(str, ASCII_ENCODING);
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  7. regression-test/src/main/res/values/strings.xml

    <resources>
      <string name="app_name">regression-test</string>
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Nov 13 07:09:56 UTC 2020
    - 76 bytes
    - Viewed (0)
  8. android-test-app/src/main/res/values/strings.xml

    <resources>
      <string name="app_name">android-test</string>
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Dec 23 14:46:51 UTC 2023
    - 73 bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/Strings.java

     */
    package jcifs.tests;
    
    
    /**
     * @author mbechler
     *
     */
    public class Strings {
    
        /**
         * from http://www.cl.cam.ac.uk/~mgk25/ucs/examples/quickbrown.txt
         */
        static final String[] UNICODE_STRINGS = new String[] {
            "da - jordbær fløde på", // x
            "de - Zwölf Boxkämpfer", // x
            "el - Γαζέες καὶ μυρτιὲς", // x
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2K bytes
    - Viewed (0)
  10. src/test/resources/org/codelibs/core/message/strings.properties

    Shinsuke Sugaya <******@****.***> 1419757266 +0900
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Sun Dec 28 09:01:06 UTC 2014
    - 10 bytes
    - Viewed (0)
Back to top