Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for Sync (0.19 sec)

  1. cmd/erasure-server-pool.go

    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v2/sync/errgroup"
    	"github.com/minio/pkg/v2/wildcard"
    )
    
    type erasureServerPools struct {
    	poolMetaMutex sync.RWMutex
    	poolMeta      poolMeta
    
    	rebalMu   sync.RWMutex
    	rebalMeta *rebalanceMeta
    
    	deploymentID     [16]byte
    	distributionAlgo string
    
    	serverPools []*erasureSets
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 80.1K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    	formatLastCheck time.Time
    
    	diskInfoCache *cachevalue.Cache[DiskInfo]
    	sync.RWMutex
    	formatData []byte
    
    	nrRequests   uint64
    	major, minor uint32
    	fsType       string
    
    	immediatePurge chan string
    
    	// mutex to prevent concurrent read operations overloading walks.
    	rotational bool
    	walkMu     *sync.Mutex
    	walkReadMu *sync.Mutex
    }
    
    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)
  3. cmd/batch-handlers.go

    //msgp:ignore BatchJobPool
    
    // BatchJobPool batch job pool
    type BatchJobPool struct {
    	ctx          context.Context
    	objLayer     ObjectLayer
    	once         sync.Once
    	mu           sync.Mutex
    	jobCh        chan *BatchJobRequest
    	jmu          sync.Mutex // protects jobCancelers
    	jobCancelers map[string]context.CancelFunc
    	workerKillCh chan struct{}
    	workerSize   int
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 08 14:11:38 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  4. go.sum

    golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
    golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
    golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
    golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:31:35 GMT 2024
    - 84.2K bytes
    - Viewed (0)
  5. cmd/erasure-object.go

    		ReadData: readData,
    		Healing:  false,
    	}
    
    	mrfCheck := make(chan FileInfo)
    	defer xioutil.SafeClose(mrfCheck)
    
    	var rw sync.Mutex
    
    	// Ask for all disks first;
    	go func() {
    		ctx, cancel := context.WithCancel(ctx)
    		defer cancel()
    
    		wg := sync.WaitGroup{}
    		for i, disk := range disks {
    			if disk == nil {
    				done <- false
    				continue
    			}
    			if !disk.IsOnline() {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 76.9K bytes
    - Viewed (2)
  6. cmd/peer-rest-server.go

    package cmd
    
    import (
    	"bytes"
    	"context"
    	"encoding/gob"
    	"encoding/hex"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"io"
    	"net/http"
    	"net/url"
    	"strconv"
    	"strings"
    	"sync"
    	"sync/atomic"
    	"time"
    
    	"github.com/dustin/go-humanize"
    	"github.com/klauspost/compress/zstd"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/bucket/bandwidth"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  7. cmd/iam.go

    package cmd
    
    import (
    	"bytes"
    	"context"
    	"encoding/base64"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"math/rand"
    	"path"
    	"sort"
    	"strings"
    	"sync"
    	"sync/atomic"
    	"time"
    
    	libldap "github.com/go-ldap/ldap/v3"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio-go/v7/pkg/set"
    	"github.com/minio/minio/internal/arn"
    	"github.com/minio/minio/internal/auth"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  8. cmd/bucket-handlers.go

    	"encoding/hex"
    	"encoding/json"
    	"encoding/xml"
    	"errors"
    	"fmt"
    	"io"
    	"mime/multipart"
    	"net/http"
    	"net/textproto"
    	"net/url"
    	"path"
    	"runtime"
    	"sort"
    	"strconv"
    	"strings"
    	"sync"
    
    	"github.com/google/uuid"
    	"github.com/minio/mux"
    	"github.com/valyala/bytebufferpool"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio-go/v7"
    	"github.com/minio/minio-go/v7/pkg/set"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/MapsTest.java

        BiMap<String, Integer> bimap = HashBiMap.create();
        bimap.put("one", 1);
        BiMap<String, Integer> sync = Maps.synchronizedBiMap(bimap);
        bimap.put("two", 2);
        sync.put("three", 3);
        assertEquals(ImmutableSet.of(1, 2, 3), bimap.inverse().keySet());
        assertEquals(ImmutableSet.of(1, 2, 3), sync.inverse().keySet());
      }
    
      private static final Function<Integer, Double> SQRT_FUNCTION = in -> Math.sqrt(in);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/MapsTest.java

        BiMap<String, Integer> bimap = HashBiMap.create();
        bimap.put("one", 1);
        BiMap<String, Integer> sync = Maps.synchronizedBiMap(bimap);
        bimap.put("two", 2);
        sync.put("three", 3);
        assertEquals(ImmutableSet.of(1, 2, 3), bimap.inverse().keySet());
        assertEquals(ImmutableSet.of(1, 2, 3), sync.inverse().keySet());
      }
    
      private static final Function<Integer, Double> SQRT_FUNCTION = in -> Math.sqrt(in);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
Back to top