Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1411 - 1420 of 1,956 for Read (0.02 seconds)

  1. compat/maven-model/src/test/java/org/apache/maven/model/pom/PomMemoryAnalyzer.java

     * It can identify areas where string deduplication could provide significant memory savings.</p>
     *
     * <p>Usage example:</p>
     * <pre>
     * PomMemoryAnalyzer analyzer = new PomMemoryAnalyzer();
     * Model model = reader.read(Files.newInputStream(pomPath));
     * analyzer.analyzePom(model);
     * analyzer.printAnalysis();
     * </pre>
     *
     * <p>The analysis output includes:</p>
     * <ul>
     *   <li>Total memory usage per POM path</li>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  2. okhttp-osgi-tests/src/test/kotlin/okhttp3/osgi/OsgiTest.kt

          deployFile(classPathEntry.toPath())
        }
      }
    
      private fun RepositoryPlugin.deployFile(file: Path) {
        if (fileSystem.metadataOrNull(file)?.isRegularFile != true) return
        try {
          fileSystem.read(file) {
            put(inputStream(), RepositoryPlugin.PutOptions())
            println("Deployed ${file.name}")
          }
        } catch (e: IllegalArgumentException) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 5K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

          MockResponse
            .Builder()
            .addHeader("Allow: GET, HEAD")
            .addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS))
            .addHeader("Cache-Control: max-age=0")
            .body("A")
            .build(),
        )
        server.enqueue(
          MockResponse
            .Builder()
            .addHeader("Allow: GET, HEAD, PUT")
            .code(HttpURLConnection.HTTP_NOT_MODIFIED)
            .build(),
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Mar 20 09:13:37 GMT 2026
    - 121K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/util/MimeMap.java

            int n;
    
            in = new byte[IN_SIZE];
            final InputStream is = getClass().getClassLoader().getResourceAsStream("jcifs/smb1/util/mime.map");
    
            inLen = 0;
            while ((n = is.read(in, inLen, IN_SIZE - inLen)) != -1) {
                inLen += n;
            }
            if (inLen < 100 || inLen == IN_SIZE) {
                throw new IOException("Error reading jcifs/smb1/util/mime.map resource");
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  5. docs/tr/docs/advanced/stream-data.md

    ### Dosyalar ve Async { #files-and-async }
    
    Çoğu durumda dosya benzeri nesneler, varsayılan olarak async ve await ile uyumlu değildir.
    
    Örneğin, `await file.read()` ya da `async for chunk in file` gibi şeyler yoktur.
    
    Ve birçok durumda, diskte ya da ağda okundukları için, okumak engelleyici (event loop'u bloke edebilen) bir işlem olabilir.
    
    /// info | Bilgi
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:51:35 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/NoticeTask.java

        @Optional
        public FileCollection getSources() {
            return sources;
        }
    
        public static void appendFile(File file, String name, String type, StringBuilder output) {
            String text = FileUtils.read(file, "UTF-8");
            if (text.trim().isEmpty()) {
                return;
            }
            appendText(text, name, type, output);
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 6.9K bytes
    - Click Count (0)
  7. docs/es/docs/advanced/stream-data.md

    ### Archivos y async { #files-and-async }
    
    En la mayoría de los casos, los objetos tipo archivo no son compatibles con `async` y `await` por defecto.
    
    Por ejemplo, no tienen un `await file.read()`, ni un `async for chunk in file`.
    
    Y en muchos casos leerlos sería una operación bloqueante (que podría bloquear el event loop), porque se leen desde disco o desde la red.
    
    /// info | Información
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:12:26 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

     * while adding a new pair.
     *
     * <p>This class is not threadsafe when any concurrent operations update the multimap, even if the
     * underlying map and {@link #createCollection()} method return threadsafe classes. Concurrent read
     * operations will work correctly. To allow concurrent update operations, wrap your multimap with a
     * call to {@link Multimaps#synchronizedMultimap}.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Aug 12 15:51:57 GMT 2025
    - 46.9K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt

          )
        val response = call.execute()
        interruptLater(500)
        val responseBody = response.body.byteStream()
        val buffer = ByteArray(1024)
        assertFailsWith<IOException> {
          while (responseBody.read(buffer) != -1) {
          }
        }
        responseBody.close()
      }
    
      @Test
      fun forciblyStopDispatcher() {
        client =
          client
            .newBuilder()
            .fastFallback(true)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 18:33:48 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  10. internal/config/crypto.go

    	if err != nil {
    		return nil, err
    	}
    	stream, err := algorithm.Stream(key.Plaintext)
    	if err != nil {
    		return nil, err
    	}
    	nonce := make([]byte, stream.NonceSize())
    	if _, err := rand.Read(nonce); err != nil {
    		return nil, err
    	}
    
    	const (
    		MaxMetadataSize = 1 << 20 // max. size of the metadata
    		Version         = 1
    	)
    	var (
    		header [5]byte
    		buffer bytes.Buffer
    	)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 16 14:27:42 GMT 2025
    - 4.7K bytes
    - Click Count (0)
Back to Top