Search Options

Results per page
Sort
Preferred Languages
Advance

Results 521 - 530 of 893 for isValid (0.08 sec)

  1. src/bufio/bufio.go

    import (
    	"bytes"
    	"errors"
    	"io"
    	"strings"
    	"unicode/utf8"
    )
    
    const (
    	defaultBufSize = 4096
    )
    
    var (
    	ErrInvalidUnreadByte = errors.New("bufio: invalid use of UnreadByte")
    	ErrInvalidUnreadRune = errors.New("bufio: invalid use of UnreadRune")
    	ErrBufferFull        = errors.New("bufio: buffer full")
    	ErrNegativeCount     = errors.New("bufio: negative count")
    )
    
    // Buffered input.
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 22K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/kerberos/KerberosTokenTest.java

            assertThrows(PACDecodingException.class, () -> new KerberosToken(wrongOidToken));
        }
    
        /**
         * Test constructor with a malformed Kerberos token (invalid inner structure).
         *
         * @throws IOException if an I/O error occurs
         */
        @Test
        void testConstructorWithMalformedKerberosToken() throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/kerberos/KerberosTicket.java

                    ASN1Integer tktvno = ASN1Util.as(ASN1Integer.class, tagged);
                    if (!tktvno.getValue().equals(new BigInteger(KerberosConstants.KERBEROS_VERSION))) {
                        throw new PACDecodingException("Invalid kerberos version " + tktvno);
                    }
                    break;
                case 1:// Realm
                    DERGeneralString derRealm = ASN1Util.as(DERGeneralString.class, tagged);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/PunycodeTest.kt

        )
      }
    
      @Test fun mixedCasePunycode() {
        testDecodeOnly(
          unicode = "ليهمابتكلموشعربي؟",
          punycode = "Xn--EgBpDaJ6Bu4bXfGeHfVwXn",
        )
      }
    
      /**
       * It's invalid to have a label longer than 63 characters. If that's requested, the encoder may
       * overflow and return null.
       */
      @Test fun overflowEncodingOversizedLabel() {
        val a1000 = "a".repeat(1000)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java

        @Test
        @DisplayName("toString contains class name and message when provided")
        void toString_containsClassName_and_Message() {
            // Arrange
            String msg = "signature invalid";
            SMBSignatureValidationException ex = new SMBSignatureValidationException(msg);
    
            // Act
            String s = ex.toString();
    
            // Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/witness/WitnessEnumTest.java

            assertEquals(WitnessEventType.CLIENT_MOVE, WitnessEventType.valueOf("CLIENT_MOVE"));
        }
    
        @Test
        void testInvalidEnumValueOf() {
            // Test that invalid valueOf throws exception
            assertThrows(IllegalArgumentException.class, () -> {
                WitnessServiceType.valueOf("INVALID_TYPE");
            });
    
            assertThrows(IllegalArgumentException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  7. docs/extensions/s3zip/README.md

    - ListObjectsV2 API calls must be used to list zip file content.
    - Range requests for GetObject/HeadObject for individual files from zip is not supported.
    - Names inside ZIP files are kept unmodified, but some may lead to invalid paths. See [Object key naming guidelines](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html) on safe names.
    - This API behavior is limited for following **read** operations on files inside a zip archive:
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 10 16:28:27 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TemporaryFileInputStream.java

         * This method delegates to {@link FileInputStream#mark(int)}.
         *
         * @param readlimit the maximum limit of bytes that can be read before the mark position becomes invalid
         */
        @Override
        public synchronized void mark(final int readlimit) {
            fileInputStream.mark(readlimit);
        }
    
        /**
         * Tests if this input stream supports the mark and reset methods.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbTransportImplTest.java

            assertSame(transport, asIface);
            SmbTransportInternal asInternal = transport.unwrap(SmbTransportInternal.class);
            assertSame(transport, asInternal);
    
            // Invalid type should throw
            class OtherTransport implements SmbTransport {
                @Override
                public String getRemoteHostName() {
                    return "test";
                }
    
                @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java

            // Check protocol ID
            final int protocolId = SMBUtil.readInt4(buffer, bufferIndex);
            if (protocolId != TRANSFORM_PROTOCOL_ID) {
                throw new IllegalArgumentException("Invalid transform header protocol ID: 0x" + Integer.toHexString(protocolId));
            }
            bufferIndex += 4;
    
            // Read signature
            System.arraycopy(buffer, bufferIndex, header.signature, 0, 16);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.1K bytes
    - Viewed (0)
Back to top