Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 893 for isValid (0.04 sec)

  1. src/test/java/jcifs/ntlmssp/Type1MessageTest.java

            // Then
            assertArrayEquals(bytes1, bytes2);
        }
    
        @Test
        @DisplayName("Should handle parsing invalid message bytes")
        void testInvalidMessageBytes() {
            // Given
            byte[] invalidBytes = { 1, 2, 3, 4, 5 }; // Too short and invalid
    
            // When/Then
            assertThrows(IOException.class, () -> {
                new Type1Message(invalidBytes);
            });
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbNamedPipeTest.java

                assertEquals("Named pipes are only valid on IPC$", ex.getMessage());
            }
    
            @Test
            @DisplayName("Null context throws NPE (invalid input)")
            void nullContextThrows() {
                assertThrows(NullPointerException.class, () -> new SmbNamedPipe("smb://server/IPC$/foo", 0, null));
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/pager/FileAuthPager.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
    - 7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

            assertNotNull(orKeywords);
            assertEquals(2, orKeywords.size());
    
            // Test with invalid query
            List<String> invalidKeywords = SuggestUtil.getKeywords("((invalid", fields);
            assertNotNull(invalidKeywords);
            assertEquals(0, invalidKeywords.size());
        }
    
        @Test
        public void testGetKeywordsWithDuplicates() {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SpnegoContext.java

                case (byte) 0xa1 -> new NegTokenTarg(token);
                default -> throw new SpnegoException("Invalid token type");
                };
                return spnegoToken;
            } catch (final IOException e) {
                throw new SpnegoException("Invalid token");
            }
        }
    
        @Override
        public boolean supportsIntegrity() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  6. cmd/sts-handlers.go

    		return
    	}
    
    	durationParam := r.Form.Get(stsDurationSeconds)
    	var requestedDuration int
    	if durationParam != "" {
    		var err error
    		requestedDuration, err = strconv.Atoi(durationParam)
    		if err != nil {
    			writeSTSErrorResponse(ctx, w, ErrSTSInvalidParameterValue, fmt.Errorf("Invalid requested duration: %s", durationParam))
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/asm.go

    				// The CR bit is represented as a constant 0-31. Convert it to a Reg.
    				c := p.getConstant(prog, op, &a[1])
    				reg, success := ppc64.ConstantToCRbit(c)
    				if !success {
    					p.errorf("invalid CR bit register number %d", c)
    				}
    				prog.Reg = reg
    			}
    			break
    		}
    		if p.arch.Family == sys.MIPS || p.arch.Family == sys.MIPS64 || p.arch.Family == sys.RISCV64 {
    			// 3-operand jumps.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 05 17:31:25 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/SessionRequestPacket.java

            final int start = bufferIndex;
            if (in.read(buffer, bufferIndex, this.length) != this.length) {
                throw new IOException("invalid session request wire format");
            }
            bufferIndex += this.calledName.readWireFormat(buffer, bufferIndex);
            bufferIndex += this.callingName.readWireFormat(buffer, bufferIndex);
            return bufferIndex - start;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  9. docs/debugging/inspect/decrypt-v2.go

    				}
    				continue
    			}
    			return fmt.Errorf("next stream: %w", err)
    		}
    		if strings.Contains(stream.Name, "..") || !utf8.ValidString(stream.Name) {
    			return fmt.Errorf("invalid stream name: %q", stream.Name)
    		}
    
    		dst := filepath.Join(extractDir, stream.Name)
    		os.Mkdir(extractDir, 0o755)
    		w, err := os.Create(dst)
    		if err != nil {
    			return fmt.Errorf("creating output file: %w", err)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Feb 17 17:09:42 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/dict/DictionaryExceptionTest.java

        }
    
        public void test_constructor_withNullMessageAndCause() {
            // Test constructor with null message but valid cause
            Exception cause = new IllegalArgumentException("Invalid argument");
            DictionaryException exception = new DictionaryException(null, cause);
    
            assertNotNull(exception);
            assertNull(exception.getMessage());
            assertNotNull(exception.getCause());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.4K bytes
    - Viewed (0)
Back to top