Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 558 for isInvalid (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

                    throw new SMBProtocolDecodingException("Buffer cannot be null");
                }
                if (bufferIndex < 0 || len < 0) {
                    throw new SMBProtocolDecodingException("Invalid buffer parameters");
                }
                if (bufferIndex + len > buffer.length) {
                    throw new SMBProtocolDecodingException("Buffer overflow");
                }
    
                // Store the decoded data
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

        }
    
        @Test
        @DisplayName("hasCapability delegates and propagates exceptions")
        void hasCapabilityDelegates() throws Exception {
            // Happy path delegates; invalid case propagates SmbException
            when(treeConnection.hasCapability(123)).thenReturn(true);
            assertTrue(handle.hasCapability(123));
            verify(treeConnection).hasCapability(123);
    
            // Exception path
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Longs.java

       *     minLength}
       */
      public static long[] ensureCapacity(long[] array, int minLength, int padding) {
        checkArgument(minLength >= 0, "Invalid minLength: %s", minLength);
        checkArgument(padding >= 0, "Invalid padding: %s", padding);
        return (array.length < minLength) ? Arrays.copyOf(array, minLength + padding) : array;
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 29K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractConditionAggregation.java

            aggregationAggregationBuilderList.add(builder);
        }
    
        // ===================================================================================
        //                                                                 Invalid Aggregation
        //                                                                       =============
        protected void checkEsInvalidAggregation(String name, Object value) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateResponse.java

         * @return decoded response
         */
        public static SmbDirectNegotiateResponse decode(byte[] data, int offset) {
            if (data.length - offset < 32) {
                throw new IllegalArgumentException("Invalid SMB Direct Negotiate Response length");
            }
    
            SmbDirectNegotiateResponse response = new SmbDirectNegotiateResponse();
    
            int idx = offset;
            response.minVersion = SMBUtil.readInt2(data, idx);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt

      }
    
      @Test fun testMultipleCharsetsReturnsFirstMatch() {
        val mediaType = parse("text/plain; charset=utf-8; charset=utf-16")
        assertEquals("UTF-8", mediaType.charsetName())
      }
    
      /**
       * This is invalid according to RFC 822. But it's what Chrome does and it avoids a potentially
       * unpleasant IllegalCharsetNameException.
       */
      @Test fun testCharsetNameIsSingleQuoted() {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbSessionImpl.java

                        if (e.getNtStatus() == NtStatus.NT_STATUS_INVALID_PARAMETER) {
                            // a relatively large range of samba versions has a bug causing
                            // an invalid parameter error when a SPNEGO MIC is in place and auth fails
                            throw new SmbAuthException("Login failed", e);
                        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/Kerb5Authenticator.java

                    }
                }
            } catch (SmbException e) {
                throw e;
            } catch (IOException e1) {
                log.debug("Ignoring invalid initial token", e1);
            }
    
            try {
                return createContext(tc, targetDomain, host);
            } catch (GSSException e) {
                throw new SmbException("Context setup failed", e);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

            byte[] header = buildHeader(NtStatus.NT_STATUS_SUCCESS);
            byte[] buf = new byte[header.length + 10];
            System.arraycopy(header, 0, buf, 0, header.length);
            // Write invalid structure size 50 at body start
            SMBUtil.writeInt2(50, buf, Smb2Constants.SMB2_HEADER_LENGTH);
    
            BaseConfiguration config = new BaseConfiguration(true);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                throw new SmbException(u.toString() + " directory must end with '/'");
            }
    
            if (locator.getType() != SmbConstants.TYPE_SERVER) {
                throw new SmbException("The requested list operations is invalid: " + u.toString());
            }
    
            final Set<FileEntry> set = new HashSet<>();
    
            if (tc.getDfs().isTrustedDomain(tc, locator.getServer())) {
                /*
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.3K bytes
    - Viewed (0)
Back to top