Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 699 for float64 (0.25 sec)

  1. cmd/xl-storage.go

    	info, err := s.diskInfoCache.Get()
    	if err != nil {
    		return false
    	}
    	if info.Used == 0 || info.UsedInodes == 0 {
    		return false
    	}
    	return (float64(info.Free)/float64(info.Used)) < almostFilledPercent || (float64(info.FreeInodes)/float64(info.UsedInodes)) < almostFilledPercent
    }
    
    func (s *xlStorage) moveToTrashNoDeadline(filePath string, recursive, immediatePurge bool) (err error) {
    	pathUUID := mustGetUUID()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  2. cmd/notification.go

    				}
    
    				// Wait for a minimum of 100ms and dynamically increase this based on number of attempts.
    				if i < retryCount-1 {
    					time.Sleep(100*time.Millisecond + time.Duration(r.Float64()*float64(time.Second)))
    					continue
    				}
    			}
    			break
    		}
    	}()
    }
    
    // DeletePolicy - deletes policy across all peers.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  3. tests/sql_builder_test.go

    }
    
    type ageBool bool
    
    func (ageBool) String() string {
    	return "age"
    }
    
    type ageUint64 uint64
    
    func (ageUint64) String() string {
    	return "age"
    }
    
    type ageFloat float64
    
    func (ageFloat) String() string {
    	return "age"
    }
    
    func TestExplainSQL(t *testing.T) {
    	user := *GetUser("explain-sql", Config{})
    	dryRunDB := DB.Session(&gorm.Session{DryRun: true})
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  4. RELEASE.md

            forward path for data of type `tf.float32` but not for data of type
            `tf.float64` (for which there was no GPU implementation). In this
            current release, GPU support for other floating-point types
            (`tf.float16`, `tf.float64`, `tf.complex64`, and `tf.complex128`) has
            been added for this op. If you were relying on the determinism of the
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Oct 22 14:33:53 UTC 2024
    - 735.3K bytes
    - Viewed (0)
  5. internal/grid/connection.go

    	conn := 0
    	if c.State() == StateConnected {
    		conn++
    	}
    	var lastConn time.Time
    	if t := c.lastConnect.Load(); t != nil {
    		lastConn = *t
    	}
    	pingMS := float64(c.lastPingDur.Load()) / float64(time.Millisecond)
    	m := madmin.RPCMetrics{
    		CollectedAt:      time.Now(),
    		Connected:        conn,
    		Disconnected:     1 - conn,
    		IncomingStreams:  c.inStream.Size(),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  6. api/go1.4.txt

    # CL 101750048 math: implement Nextafter32, Robert Griesemer <******@****.***>
    pkg math, func Nextafter32(float32, float32) float32
    
    # CL 93550043 math/big: implement Rat.Float32, Robert Griesemer <******@****.***>
    pkg math/big, method (*Rat) Float32() (float32, bool)
    
    # CL 76540043 net/http: add BasicAuth method to *http.Request, Kelsey Hightower <******@****.***>
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Dec 12 03:01:01 UTC 2014
    - 34K bytes
    - Viewed (0)
  7. cmd/erasure-server-pool.go

    			err = z.Init(ctx) // Initializes all pools.
    		})
    		if err != nil {
    			if !configRetriableErrors(err) {
    				logger.Fatal(err, "Unable to initialize backend")
    			}
    			retry := time.Duration(r.Float64() * float64(5*time.Second))
    			storageLogIf(ctx, fmt.Errorf("Unable to initialize backend: %w, retrying in %s", err, retry))
    			time.Sleep(retry)
    			attempt++
    			continue
    		}
    		break
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  8. cmd/object-api-utils.go

    		return false, nil
    	}
    
    	// How much will be left after adding the file.
    	available -= uint64(size)
    
    	// wantLeft is how much space there at least must be left.
    	wantLeft := uint64(float64(total) * (1.0 - diskFillFraction))
    	return available > wantLeft, nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  9. cmd/bucket-replication.go

    	// Run the replication resync in a loop
    	for {
    		if err := p.loadResync(ctx, buckets, objAPI); err == nil {
    			<-ctx.Done()
    			return
    		}
    		duration := time.Duration(r.Float64() * float64(time.Minute))
    		if duration < time.Second {
    			// Make sure to sleep at least a second to avoid high CPU ticks.
    			duration = time.Second
    		}
    		time.Sleep(duration)
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Floats.java

       * @return the result of invoking {@link Float#compare(float, float)}
       */
      @InlineMe(replacement = "Float.compare(a, b)")
      public static int compare(float a, float b) {
        return Float.compare(a, b);
      }
    
      /**
       * Returns {@code true} if {@code value} represents a real number. This is equivalent to, but not
       * necessarily implemented as, {@code !(Float.isInfinite(value) || Float.isNaN(value))}.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 25.8K bytes
    - Viewed (0)
Back to top