Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 124 for discord (0.19 sec)

  1. internal/config/crypto_test.go

    		)
    		b.SetBytes(int64(size))
    		for i := 0; i < b.N; i++ {
    			ciphertext, err := Encrypt(KMS, plaintext, context)
    			if err != nil {
    				b.Fatal(err)
    			}
    			if _, err = io.Copy(io.Discard, ciphertext); err != nil {
    				b.Fatal(err)
    			}
    			plaintext.Reset(data)
    		}
    	}
    	b.Run("1KB", func(b *testing.B) { benchmarkEncrypt(1*1024, b) })
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 3.2K bytes
    - Viewed (0)
  2. cmd/admin-handlers-site-replication.go

    }
    
    // SiteReplicationDevNull - everything goes to io.Discard
    // [POST] /minio/admin/v3/site-replication/devnull
    func (a adminAPIHandlers) SiteReplicationDevNull(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	globalSiteNetPerfRX.Connect()
    	defer globalSiteNetPerfRX.Disconnect()
    
    	connectTime := time.Now()
    	for {
    		n, err := io.CopyN(xioutil.Discard, r.Body, 128*humanize.KiByte)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 09:40:39 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/Cache.java

      /** Discards any cached value for key {@code key}. */
      void invalidate(@CompatibleWith("K") Object key);
    
      /**
       * Discards any cached values for keys {@code keys}.
       *
       * @since 11.0
       */
      // For discussion of <? extends Object>, see getAllPresent.
      void invalidateAll(Iterable<? extends Object> keys);
    
      /** Discards all entries in the cache. */
      void invalidateAll();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/CrawlerStatsHelperTest.java

        }
    
        public void test_beginWithRecordAndDiscard() {
            String key = "test";
            crawlerStatsHelper.begin(key);
            crawlerStatsHelper.record(key, "aaa");
            crawlerStatsHelper.discard(key);
            logger.info(localLogMsg.get());
            assertNull(localLogMsg.get());
    
            crawlerStatsHelper.done(key);
            logger.info(localLogMsg.get());
            assertNull(localLogMsg.get());
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

        strings = new String[SAMPLES];
        for (int i = 0; i < SAMPLES; i++) {
          StringBuilder sb = new StringBuilder();
          for (int j = 0; j < charCount; j++) {
            int codePoint;
            // discard illegal surrogate "codepoints"
            do {
              codePoint = rnd.nextInt(maxCodePoint.value);
            } while (Character.isSurrogate((char) codePoint));
            sb.appendCodePoint(codePoint);
          }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 5.3K bytes
    - Viewed (0)
  6. cmd/metacache-entries.go

    					continue
    				}
    				xl2, err := other.xlmeta()
    				if err != nil {
    					if err := selectFrom(idx); err != nil {
    						return err
    					}
    					continue
    				}
    				if xl == nil {
    					// Discard current "best"
    					if err := selectFrom(bestIdx); err != nil {
    						return err
    					}
    					bestIdx = idx
    					best = other
    					xl = xl2
    				} else {
    					// Mark read, unless we added it as new "best".
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  7. cmd/streaming-v4-unsigned.go

    // The s3ChunkedReader returns io.EOF when the final 0-length chunk is read.
    func newUnsignedV4ChunkedReader(req *http.Request, trailer bool) (io.ReadCloser, APIErrorCode) {
    	if trailer {
    		// Discard anything unsigned.
    		req.Trailer = make(http.Header)
    		trailers := req.Header.Values(awsTrailerHeader)
    		for _, key := range trailers {
    			req.Trailer.Add(key, "")
    		}
    	} else {
    		req.Trailer = nil
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat May 06 02:53:12 GMT 2023
    - 6.1K bytes
    - Viewed (1)
  8. .github/DISCUSSION_TEMPLATE/questions.yml

            And there's a high chance that you will find the solution along the way and you won't even have to submit it and wait for an answer. 😎
    
            As there are too many questions, I'll have to discard and close the incomplete ones. That will allow me (and others) to focus on helping people like you that follow the whole process and help us help you. 🤓
      - type: checkboxes
        id: checks
        attributes:
    Others
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Aug 03 15:59:41 GMT 2023
    - 5.8K bytes
    - Viewed (1)
  9. cmd/xl-storage.go

    	volumeDir, err := s.getVolDir(volume)
    	if err != nil {
    		return err
    	}
    
    	discard := true
    
    	var legacyJSON bool
    	buf, _, err := s.readAllData(ctx, volume, volumeDir, pathJoin(volumeDir, path, xlStorageFormatFile), discard)
    	if err != nil {
    		if !errors.Is(err, errFileNotFound) {
    			return err
    		}
    
    		s.RLock()
    		legacy := s.formatLegacy
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  10. ci/official/utilities/setup_macos.sh

    # for running smoke tests in nightly/release wheel builds.
    if [[ "${TFCI_MACOS_UPGRADE_PYENV_ENABLE}" == 1 ]]; then
      # The TFCI Mac VM image seems to have uncommitted local changes to the Pyenv
      # repository so we have to discard them and reset the working directory before
      # we can pull in the latest changes.
      cd /Users/kbuilder/.pyenv/ && git reset --hard HEAD && git pull && cd -
    fi
    
    Shell Script
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 15:23:28 GMT 2024
    - 6.2K bytes
    - Viewed (0)
Back to top