Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 451 for Async (0.02 sec)

  1. tests/lru_test.go

    package tests_test
    
    import (
    	"crypto/rand"
    	"fmt"
    	"gorm.io/gorm/internal/lru"
    	"math"
    	"math/big"
    	"reflect"
    	"sync"
    	"testing"
    	"time"
    )
    
    func TestLRU_Add_ExistingKey_UpdatesValueAndExpiresAt(t *testing.T) {
    	lru := lru.NewLRU[string, int](10, nil, time.Hour)
    	lru.Add("key1", 1)
    	lru.Add("key1", 2)
    
    	if value, ok := lru.Get("key1"); !ok || value != 2 {
    		t.Errorf("Expected value to be updated to 2, got %v", value)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  2. cmd/bucket-policy-handlers_test.go

    ) {
    	bucketName1 := fmt.Sprintf("%s-1", bucketName)
    
    	const n = 100
    	start := make(chan struct{})
    	var ok, errs int
    	var wg sync.WaitGroup
    	var mu sync.Mutex
    	wg.Add(n)
    	for range n {
    		go func() {
    			defer wg.Done()
    			// Sync start.
    			<-start
    			if err := obj.MakeBucket(GlobalContext, bucketName1, MakeBucketOptions{}); err != nil {
    				if _, ok := err.(BucketExists); !ok {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  3. cmd/metacache-set.go

    package cmd
    
    import (
    	"bytes"
    	"context"
    	"encoding/gob"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"io"
    	"maps"
    	"math/rand"
    	"strconv"
    	"strings"
    	"sync"
    	"sync/atomic"
    	"time"
    
    	jsoniter "github.com/json-iterator/go"
    	"github.com/minio/minio/internal/bucket/lifecycle"
    	"github.com/minio/minio/internal/bucket/object/lock"
    	"github.com/minio/minio/internal/bucket/versioning"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 30.7K bytes
    - Viewed (0)
  4. cmd/admin-handlers.go

    	z, ok := objectAPI.(*erasureServerPools)
    	if !ok {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrNotImplemented), r.URL)
    		return
    	}
    
    	vars := mux.Vars(r)
    
    	var args dsync.LockArgs
    	var lockers []dsync.NetLocker
    	for path := range strings.SplitSeq(vars["paths"], ",") {
    		if path == "" {
    			continue
    		}
    		args.Resources = append(args.Resources, path)
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 99.6K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/testdata/ppc64.s

    	STHCCC R3, (R4)                 // 7c6025ad
    	STSW R3, (R4)(R5)               // 7c65252a
    	STSW R3, (R4)(R0)               // 7c60252a
    	STSW R3, (R4)                   // 7c60252a
    
    	SYNC                            // 7c0004ac
    	ISYNC                           // 4c00012c
    	LWSYNC                          // 7c2004ac
    	EIEIO                           // 7c0006ac
    	PTESYNC                         // 7c4004ac
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Nov 21 18:27:17 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  6. cmd/peer-s3-client.go

    package cmd
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"slices"
    	"sort"
    	"strconv"
    	"sync/atomic"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/grid"
    	"github.com/minio/pkg/v3/sync/errgroup"
    )
    
    var errPeerOffline = errors.New("peer is offline")
    
    type peerS3Client interface {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  7. src/main/webapp/WEB-INF/view/admin/maintenance/admin_maintenance.jsp

                                            name="reloadDocIndex"
                                            value="<la:message key="labels.reload_doc_index_button"/>">
                                        <em class="fa fa-sync">
                                        <la:message key="labels.reload_doc_index_button"/>
                                    </button>
                                </div>
                            </div>
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Mon Jan 16 12:54:35 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  8. cmd/admin-heal-ops.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"maps"
    	"net/http"
    	"sort"
    	"sync"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/minio/internal/logger"
    )
    
    // healStatusSummary - overall short summary of a healing sequence
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  9. cmd/config-current.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"maps"
    	"strings"
    	"sync"
    
    	"github.com/minio/minio/internal/config/browser"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/minio/internal/config/api"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 28.5K bytes
    - Viewed (0)
  10. cmd/metrics-v3-types.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"fmt"
    	"slices"
    	"strings"
    	"sync"
    
    	"github.com/minio/minio-go/v7/pkg/set"
    	"github.com/minio/minio/internal/logger"
    	"github.com/pkg/errors"
    	"github.com/prometheus/client_golang/prometheus"
    )
    
    type collectorPath string
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Feb 28 19:33:08 UTC 2025
    - 15.6K bytes
    - Viewed (0)
Back to top