Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 1,160 for readn (0.38 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

          },
          logger = logger,
        )
    
      /** Runs all tasks that are ready. Used by the test thread only. */
      fun runTasks() {
        advanceUntil(nanoTime)
      }
    
      /** Advance the simulated clock, then runs tasks that are ready. Used by the test thread only. */
      fun advanceUntil(newTime: Long) {
        taskRunner.assertLockNotHeld()
    
        taskRunner.withLock {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  2. docs/uk/docs/tutorial/request-files.md

    * `read(size)`: Читає `size` (`int`) байтів/символів з файлу.
    * `seek(offset)`: Переміщується до позиції `offset` (`int`) у файлі.
        * Наприклад, `await myfile.seek(0)` поверне курсор на початок файлу.
        * This is especially useful if you run `await myfile.read()` once and then need to read the contents again. Це особливо корисно, якщо Ви виконуєте await `await myfile.read()` один раз, а потім потрібно знову прочитати вміст.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Feb 22 22:01:44 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/ACETest.java

                // Read & Execute
                int readExecute = ACE.FILE_READ_DATA | ACE.FILE_READ_ATTRIBUTES | ACE.FILE_EXECUTE | ACE.READ_CONTROL;
                assertTrue((readExecute & ACE.FILE_READ_DATA) != 0, "Read & Execute should include FILE_READ_DATA");
                assertTrue((readExecute & ACE.FILE_EXECUTE) != 0, "Read & Execute should include FILE_EXECUTE");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/settings.md

    ADMIN_EMAIL="******@****.***"
    APP_NAME="ChimichangApp"
    ```
    
    ### Read settings from `.env` { #read-settings-from-env }
    
    And then update your `config.py` with:
    
    //// tab | Pydantic v2
    
    {* ../../docs_src/settings/app03_an/config.py hl[9] *}
    
    /// tip
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/CharSourceTest.java

        assertTrue(source.wasStreamOpened());
        assertFalse(source.wasStreamClosed());
    
        StringWriter writer = new StringWriter();
        char[] buf = new char[64];
        int read;
        while ((read = reader.read(buf)) != -1) {
          writer.write(buf, 0, read);
        }
        reader.close();
        writer.close();
    
        assertTrue(source.wasStreamClosed());
        assertEquals(STRING, writer.toString());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. src/archive/zip/fuzz_test.go

    func FuzzReader(f *testing.F) {
    	testdata, err := os.ReadDir("testdata")
    	if err != nil {
    		f.Fatalf("failed to read testdata directory: %s", err)
    	}
    	for _, de := range testdata {
    		if de.IsDir() {
    			continue
    		}
    		b, err := os.ReadFile(filepath.Join("testdata", de.Name()))
    		if err != nil {
    			f.Fatalf("failed to read testdata: %s", err)
    		}
    		f.Add(b)
    	}
    
    	f.Fuzz(func(t *testing.T, b []byte) {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Jan 13 18:06:33 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt

      }
    
      @Test
      fun synchronousCallAccessors() {
        val ready = CountDownLatch(2)
        val waiting = CountDownLatch(1)
        client =
          client
            .newBuilder()
            .addInterceptor(
              Interceptor { chain: Interceptor.Chain? ->
                try {
                  ready.countDown()
                  waiting.await()
                } catch (e: InterruptedException) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/MultiInputStreamTest.java

        ByteStreams.skipFully(multi, 20);
        assertEquals(20, multi.read());
      }
    
      public void testReadSingle_noStackOverflow() throws IOException {
        // https://github.com/google/guava/issues/2996
        // no data, just testing that there's no StackOverflowException
        assertEquals(-1, tenMillionEmptySources().read());
      }
    
      public void testReadArray_noStackOverflow() throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/security/index.md

    /// tip
    
    The next sections are **not necessarily "advanced"**.
    
    And it's possible that for your use case, the solution is in one of them.
    
    ///
    
    ## Read the Tutorial first { #read-the-tutorial-first }
    
    The next sections assume you already read the main [Tutorial - User Guide: Security](../../tutorial/security/index.md){.internal-link target=_blank}.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 708 bytes
    - Viewed (0)
  10. src/bufio/net_test.go

    	if err != nil {
    		t.Skipf("skipping test because opening a unixpacket socket failed: %v", err)
    	}
    
    	// Start a goroutine for the server to accept one connection
    	// and read all the data sent on the connection,
    	// reporting the number of bytes read on ch.
    	ch := make(chan int, 1)
    	var wg sync.WaitGroup
    	wg.Add(1)
    	go func() {
    		defer wg.Done()
    
    		tot := 0
    		defer func() {
    			ch <- tot
    		}()
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 07 19:37:07 UTC 2025
    - 1.9K bytes
    - Viewed (0)
Back to top