- Sort Score
- Num 10 results
- Language All
Results 311 - 320 of 861 for valid2 (0.06 seconds)
-
src/test/java/jcifs/spnego/NegTokenTargTest.java
} @Test @DisplayName("parsing malformed token throws IOException") void testMalformedToken() { byte[] bad = new byte[] { 0x01, 0x02, 0x03 }; // not a valid ASN.1 tagged object assertThrows(IOException.class, () -> new NegTokenTarg(bad), "Malformed byte[] should cause IOException"); } @TestCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.6K bytes - Click Count (0) -
internal/config/callhome/callhome.go
func (c *Config) Update(ncfg Config) { configLock.Lock() defer configLock.Unlock() c.Enable = ncfg.Enable c.Frequency = ncfg.Frequency } // LookupConfig - lookup config and override with valid environment settings if any. func LookupConfig(kvs config.KVS) (cfg Config, err error) { if err = config.CheckValidKeys(config.CallhomeSubSys, kvs, DefaultKVS); err != nil { return cfg, err }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 24 23:05:23 GMT 2024 - 2.6K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/UnsignedInts.java
* <li>{@code 0X}<i>HexDigits</i> * <li>{@code #}<i>HexDigits</i> * <li>{@code 0}<i>OctalDigits</i> * </ul> * * @throws NumberFormatException if the string does not contain a valid unsigned {@code int} value * @since 13.0 */ @CanIgnoreReturnValue public static int decode(String stringValue) { ParseRequest request = ParseRequest.fromString(stringValue); try {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Feb 09 16:22:33 GMT 2025 - 13.8K bytes - Click Count (0) -
cmd/httprange_test.go
"bytes==1-10", "bytes=", "bytes=aa", "aa", "", "bytes=1-10-", "bytes=1--10", "bytes=-1-10", "bytes=0-+3", "bytes=+3-+5", "bytes=10-11,12-10", // Unsupported by S3/MinIO (valid in RFC) } for i, urs := range unparsableRangeSpecs { rs, err := parseRequestRangeSpec(urs) if err == nil { t.Errorf("Case %d: Did not get an expected error - got %v", i, rs) } if isErrInvalidRange(err) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun May 05 16:56:21 GMT 2024 - 3.7K bytes - Click Count (0) -
src/bytes/buffer.go
var errNegativeRead = errors.New("bytes.Buffer: reader returned negative count from Read") const maxInt = int(^uint(0) >> 1) // Bytes returns a slice of length b.Len() holding the unread portion of the buffer. // The slice is valid for use only until the next buffer modification (that is, // only until the next call to a method like [Buffer.Read], [Buffer.Write], [Buffer.Reset], or [Buffer.Truncate]).
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Nov 14 19:01:17 GMT 2025 - 16.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
class EdgeCasesTests { @Test @DisplayName("Should handle malformed buffer gracefully") void testReadDataWireFormatMalformedBuffer() { byte[] buffer = new byte[3]; // Too small for valid DFS referral assertThrows(ArrayIndexOutOfBoundsException.class, () -> { response.readDataWireFormat(buffer, 0, buffer.length); }); } @TestCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.4K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapUrl.java
private String lastmod; /** * How frequently the page is likely to change. This value provides general * information to search engines and may not correlate exactly to how often * they crawl the page. Valid values are: * <ul> * <li>always</li> * <li>hourly</li> * <li>daily</li> * <li>weekly</li> * <li>monthly</li> * <li>yearly</li> * <li>never</li> * </ul>Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Thu Nov 13 13:34:36 GMT 2025 - 9.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbPipeHandleImplTest.java
// Initially not open (isStale returns false when handle is null, not true) assertFalse(target.isOpen()); assertFalse(target.isStale()); // After ensureOpen, handle valid -> open SmbFileHandleImpl fh = target.ensureOpen(); assertSame(fileHandle, fh); assertTrue(target.isOpen()); assertFalse(target.isStale());Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.7K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java
assertEquals(len, result, "readDataWireFormat should return the length when pipeIn is null."); } /** * Tests the readDataWireFormat method when the pipe has a valid input stream. */ @Test void testReadDataWireFormat_withPipeIn() { // Setup the mock pipe and its input stream mockPipe.pipeIn = mockPipeIn;
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.3K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java
assertNull(nc.dc); } } @Nested @DisplayName("toString() Tests") class ToStringTests { @Test @DisplayName("toString with valid data produces expected format") void testToStringWithValidData() { byte[] challenge = new byte[] { (byte) 0x01, (byte) 0x02, (byte) 0x03, (byte) 0xFF }; UniAddress dc = mock(UniAddress.class);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6K bytes - Click Count (0)