Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 69 for finalizar (0.07 sec)

  1. guava-tests/test/com/google/common/io/FileBackedOutputStreamAndroidIncompatibleTest.java

        write(out, data, 0, 100, true);
        File file = out.getFile();
        assertEquals(100, file.length());
        assertTrue(file.exists());
        out.close();
    
        // Make sure that finalize deletes the file
        out = null;
    
        // times out and throws RuntimeException on failure
        GcFinalization.awaitDone(
            new GcFinalization.FinalizationPredicate() {
              @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/FinalizableWeakReference.java

        implements FinalizableReference {
      /**
       * Constructs a new finalizable weak reference.
       *
       * @param referent to weakly reference
       * @param queue that should finalize the referent
       */
      protected FinalizableWeakReference(@Nullable T referent, FinalizableReferenceQueue queue) {
        super(referent, queue.queue);
        queue.cleanUp();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/FinalizableWeakReference.java

        implements FinalizableReference {
      /**
       * Constructs a new finalizable weak reference.
       *
       * @param referent to weakly reference
       * @param queue that should finalize the referent
       */
      protected FinalizableWeakReference(@Nullable T referent, FinalizableReferenceQueue queue) {
        super(referent, queue.queue);
        queue.cleanUp();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

                this.treeConnection.release();
            } else if (us < 0) {
                throw new RuntimeCIFSException("Usage count dropped below zero");
            }
        }
    
        @Override
        protected void finalize() throws Throwable {
            try {
                // Add null check to prevent NPE if object was not fully constructed
                if (this.usageCount != null && this.usageCount.get() != 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTreeImpl.java

            System.arraycopy(stackTrace, s, res, 0, e - s);
            return res;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.Object#finalize()
         */
        @Override
        protected void finalize() throws Throwable {
            try {
                if (isConnected() && this.usageCount.get() != 0) {
                    log.warn("Tree was not properly released, performing emergency cleanup: " + this);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  6. docs/pt/docs/advanced/events.md

    ///
    
    ### `startup` e `shutdown` juntos
    
    Há uma grande chance que a lógica para sua *inicialização* e *encerramento* esteja conectada, você pode querer iniciar alguma coisa e então finalizá-la, adquirir um recurso e então liberá-lo, etc.
    
    Fazendo isso em funções separadas que não compartilham lógica ou variáveis entre elas é mais difícil já que você precisa armazenar os valores em variáveis globais ou truques parecidos.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/transport/Transport.java

                throw new RuntimeCIFSException("Usage count dropped below zero");
            }
        }
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.Object#finalize()
         */
        @Override
        protected void finalize() throws Throwable {
            try {
                if (!isDisconnected() && this.usageCount.get() != 0) {
                    log.warn("Transport was not properly released, performing emergency cleanup");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  8. cmd/net_test.go

    					found = true
    				}
    			}
    			if !found {
    				t.Fatalf("host: expected = %v, got = %v", testCase.expectedIPList, ipList)
    			}
    		}
    	}
    }
    
    // Tests finalize api endpoints.
    func TestGetAPIEndpoints(t *testing.T) {
    	host, port := globalMinioHost, globalMinioPort
    	defer func() {
    		globalMinioHost, globalMinioPort = host, port
    	}()
    	testCases := []struct {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  9. docs/pt/docs/advanced/security/http-basic-auth.md

    Caso ela não receba, ela retorna um erro HTTP 401 "Unauthorized" (*Não Autorizado*).
    
    E retorna um cabeçalho `WWW-Authenticate` com o valor `Basic`, e um parâmetro opcional `realm`.
    
    Isso sinaliza ao navegador para mostrar o prompt integrado para um usuário e senha.
    
    Então, quando você digitar o usuário e senha, o navegador os envia automaticamente no cabeçalho.
    
    ## HTTP Basic Auth Simples
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. docs/ftp/README.md

    ## Prerequisites
    
    - It is assumed you have users created and configured with relevant access policies, to start with
      use basic "readwrite" canned policy to test all the operations before you finalize on what level
      of restrictions are needed for a user.
    
    - No "admin:*" operations are needed for FTP/SFTP access to the bucket(s) and object(s), so you may
      skip them for restrictions.
    
    ## Usage
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 07 06:41:25 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top