Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for random (0.04 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

            // Should not require try-catch (unchecked exception)
            throwUnchecked(); // This compiles without try-catch
        }
    
        private void throwUnchecked() {
            if (Math.random() > 1) { // Never true, but compiler doesn't know
                throw new CrawlerSystemException("Unchecked");
            }
        }
    
        /**
         * Test suppressed exceptions
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 20K bytes
    - Viewed (0)
  2. cmd/erasure-multipart.go

    	// Need a unique name for the part being written in minioMetaBucket to
    	// accommodate concurrent PutObjectPart requests
    
    	partSuffix := fmt.Sprintf("part.%d", partID)
    	// Random UUID and timestamp for temporary part file.
    	tmpPart := fmt.Sprintf("%sx%d", mustGetUUID(), time.Now().UnixNano())
    	tmpPartPath := pathJoin(tmpPart, partSuffix)
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 47.3K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool-rebalance.go

    	defer xioutil.SafeClose(doneCh)
    
    	// Save rebalance.bin periodically.
    	go func() {
    		// Update rebalance.bin periodically once every 5-10s, chosen randomly
    		// to avoid multiple pool leaders herding to update around the same
    		// time.
    		r := rand.New(rand.NewSource(time.Now().UnixNano()))
    		randSleepFor := func() time.Duration {
    			return 5*time.Second + time.Duration(float64(5*time.Second)*r.Float64())
    		}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Sep 04 20:47:24 UTC 2025
    - 28.9K bytes
    - Viewed (0)
Back to top