- Sort Score
- Result 10 results
- Languages All
Results 361 - 370 of 893 for isValid (0.04 sec)
-
cmd/format-erasure_test.go
} } // Tests check format xl value. func TestCheckFormatErasureValue(t *testing.T) { testCases := []struct { format *formatErasureV3 success bool }{ // Invalid Erasure format version "2". { &formatErasureV3{ formatMetaV1: formatMetaV1{ Version: "2", Format: "Erasure", }, Erasure: struct {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt
} this.pattern = pattern.toCanonicalHost() ?: throw IllegalArgumentException("Invalid pattern: $pattern") when { pin.startsWith("sha1/") -> { this.hashAlgorithm = "sha1" this.hash = pin.substring("sha1/".length).decodeBase64() ?: throw IllegalArgumentException("Invalid pin hash: $pin") } pin.startsWith("sha256/") -> { this.hashAlgorithm = "sha256"Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 14.1K bytes - Viewed (1) -
compat/maven-compat/src/main/java/org/apache/maven/repository/VersionNotFoundException.java
import org.apache.maven.artifact.ArtifactUtils; import org.apache.maven.artifact.versioning.InvalidVersionSpecificationException; import org.apache.maven.model.Dependency; /** * Thrown if a dependency has an invalid version. * */ @Deprecated public class VersionNotFoundException extends Exception { private Dependency dependency; private String projectId; private File pomFile;Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.2K bytes - Viewed (0) -
src/bytes/bytes.go
// representing invalid UTF-8 replaced with the bytes in replacement, which may be empty. func ToValidUTF8(s, replacement []byte) []byte { b := make([]byte, 0, len(s)+len(replacement)) invalid := false // previous byte was from an invalid UTF-8 sequence for i := 0; i < len(s); { c := s[i] if c < utf8.RuneSelf { i++ invalid = false b = append(b, c) continue }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Sep 03 14:04:47 UTC 2025 - 35.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/pager/DataConfigPager.java
this.existNextPage = existNextPage; } /** * Gets the number of records to display per page. * If the page size is not set or is invalid, returns the default page size. * * @return the page size */ public int getPageSize() { if (pageSize <= 0) { pageSize = getDefaultPageSize(); }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.6K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/TransportTest.java
void shouldIdentifyDisconnectedStates() { // States: 0=not connected, 1=connecting, 2=run connected, 3=connected, // 4=error, 5=disconnecting, 6=disconnected/invalid int[] disconnectedStates = { 0, 4, 5, 6 }; int[] connectedStates = { 1, 2, 3 }; for (int state : disconnectedStates) { transport.setState(state);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/filter/impl/UrlFilterImpl.java
public void addExclude(final String urlPattern) { try { Pattern.compile(urlPattern); } catch (final Exception e) { if (logger.isWarnEnabled()) { logger.warn("Invalid exclude pattern: {}", urlPattern); } return; } if (sessionId == null) { cachedExcludeSet.add(urlPattern); } else {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 9.2K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/InvalidVersionSpecificationException.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.artifact.versioning; /** * Occurs when a version is invalid. * */ public class InvalidVersionSpecificationException extends Exception { public InvalidVersionSpecificationException(String message) { super(message); }Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1K bytes - Viewed (0) -
cmd/admin-handlers_test.go
} qParamsArr := []url.Values{ // Invalid cases mkParams("", true, true), mkParams("111", true, true), mkParams("111", true, false), mkParams("111", false, true), // Valid cases follow mkParams("", true, false), mkParams("", false, true), mkParams("", false, false), mkParams("111", false, false), } varsArr := []map[string]string{ // Invalid cases {mgmtPrefix: "objprefix"},Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 13.9K bytes - Viewed (1) -
src/main/java/jcifs/pac/ASN1Util.java
// X.690-0207 8.1.2.4.2 // "c) bits 7 to 1 of the first subsequent octet shall not all be zero." if (0 == tagNo) { throw new IOException("corrupted stream - invalid high tag number found"); } while ((b & 0x80) != 0) { if (tagNo >>> 24 != 0) { throw new IOException("Tag number more than 31 bits"); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.2K bytes - Viewed (0)