Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 4,671 for CString (0.05 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 Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  2. src/cmd/cgo/doc.go

    	// }
    	import "C"
    	import "unsafe"
    
    	func main() {
    		cs := C.CString("Hello from stdio")
    		C.myprint(cs)
    		C.free(unsafe.Pointer(cs))
    	}
    
    A few special functions convert between Go and C types
    by making copies of the data. In pseudo-Go definitions:
    
    	// Go string to C string
    	// The C string is allocated in the C heap using malloc.
    	// It is the caller's responsibility to arrange for it to be
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Dec 11 23:57:34 UTC 2024
    - 44K bytes
    - Viewed (0)
  3. 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 Sep 09 12:39:10 UTC 2025
    - Last Modified: Tue May 13 06:30:43 UTC 2025
    - 102.3K bytes
    - Viewed (0)
  4. RELEASE.md

        *   The byte layout for string tensors across the C-API has been updated to
            match TF Core/C++; i.e., a contiguous array of
            `tensorflow::tstring`/`TF_TString`s.
        *   C-API functions `TF_StringDecode`, `TF_StringEncode`, and
            `TF_StringEncodedSize` are no longer relevant and have been removed; see
            `core/platform/ctstring.h` for string access/modification in C.
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Aug 18 20:54:38 UTC 2025
    - 740K bytes
    - Viewed (1)
  5. src/test/java/jcifs/util/InputValidatorTest.java

            assertEquals("teststring", InputValidator.sanitizeForLogging("test\nstring"));
            assertEquals("teststring", InputValidator.sanitizeForLogging("test\rstring"));
            assertEquals("teststring", InputValidator.sanitizeForLogging("test\tstring"));
    
            // Test long string truncation
            String longString = "a".repeat(1100);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/ServerResponseValidatorTest.java

            });
        }
    
        @Test
        public void testStringWithAllowedWhitespace() throws Exception {
            validator.validateString("test\tstring", 100, "test");
            validator.validateString("test\r\nstring", 100, "test");
            // Should pass without exception
        }
    
        @Test
        public void testValidPath() throws Exception {
            validator.validatePath("\\share\\folder\\file.txt");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ComparisonChainTest.java

        TRUE,
      }
    
      static class Foo {
        private final String aString;
        private final int anInt;
        private final @Nullable TriState anEnum;
    
        Foo(String aString, int anInt, @Nullable TriState anEnum) {
          this.aString = aString;
          this.anInt = anInt;
          this.anEnum = anEnum;
        }
    
        @Override
        public String toString() {
          return toStringHelper(this)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:05:13 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  8. schema/field_test.go

    }
    
    type UserWithPermissionControl struct {
    	ID    uint
    	Name  string `gorm:"-"`
    	Name2 string `gorm:"->"`
    	Name3 string `gorm:"<-"`
    	Name4 string `gorm:"<-:create"`
    	Name5 string `gorm:"<-:update"`
    	Name6 string `gorm:"<-:create,update"`
    	Name7 string `gorm:"->:false;<-:create,update"`
    	Name8 string `gorm:"->;-:migration"`
    }
    
    func TestParseFieldWithPermission(t *testing.T) {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sat Feb 19 09:02:53 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_test.cc

      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      // Test TF_Operation*() query functions.
      EXPECT_EQ(string("feed"), string(TF_OperationName(feed)));
      EXPECT_EQ(string("Placeholder"), string(TF_OperationOpType(feed)));
      EXPECT_EQ(string(""), string(TF_OperationDevice(feed)));
      EXPECT_EQ(1, TF_OperationNumOutputs(feed));
      EXPECT_EQ(TF_INT32, TF_OperationOutputType(TF_Output{feed, 0}));
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Dec 27 12:18:10 UTC 2024
    - 97K bytes
    - Viewed (0)
  10. docs/sts/wso2.md

    | iss        | _string_       | The issuer of the JWT. The '> Identity Provider Entity Id ' value of the OAuth2/OpenID Connect Inbound Authentication configuration of the Resident Identity Provider is returned here. |
    | aud        | _string array_ | The token audience list. The client identifier of the OAuth clients that the JWT is intended for, is sent herewith.                                                                     |
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
Back to top