Search Options

Results per page
Sort
Preferred Languages
Advance

Results 641 - 650 of 876 for issues (0.12 sec)

  1. android/guava/src/com/google/common/cache/LoadingCache.java

       * if necessary. The returned map contains entries that were already cached, combined with newly
       * loaded entries; it will never contain null keys or values.
       *
       * <p>Caches loaded by a {@link CacheLoader} will issue a single request to {@link
       * CacheLoader#loadAll} for all keys which are not already present in the cache. All entries
       * returned by {@link CacheLoader#loadAll} will be stored in the cache, over-writing any
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Aug 06 17:12:03 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  2. src/bytes/reader_test.go

    func TestEmptyReaderConcurrent(t *testing.T) {
    	// Test for the race detector, to verify a Read that doesn't yield any bytes
    	// is okay to use from multiple goroutines. This was our historic behavior.
    	// See golang.org/issue/7856
    	r := NewReader([]byte{})
    	var wg sync.WaitGroup
    	for i := 0; i < 5; i++ {
    		wg.Add(2)
    		go func() {
    			defer wg.Done()
    			var buf [1]byte
    			r.Read(buf[:])
    		}()
    		go func() {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 8K bytes
    - Viewed (0)
  3. cni/pkg/install/install_test.go

    					t.Fatal(err)
    				}
    			}
    
    			select {
    			case err := <-errChan:
    				if err != nil {
    					// An invalid configuration should return nil
    					// Either an invalid config did not return nil (which is an issue) or an unexpected error occurred
    					t.Fatal(err)
    				}
    				assert.Equal(t, isReady.Load(), false)
    			case <-time.After(5 * time.Second):
    				t.Fatal("timed out waiting for invalid configuration to be detected")
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/request_files.md

        * Isso é especialmente útil se você executar `await myfile.read()` uma vez e depois precisar ler os conteúdos do arquivo de novo.
    * `close()`: Fecha o arquivo.
    
    Como todos esses métodos são assíncronos (`async`) você precisa esperar ("await") por eles.
    
    Por exemplo, dentro de uma *função de operação de rota* assíncrona você pode obter os conteúdos com:
    
    ```Python
    contents = await myfile.read()
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. doc/godebug.md

    To work around this issue without adjusting kernel settings, transparent huge
    pages can be disabled for Go memory with the
    [`disablethp` setting](/pkg/runtime#hdr-Environment_Variable).
    This behavior was backported to Go 1.21.1, but the setting is only available
    starting with Go 1.21.6.
    This setting may be removed in a future release, and users impacted by this issue
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 28 14:46:33 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/header-params.md

    ///
    
    ## Cabeçalhos duplicados
    
    É possível receber cabeçalhos duplicados. Isso significa, o mesmo cabeçalho com vários valores.
    
    Você pode definir esses casos usando uma lista na declaração de tipo.
    
    Você receberá todos os valores do cabeçalho duplicado como uma `list` Python.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. cmd/os-readdir_test.go

    	// Check non existent directory.
    	if _, err := readDir("/tmp/non-existent-directory"); err != errFileNotFound {
    		t.Fatalf("expected = %s, got: %s", errFileNotFound, err)
    	}
    
    	file := path.Join(os.TempDir(), "issue")
    	if err := os.WriteFile(file, []byte(""), 0o644); err != nil {
    		t.Fatal(err)
    	}
    	defer os.RemoveAll(file)
    
    	// Check if file is given.
    	if _, err := readDir(path.Join(file, "mydir")); err != errFileNotFound {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

        void assertBytes(byte[] expected) {
          byte[] got = out.toByteArray();
          for (int i = 0; i < expected.length; i++) {
            assertEquals(expected[i], got[i]);
          }
        }
      }
    
      // Assumes that AbstractNonStreamingHashFunction works properly (must be tested elsewhere!)
      private static class Control extends AbstractNonStreamingHashFunction {
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

                        this.lmHash = new byte[0];
                        this.ntHash = new byte[0];
                        this.capabilities &= ~SmbConstants.CAP_EXTENDED_SECURITY;
                        if ( a.isGuest() ) {
                            this.accountName = a.getUsername();
                            if ( this.isUseUnicode() )
                                this.accountName = this.accountName.toUpperCase();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 17 10:20:23 UTC 2019
    - 8.8K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/dependencies/dependencies-with-yield.md

    pode ser utilizada como uma dependência do **FastAPI**.
    
    Na realidade, o FastAPI utiliza esses dois decoradores internamente.
    
    ///
    
    ## Uma dependência de banco de dados com `yield`
    
    Por exemplo, você poderia utilizar isso para criar uma sessão do banco de dados, e fechá-la após terminar sua operação.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 15.5K bytes
    - Viewed (0)
Back to top