Search Options

Results per page
Sort
Preferred Languages
Advance

Results 711 - 720 of 1,248 for Invalid (0.04 sec)

  1. tests/associations_has_many_test.go

    		t.Fatalf("should only find one pets, but got %v", count)
    	}
    
    	if count := DB.Model(&user).Where("name = ?", "not found").Association("Pets").Count(); count != 0 {
    		t.Fatalf("should only find no pet with invalid conditions, but got %v", count)
    	}
    
    	// Count
    	AssertAssociationCount(t, user, "Pets", 2, "")
    
    	// Append
    	pet := Pet{Name: "pet-has-many-append"}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 16K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractBehavior.java

            final BulkItemResponse[] itemResponses = response.getItems();
            if (itemResponses.length != entityList.size()) {
                throw new IllegalStateException("Invalid response size: " + itemResponses.length + " != " + entityList.size());
            }
            final int[] results = new int[itemResponses.length];
            for (int i = 0; i < itemResponses.length; i++) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jun 21 04:02:44 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                        // Checked exception (e.g. MalformedURLException) would be better
                        // but this would be a nightmare API wise
                        throw new RuntimeCIFSException("Invalid smb: URL: " + this.url);
                    }
                    out[prefixLen] = in[i];
                    prefixLen++;
                    state = 1;
                    break;
                case 1:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

                mockReferralData.stripPathConsumed(value);
                verify(mockReferralData, times(1)).stripPathConsumed(value);
    
                // Test with concrete implementation - may throw for invalid values
                if (value >= 0 && value <= concreteImplementation.getPathConsumed()) {
                    assertDoesNotThrow(() -> concreteImplementation.stripPathConsumed(value));
                }
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt

        bytesIn.writeByte(0xe2)
        bytesIn.writeByte(0x1f)
        assertFailsWith<IOException> {
          hpackReader!!.readHeaders()
        }.also { expected ->
          assertThat(expected.message).isEqualTo("Invalid dynamic table size update 4097")
        }
      }
    
      // Example taken from twitter/hpack DecoderTest.testInsidiousMaxHeaderSize
      @Test
      fun readHeaderTableStateChangeInsidiousMaxHeaderByteCount() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 38.6K bytes
    - Viewed (0)
  6. cmd/batch-handlers.go

    	workerSize, err := strconv.Atoi(env.Get("_MINIO_BATCH_REPLICATION_WORKERS", strconv.Itoa(runtime.GOMAXPROCS(0)/2)))
    	if err != nil {
    		return err
    	}
    
    	wk, err := workers.New(workerSize)
    	if err != nil {
    		// invalid worker size.
    		return err
    	}
    
    	retry := false
    	for attempts := 1; attempts <= retryAttempts; attempts++ {
    		attempts := attempts
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

                            Collections.emptyList());
                } catch (InvalidVersionSpecificationException e) {
                    throw new ArtifactMetadataRetrievalException("Invalid version creating artifacts", e, artifact);
                }
            }
    
            private String getKey(Artifact artifact) {
                return artifact.getDependencyConflictId();
            }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 42.7K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

       * implementations should always throw one of the exceptions in a {@code PermittedExceptions}
       * instance, since {@code PermittedExceptions} is thrown only when a method call is invalid.
       *
       * <p>This class is accessible but not supported in GWT as it references {@link
       * PermittedMetaException}.
       */
      protected final class MultiExceptionListIterator implements ListIterator<E> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

            return new SmbRandomAccessFile(file, mode, SmbConstants.DEFAULT_SHARING, unshared);
        }
    
        @Test
        @DisplayName("Constructor: invalid mode throws IllegalArgumentException")
        void constructor_invalidMode_throws() {
            SmbFile file = mock(SmbFile.class);
            assertThrows(IllegalArgumentException.class, () -> new SmbRandomAccessFile(file, "badmode"));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

        }
    
        @Test
        void testInvalidPath() throws Exception {
            // Test various invalid URL formats that should throw MalformedURLException
            assertThrows(MalformedURLException.class, () -> new SmbFile("not-a-url", context),
                    "Invalid URL should throw MalformedURLException");
        }
    
        @Test
        void testPublicShareAccess() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
Back to top