Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 830 for reuse (0.04 sec)

  1. src/vendor/golang.org/x/crypto/chacha20/chacha_generic.go

    	return a, b, c, d
    }
    
    // SetCounter sets the Cipher counter. The next invocation of XORKeyStream will
    // behave as if (64 * counter) bytes had been encrypted so far.
    //
    // To prevent accidental counter reuse, SetCounter panics if counter is less
    // than the current value.
    //
    // Note that the execution time of XORKeyStream is not independent of the
    // counter value.
    func (s *Cipher) SetCounter(counter uint32) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 00:11:50 UTC 2022
    - 13.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/JAASAuthenticator.java

    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSException;
    
    
    /**
     * JAAS kerberos authenticator
     * 
     * Either configure JAAS for credential caching or reuse a single instance of this authenticator -otherwise you won't
     * get proper ticket caching.
     * 
     * Be advised that short/NetBIOS name usage is not supported with this authenticator. Always specify full FQDNs/Realm.
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/configuration/validating_webhook_manager_test.go

    // the function webhook.NewValidatingWebhookAccessor is being called when refreshing
    // webhookAccessors.
    //
    // NOTE: Maybe there some testing help that we can import and reuse instead.
    type mockCreateValidatingWebhookAccessor struct {
    	numberOfCalls int
    }
    
    func (mock *mockCreateValidatingWebhookAccessor) calledNTimes() int { return mock.numberOfCalls }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 12 15:20:14 UTC 2023
    - 9K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/WorkInProgressRenderer.java

            if (operation.hasChildren() || !isRenderable(operation)) {
                return;
            }
    
            // Don't show the parent operation while a child is visible
            // Instead, reuse the parent label, if any, for the child
            if (operation.getParent() != null) {
                unshow(operation.getParent());
            }
    
            // No more unused label? Try to resize.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  5. cmd/bitrot-streaming.go

    	shardSize  int64
    	hashBytes  []byte
    }
    
    func (b *streamingBitrotReader) Close() error {
    	if b.rc == nil {
    		return nil
    	}
    	if closer, ok := b.rc.(io.Closer); ok {
    		// drain the body for connection reuse at network layer.
    		xhttp.DrainBody(struct {
    			io.Reader
    			io.Closer
    		}{
    			Reader: b.rc,
    			Closer: closeWrapper(func() error { return nil }),
    		})
    		return closer.Close()
    	}
    	return nil
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/background-tasks.md

    **FastAPI** knows what to do in each case and how to reuse the same object, so that all the background tasks are merged together and are run in the background afterwards:
    
    === "Python 3.10+"
    
        ```Python hl_lines="13  15  22  25"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. cmd/storage-rest-client.go

    		if resp.Update != nil {
    			select {
    			case <-ctx.Done():
    			case updates <- *resp.Update:
    			}
    		}
    		if resp.Final != nil {
    			final = resp.Final
    		}
    		// We can't reuse the response since it is sent upstream.
    		return nil
    	})
    	if err != nil {
    		return cache, toStorageErr(err)
    	}
    	if final == nil {
    		return cache, errors.New("no final cache")
    	}
    	return *final, nil
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  8. src/internal/bytealg/equal_ppc64x.s

    	BGELR_CR6
    	ADD	$16, R8
    	ADD	$16, R4
    
    	// Bytes 16-31
    	LXVD2X	(R8+R0), V0
    	LXVD2X	(R4+R0), V1
    	VCMPEQUBCC	V0, V1, V2
    	BGELR_CR6
    
    	// A little tricky, but point R4,R8 to &sx[len-32],
    	// and reuse check17_32 to check the next 1-31 bytes (with some overlap)
    	ADD	$-32, R9, R8
    	ADD	$-32, R10, R4
    	// Fallthrough
    
    check17_32:
    	LXVD2X	(R8+R0), V0
    	LXVD2X	(R4+R0), V1
    	VCMPEQUBCC	V0, V1, V2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 16:47:45 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  9. docs/en/docs/how-to/nosql-databases-couchbase.md

    * Put the contents of the document in a `UserInDB` model.
    
    By creating a function that is only dedicated to getting your user from a `username` (or any other parameter) independent of your *path operation function*, you can more easily reuse it in multiple parts and also add <abbr title="Automated test, written in code, that checks if another piece of code is working correctly.">unit tests</abbr> for it:
    
    ```Python hl_lines="36-42"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. src/net/http/httptrace/trace.go

    	// the http.Transport and should not be read, written or
    	// closed by users of ClientTrace.
    	Conn net.Conn
    
    	// Reused is whether this connection has been previously
    	// used for another HTTP request.
    	Reused bool
    
    	// WasIdle is whether this connection was obtained from an
    	// idle pool.
    	WasIdle bool
    
    	// IdleTime reports how long the connection was previously
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top