Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 96 for obj1 (0.05 sec)

  1. cmd/test-utils_test.go

    	randN = r
    	randmu.Unlock()
    	return strconv.Itoa(int(1e9 + r%1e9))[1:]
    }
    
    // isSameType - compares two object types via reflect.TypeOf
    func isSameType(obj1, obj2 interface{}) bool {
    	return reflect.TypeOf(obj1) == reflect.TypeOf(obj2)
    }
    
    // TestServer encapsulates an instantiation of a MinIO instance with a temporary backend.
    // Example usage:
    //
    //	s := StartTestServer(t,"Erasure")
    //	defer s.Stop()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  2. istioctl/pkg/multicluster/remote_secret_test.go

    	t.Helper()
    	var obj *manifest.Manifest
    	for _, o := range objs {
    		if o.GetKind() == kind && o.GetName() == name {
    			obj = &o
    			break
    		}
    	}
    	if obj == nil {
    		t.Fatalf("expected %v/%v", name, kind)
    	}
    }
    
    func TestCreateRemoteKubeconfig(t *testing.T) {
    	fakeClusterName := "fake-clusterName-0"
    	kubeconfig := strings.ReplaceAll(`apiVersion: v1
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  3. cmd/data-usage_test.go

    			}
    			if e.Size != int64(w.size) {
    				t.Error("got size", e.Size, "want", w.size)
    			}
    			if e.Objects != uint64(w.objs) {
    				t.Error("got objects", e.Objects, "want", w.objs)
    			}
    			if e.Versions != uint64(w.objs) {
    				t.Error("got versions", e.Versions, "want", w.objs)
    			}
    			if e.ObjSizes != w.oSizes {
    				t.Error("got histogram", e.ObjSizes, "want", w.oSizes)
    			}
    		})
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  4. cmd/erasure-sets.go

    		object ObjectToDelete
    	}
    
    	// Transform []delObj to the list of object names
    	toNames := func(delObjs []delObj) []ObjectToDelete {
    		objs := make([]ObjectToDelete, len(delObjs))
    		for i, obj := range delObjs {
    			objs[i] = obj.object
    		}
    		return objs
    	}
    
    	// The result of delete operation on all passed objects
    	delErrs := make([]error, len(objects))
    
    	// The result of delete objects
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (1)
  5. cmd/erasure-server-pool.go

    		concurrent = len(objects)
    	}
    
    	var mu sync.Mutex
    	eg := errgroup.WithNErrs(len(objects)).WithConcurrency(concurrent)
    	for j, obj := range objects {
    		j := j
    		obj := obj
    		eg.Go(func() error {
    			pinfo, _, err := z.getPoolInfoExistingWithOpts(ctx, bucket, obj.ObjectName, ObjectOptions{
    				NoLock: true,
    			})
    			if err != nil {
    				if !isErrObjectNotFound(err) && !isErrVersionNotFound(err) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/CrawlerLogHelper.java

            super.processCleanupCrawling(objs);
            if (objs.length > 1 && objs[1] instanceof final UrlQueue<?> urlQueue) {
                ComponentUtil.getCrawlerStatsHelper().done(urlQueue);
            }
        }
    
        @Override
        protected void processProcessChildUrlByException(final Object... objs) {
            super.processProcessChildUrlByException(objs);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/parse.go

    //
    // empty,           yielding (false, obj.ABI0)
    // "<>",            yielding (true,  obj.ABI0)
    // "<ABI0>"         yielding (false, obj.ABI0)
    // "<ABIInternal>"  yielding (false, obj.ABIInternal)
    //
    // Anything else beginning with "<" logs an error if issueError is
    // true, otherwise returns (false, obj.ABI0).
    func (p *Parser) symRefAttrs(name string, issueError bool) (bool, obj.ABI) {
    	abi := obj.ABI0
    	isStatic := false
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/arch/arch.go

    package arch
    
    import (
    	"cmd/internal/obj"
    	"cmd/internal/obj/arm"
    	"cmd/internal/obj/arm64"
    	"cmd/internal/obj/loong64"
    	"cmd/internal/obj/mips"
    	"cmd/internal/obj/ppc64"
    	"cmd/internal/obj/riscv"
    	"cmd/internal/obj/s390x"
    	"cmd/internal/obj/wasm"
    	"cmd/internal/obj/x86"
    	"fmt"
    	"strings"
    )
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 24 12:32:56 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/asm.go

    	if addr.Type != obj.TYPE_CONST || addr.Name != 0 || addr.Reg != 0 || addr.Index != 0 {
    		p.errorf("%s: expected immediate constant; found %s", op, obj.Dconv(prog, addr))
    	}
    	return addr.Offset
    }
    
    // getRegister checks that addr represents a register and returns its value.
    func (p *Parser) getRegister(prog *obj.Prog, op obj.As, addr *obj.Addr) int16 {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 21 14:11:44 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/arch/arm.go

    // in the usual way by the opcode itself. Asm must use AMRC for both instructions, so
    // we return the opcode for MRC so that asm doesn't need to import obj/arm.
    func ARMMRCOffset(op obj.As, cond string, x0, x1, x2, x3, x4, x5 int64) (offset int64, op0 obj.As, ok bool) {
    	op1 := int64(0)
    	if op == arm.AMRC {
    		op1 = 1
    	}
    	bits, ok := ParseARMCondition(cond)
    	if !ok {
    		return
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 23 15:18:14 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top