Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 901 - 910 of 1,160 for isInvalid (0.22 seconds)

  1. tensorflow/c/eager/c_api_test.cc

      ASSERT_EQ(t, nullptr);
      ASSERT_EQ("Invalid handle", string(TF_Message(status.get())));
    
      TF_SetStatus(status.get(), TF_OK, "");
    
      const char* device_name = TFE_TensorHandleDeviceName(h, status.get());
      ASSERT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(status.get()));
      ASSERT_EQ(device_name, nullptr);
      ASSERT_EQ("Invalid handle", string(TF_Message(status.get())));
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Oct 09 05:56:18 GMT 2025
    - 94.6K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

        }
    
        @Test
        public void test_getLanguageItems_cacheException() {
            final List<Map<String, String>> items = systemHelper.getLanguageItems(new Locale("invalid"));
            assertNotNull(items);
            // The cache may work fine even with invalid locale, so check size is reasonable
            assertTrue(items.size() >= 1);
        }
    
        @Test
        public void test_getHostname_unknownHost() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 44.4K bytes
    - Click Count (0)
  3. guava/src/com/google/common/base/Strings.java

      @InlineMeValidationDisabled("Java 11+ API only")
      public static String repeat(String string, int count) {
        checkNotNull(string); // eager for GWT.
    
        if (count <= 1) {
          checkArgument(count >= 0, "invalid count: %s", count);
          return (count == 0) ? "" : string;
        }
    
        // IF YOU MODIFY THE CODE HERE, you must update StringsRepeatBenchmark
        int len = string.length();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/SmbFileInputStream.java

         * @param file
         * @param openFlags
         * @return
         * @throws SmbException
         */
        synchronized SmbFileHandleImpl ensureOpen() throws CIFSException {
            if (this.handle == null || !this.handle.isValid()) {
                // one extra acquire to keep this open till the stream is released
                if (this.file instanceof SmbNamedPipe) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/SmbFileTest.java

            }
    
            @Test
            void testConstructorWithInvalidURL() {
                // Act & Assert
                assertThrows(MalformedURLException.class, () -> {
                    new SmbFile("invalid url with spaces", mockCifsContext);
                });
            }
        }
    
        @Nested
        class WhenCheckingFileProperties {
    
            @Mock
            private SmbTreeHandleImpl mockTreeHandle;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.8K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

            }
        }
    
        @Test
        public void test_reload_withIOException() {
            // This test verifies error handling during reload
            // We'll test with invalid data or missing file
            try {
                File nonExistentFile = new File("non_existent_file.txt");
                ProtwordsFile errorFile = new ProtwordsFile("test_id", nonExistentFile.getAbsolutePath(), new Date());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.2K bytes
    - Click Count (0)
  7. cmd/object-api-listobjects_test.go

    		maxKeys    int32
    		// Expected output of ListObjects.
    		result ListObjectsInfo
    		err    error
    		// Flag indicating whether the test is expected to pass or not.
    		shouldPass bool
    	}{
    		// Test cases with invalid bucket names ( Test number 1-4 ).
    		{".test", "", "", "", 0, ListObjectsInfo{}, BucketNameInvalid{Bucket: ".test"}, false},
    		{"Test", "", "", "", 0, ListObjectsInfo{}, BucketNameInvalid{Bucket: "Test"}, false},
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 76.1K bytes
    - Click Count (0)
  8. docs/pt/docs/tutorial/response-model.md

    Isso também funcionará porque `RedirectResponse` é uma subclasse de `Response`, e o FastAPI tratará automaticamente este caso simples.
    
    ### Anotações de Tipo de Retorno Inválido { #invalid-return-type-annotations }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 16.7K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/net/InetAddresses.java

     * the source or destination address appears to be a "compat" or "mapped" address. Filtering
     * suggestions usually recommend discarding any packets with source or destination addresses in the
     * invalid range {@code ::/3}, which includes both of these bizarre address formats. For more
     * information on "bogons", including lists of IPv6 bogon space, see:
     *
     * <ul>
     *   <li><a target="_parent"
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 47.7K bytes
    - Click Count (0)
  10. src/archive/tar/format.go

    		copy(b.toSTAR().trailer(), trailerSTAR)
    	case format.has(FormatUSTAR | FormatPAX):
    		copy(b.toUSTAR().magic(), magicUSTAR)
    		copy(b.toUSTAR().version(), versionUSTAR)
    	default:
    		panic("invalid format")
    	}
    
    	// Update checksum.
    	// This field is special in that it is terminated by a NULL then space.
    	var f formatter
    	field := b.toV7().chksum()
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 11.3K bytes
    - Click Count (0)
Back to Top