Search Options

Results per page
Sort
Preferred Languages
Advance

Results 651 - 660 of 1,396 for read (0.02 sec)

  1. src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java

        }
    
        public void test_run_withIOException() throws InterruptedException {
            InputStream faultyStream = new InputStream() {
                @Override
                public int read() throws IOException {
                    throw new IOException("Test exception");
                }
            };
    
            InputStreamThread thread = new InputStreamThread(faultyStream, StandardCharsets.UTF_8, 10, null);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/curl/CurlResponseTest.java

            response.setContentCache(cache);
    
            try (InputStream stream = response.getContentAsStream()) {
                assertNotNull(stream);
                byte[] buffer = new byte[1024];
                int bytesRead = stream.read(buffer);
                assertEquals(data.length, bytesRead);
                assertArrayEquals(data, Arrays.copyOf(buffer, bytesRead));
            }
        }
    
        @Test
        public void testGetContentAsStreamWithoutCache() {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. cmd/batch-job-common-types.go

    //     compress: true # S2/Snappy compressed archive
    //     smallerThan: 5MiB # create archive for all objects smaller than 5MiB
    //     skipErrs: false # skips any source side read() errors
    
    // BatchJobSnowball describes the snowball feature when replicating objects from a local source to a remote target
    type BatchJobSnowball struct {
    	line, col   int
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. okcurl/src/main/kotlin/okhttp3/curl/Main.kt

      val connectTimeout: Int by option(
        "--connect-timeout",
      ).help(
        "Maximum time allowed for connection (seconds)",
      ).int()
        .default(DEFAULT_TIMEOUT)
    
      val readTimeout: Int by option("--read-timeout")
        .help("Maximum time allowed for reading data (seconds)")
        .int()
        .default(DEFAULT_TIMEOUT)
    
      val callTimeout: Int by option(
        "--call-timeout",
      ).help(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/NbtSocket.java

                    log.println("session established ok with " + address);
                }
                return;
            case SessionServicePacket.NEGATIVE_SESSION_RESPONSE:
                final int errorCode = in.read() & 0xFF;
                close();
                throw new NbtException(NbtException.ERR_SSN_SRVC, errorCode);
            case -1:
                throw new NbtException(NbtException.ERR_SSN_SRVC, NbtException.CONNECTION_REFUSED);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    with one finger for the rest of the day; and this was of very
    little use, as it left no mark on the slate.
    
      `Herald, read the accusation!' said the King.
    
      On this the White Rabbit blew three blasts on the trumpet, and
    then unrolled the parchment scroll, and read as follows:--
    
        `The Queen of Hearts, she made some tarts,
              All on a summer day:
          The Knave of Hearts, he stole those tarts,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 145.2K bytes
    - Viewed (0)
  7. src/archive/zip/reader_test.go

    	}
    	if len(z.File) != len(zt.File) {
    		t.Fatalf("file count=%d, want %d", len(z.File), len(zt.File))
    	}
    
    	// test read of each file
    	for i, ft := range zt.File {
    		readTestFile(t, zt, ft, z.File[i], raw)
    	}
    	if t.Failed() {
    		return
    	}
    
    	// test simultaneous reads
    	n := 0
    	done := make(chan bool)
    	for i := 0; i < 5; i++ {
    		for j, ft := range zt.File {
    			go func(j int, ft ZipTestFile) {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Mar 11 22:19:38 UTC 2025
    - 56.6K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/CustomTrust.java

          +  "-----END CERTIFICATE-----");
    
      private final OkHttpClient client;
    
      public CustomTrust() {
        // This implementation just embeds the PEM files in Java strings; most applications will
        // instead read this from a resource file that gets bundled with the application.
    
        HandshakeCertificates certificates = new HandshakeCertificates.Builder()
            .addTrustedCertificate(letsEncryptCertificateAuthority)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 9.3K bytes
    - Viewed (0)
  9. CONTRIBUTING.md

    contributors to follow so that we can have a chance of keeping on top of
    things.
    
    Some of the ideas are documented in the [Maven Wiki][maven-wiki]
    which might be interesting to read and for further discussion.
    
    Getting Started
    ---------------
    
    + Make sure you have a [GitHub account](https://github.com/signup/free).
    + If you're planning to implement a new feature, it makes sense to discuss your changes
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Jun 07 09:55:33 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/failureurl/EditForm.java

         */
        @ValidateTypeFailure
        public String pageNumber;
    
        /**
         * The CRUD operation mode for this form.
         * Indicates whether this is a create, read, update, or delete operation.
         */
        @ValidateTypeFailure
        public Integer crudMode;
    
        /**
         * The unique identifier of the failure URL record being edited.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.2K bytes
    - Viewed (0)
Back to top