Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3341 - 3350 of 4,989 for STRING (0.04 sec)

  1. src/test/java/jcifs/util/ServerResponseValidatorTest.java

        @Test
        public void testValidString() throws Exception {
            validator.validateString("normal string", 100, "test");
            validator.validateString(null, 100, "test"); // Null should be allowed
            // Should pass without exception
        }
    
        @Test
        public void testStringTooLong() throws Exception {
            String longString = "a".repeat(300);
            assertThrows(SmbException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsRecordCodecTest.kt

      fun testGoogleDotComEncoding() {
        val encoded = encodeQuery("google.com", TYPE_A)
        assertThat(encoded).isEqualTo("AAABAAABAAAAAAAABmdvb2dsZQNjb20AAAEAAQ")
      }
    
      private fun encodeQuery(
        host: String,
        type: Int,
      ): String = DnsRecordCodec.encodeQuery(host, type).base64Url().replace("=", "")
    
      @Test
      fun testGoogleDotComEncodingWithIPv6() {
        val encoded = encodeQuery("google.com", TYPE_AAAA)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu May 29 20:09:10 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/TransPeekNamedPipe.java

     */
    
    package jcifs.smb1.smb1;
    
    class TransPeekNamedPipe extends SmbComTransaction {
    
        private final int fid;
    
        TransPeekNamedPipe(final String pipeName, final int fid) {
            name = pipeName;
            this.fid = fid;
            command = SMB_COM_TRANSACTION;
            subCommand = TRANS_PEEK_NAMED_PIPE;
            timeout = 0xFFFFFFFF;
            maxParameterCount = 6;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/WinErrorTest.java

            void messagesAlignWithCodes() {
                for (int i = 0; i < WinError.WINERR_CODES.length; i++) {
                    int code = WinError.WINERR_CODES[i];
                    String message = WinError.WINERR_MESSAGES[i];
                    assertNotNull(message, String.format("Message for code %d should not be null", code));
                }
            }
        }
    
        @Nested
        @DisplayName("Boundary conditions")
        class Boundary {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/lex/slice.go

    	}
    }
    
    func (s *Slice) Next() ScanToken {
    	s.pos++
    	if s.pos >= len(s.tokens) {
    		return scanner.EOF
    	}
    	return s.tokens[s.pos].ScanToken
    }
    
    func (s *Slice) Text() string {
    	return s.tokens[s.pos].text
    }
    
    func (s *Slice) File() string {
    	return s.base.Filename()
    }
    
    func (s *Slice) Base() *src.PosBase {
    	return s.base
    }
    
    func (s *Slice) SetBase(base *src.PosBase) {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Jun 29 22:49:50 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/validation/CustomSizeValidator.java

        private String message;
    
        @Override
        public void initialize(final CustomSize constraintAnnotation) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String minKey = constraintAnnotation.minKey();
            if (StringUtil.isNotBlank(minKey)) {
                min = Integer.parseInt(fessConfig.get(minKey));
            }
            final String maxKey = constraintAnnotation.maxKey();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/boostdoc/CreateForm.java

        public Integer crudMode;
    
        /** URL expression pattern to match documents for boosting */
        @Required
        @Size(max = 10000)
        public String urlExpr;
    
        /** Boost expression to apply to matching documents */
        @Required
        @Size(max = 10000)
        public String boostExpr;
    
        /** Sort order for displaying boost configurations */
        @Required
        @Min(value = 0)
        @Max(value = 2147483647)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AtomicsTest.java

        assertThrows(NegativeArraySizeException.class, () -> Atomics.newReferenceArray(-1));
      }
    
      public void testNewReferenceArray_withStringArray() throws Exception {
        String[] array = {"foo", "bar", "baz"};
        AtomicReferenceArray<String> refArray = Atomics.newReferenceArray(array);
        for (int i = 0; i < array.length; ++i) {
          assertEquals(array[i], refArray.get(i));
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/html/HtmlEscapersTest.java

        assertEquals("foo&amp;bar", htmlEscaper().escape("foo&bar"));
    
        // If the string contains no escapes, it should return the arg.
        // Note: assert<b>Same</b> for this implementation.
        String s = "blah blah farhvergnugen";
        assertSame(s, htmlEscaper().escape(s));
    
        // Tests escapes at begin and end of string.
        assertEquals("&lt;p&gt;", htmlEscaper().escape("<p>"));
    
        // Test all escapes.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/Handler.java

        public URLConnection openConnection(final URL u) throws IOException {
            return new SmbFile(u);
        }
    
        @Override
        protected void parseURL(final URL u, String spec, final int start, int limit) {
            final String host = u.getHost();
            String path, ref;
            int port;
    
            if (spec.equals("smb1://")) {
                spec = "smb1:////";
                limit += 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
Back to top