Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 27 for Char (0.17 sec)

  1. tensorflow/c/eager/c_api_test.cc

      TFE_ContextOptionsSetAsync(opts, static_cast<unsigned char>(async));
      TFE_Context* ctx = TFE_NewContext(opts, status.get());
      TFE_DeleteContextOptions(opts);
      ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
      TFE_TensorHandle* hcpu = TestMatrixTensorHandle(ctx);
      const char* kErrorDevice = "NoSuchDevice:0";
      TFE_TensorHandle* hdevice =
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  2. tensorflow/c/c_api_function_test.cc

                expect_failure);
      }
    
      // Caller must delete[] the returned value
      static const char** ToArray(const std::vector<string>& strs) {
        const char** ptr = nullptr;
        if (!strs.empty()) {
          ptr = new const char*[strs.size()];
          for (size_t i = 0; i < strs.size(); ++i) {
            ptr[i] = strs[i].c_str();
          }
        }
        return ptr;
      }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  3. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(Object[].class, TypeToken.of(Object[][].class).getComponentType().getType());
        assertEquals(char.class, TypeToken.of(char[].class).getComponentType().getType());
        assertEquals(char[].class, TypeToken.of(char[][].class).getComponentType().getType());
        assertEquals(byte.class, TypeToken.of(byte[].class).getComponentType().getType());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

            for (int i = 0; i < id.length(); i++) {
                char c = id.charAt(i);
                if (!isValidCoordinateIdCharacter(c)) {
                    return false;
                }
            }
            return true;
        }
    
        private boolean isValidCoordinateIdCharacter(char c) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 13:13:07 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(Object[].class, TypeToken.of(Object[][].class).getComponentType().getType());
        assertEquals(char.class, TypeToken.of(char[].class).getComponentType().getType());
        assertEquals(char[].class, TypeToken.of(char[][].class).getComponentType().getType());
        assertEquals(byte.class, TypeToken.of(byte[].class).getComponentType().getType());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  6. src/cmd/cgo/gcc.go

    var debugDefine = flag.Bool("debug-define", false, "print relevant #defines")
    var debugGcc = flag.Bool("debug-gcc", false, "print gcc invocations")
    
    var nameToC = map[string]string{
    	"schar":         "signed char",
    	"uchar":         "unsigned char",
    	"ushort":        "unsigned short",
    	"uint":          "unsigned int",
    	"ulong":         "unsigned long",
    	"longlong":      "long long",
    	"ulonglong":     "unsigned long long",
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

      if (!status.ok())
        GTEST_SKIP() << "NewReadOnlyMemoryRegionFromFile() not supported: "
                     << status;
      EXPECT_EQ(region->length(), test_data.size());
      EXPECT_STREQ(reinterpret_cast<const char*>(region->data()),
                   test_data.c_str());
    }
    
    TEST_P(ModularFileSystemTest, TestCreateMemoryRegionFromFilePathIsInvalid) {
      const std::string filepath = GetURIForPath("a_file");
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

        String getQueryHighlightBoundaryChars();
    
        default char[] getQueryHighlightBoundaryCharsAsArray() {
            final int[] values = getCrawlerDocumentCharsAsArray(QUERY_HIGHLIGHT_BOUNDARY_CHARS, getQueryHighlightBoundaryChars());
            final char[] chars = new char[values.length];
            for (int i = 0; i < values.length; i++) {
                chars[i] = (char) values[i];
            }
            return chars;
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 85K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/io/CopyUtil.java

         * @param out
         *            ライター
         * @return コピーした文字数
         */
        protected static int copyInternal(final Reader in, final Writer out) {
            try {
                final char[] buf = new char[DEFAULT_BUF_SIZE];
                int len;
                int amount = 0;
                while ((len = in.read(buf)) != -1) {
                    out.write(buf, 0, len);
                    amount += len;
                }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 52.4K bytes
    - Viewed (0)
  10. src/bytes/bytes_test.go

    	{"long\u0250string\u0250with\u0250nonascii\u2C6Fchars", []byte("LONG\u2C6FSTRING\u2C6FWITH\u2C6FNONASCII\u2C6FCHARS")},
    	{"\u0250\u0250\u0250\u0250\u0250", []byte("\u2C6F\u2C6F\u2C6F\u2C6F\u2C6F")}, // grows one byte per char
    	{"a\u0080\U0010FFFF", []byte("A\u0080\U0010FFFF")},                           // test utf8.RuneSelf and utf8.MaxRune
    }
    
    var lowerTests = []StringTest{
    	{"", []byte("")},
    	{"abc", []byte("abc")},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
Back to top