Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for mathml (0.24 sec)

  1. internal/s3select/sql/value.go

    				result = intA
    			}
    		}
    		v.setInt(result)
    		return nil
    	}
    
    	floatV, _ := v.ToFloat()
    	floatA, _ := a.ToFloat()
    	var result float64
    	if !isMax {
    		result = math.Min(floatV, floatA)
    	} else {
    		result = math.Max(floatV, floatA)
    	}
    	v.setFloat(result)
    	return nil
    }
    
    func inferTypeAsTimestamp(v *Value) error {
    	if s, ok := v.ToString(); ok {
    		t, err := parseSQLTimestamp(s)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K bytes
    - Viewed (0)
  2. internal/grid/types.go

    // MarshalMsg implements msgp.Marshaler
    func (j *Array[T]) MarshalMsg(b []byte) (o []byte, err error) {
    	if j.val == nil {
    		return msgp.AppendNil(b), nil
    	}
    	if uint64(len(j.val)) > math.MaxUint32 {
    		return b, errors.New("array: length of array exceeds math.MaxUint32")
    	}
    	b = msgp.AppendArrayHeader(b, uint32(len(j.val)))
    	for _, v := range j.val {
    		b, err = v.MarshalMsg(b)
    		if err != nil {
    			return b, err
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 01 23:42:09 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool-rebalance.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"encoding/binary"
    	"errors"
    	"fmt"
    	"io"
    	"math"
    	"math/rand"
    	"net/http"
    	"strings"
    	"time"
    
    	"github.com/dustin/go-humanize"
    	"github.com/lithammer/shortuuid/v4"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/bucket/lifecycle"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  4. cmd/xl-storage-disk-id-check.go

    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"io"
    	"math/rand"
    	"runtime"
    	"strconv"
    	"strings"
    	"sync"
    	"sync/atomic"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/cachevalue"
    	"github.com/minio/minio/internal/grid"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  5. cmd/object_api_suite_test.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"context"
    	"io"
    	"math/rand"
    	"strconv"
    	"testing"
    
    	"github.com/dustin/go-humanize"
    	"github.com/minio/minio/internal/kms"
    )
    
    // Return pointer to testOneByteReadEOF{}
    func newTestReaderEOF(data []byte) io.Reader {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 32.3K bytes
    - Viewed (0)
  6. internal/s3select/sql/value_test.go

    			wantOK: true,
    		},
    		{
    			name: "max",
    			fields: fields{
    				value: []byte(strconv.FormatInt(math.MaxInt64, 10)),
    			},
    			want:   math.MaxInt64,
    			wantOK: true,
    		},
    		{
    			name: "min",
    			fields: fields{
    				value: []byte(strconv.FormatInt(math.MinInt64, 10)),
    			},
    			want:   math.MinInt64,
    			wantOK: true,
    		},
    		{
    			name: "max-overflow",
    			fields: fields{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  7. cmd/bucket-object-lock.go

    	}
    
    	// Pass in relative days from current time, to additionally
    	// to verify "object-lock-remaining-retention-days" policy if any.
    	days := int(math.Ceil(math.Abs(objRetention.RetainUntilDate.Sub(t).Hours()) / 24))
    
    	ret := objectlock.GetObjectRetentionMeta(oi.UserDefined)
    	if ret.Mode.Valid() {
    		// Retention has expired you may change whatever you like.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  8. internal/grid/benchmark_test.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package grid
    
    import (
    	"context"
    	"fmt"
    	"math/rand"
    	"runtime"
    	"strconv"
    	"sync/atomic"
    	"testing"
    	"time"
    
    	"github.com/minio/minio/internal/logger/target/testlogger"
    )
    
    func BenchmarkRequests(b *testing.B) {
    	for n := 2; n <= 32; n *= 2 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 12.2K bytes
    - Viewed (0)
  9. cmd/tier.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"context"
    	"encoding/base64"
    	"encoding/binary"
    	"errors"
    	"fmt"
    	"math/rand"
    	"net/http"
    	"path"
    	"strings"
    	"sync"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/crypto"
    	"github.com/minio/minio/internal/hash"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  10. internal/rest/client.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package rest
    
    import (
    	"bytes"
    	"context"
    	"errors"
    	"fmt"
    	"io"
    	"math/rand"
    	"net/http"
    	"net/http/httputil"
    	"net/url"
    	"path"
    	"strings"
    	"sync"
    	"sync/atomic"
    	"time"
    
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/logger"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 14.4K bytes
    - Viewed (0)
Back to top