Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for removeReg (0.13 sec)

  1. src/cmd/compile/internal/ssa/debug.go

    	// OpArg*Reg values we've seen so far on our forward walk,
    	// for which we have not yet seen a corresponding spill.
    	regArgs := make([]ID, 0, 32)
    
    	// removeReg tries to remove a value from regArgs, returning true
    	// if found and removed, or false otherwise.
    	removeReg := func(r ID) bool {
    		for i := 0; i < len(regArgs); i++ {
    			if regArgs[i] == r {
    				regArgs = append(regArgs[:i], regArgs[i+1:]...)
    				return true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractTestOutputListenerIntegrationTest.groovy

                test.${configureTestFramework}
                test.addTestOutputListener(new VerboseOutputListener(logger: project.logger))
    
                def removeMe = new RemoveMeListener()
                test.addTestOutputListener(removeMe)
                test.removeTestOutputListener(removeMe)
    
                class VerboseOutputListener implements TestOutputListener {
    
                    def logger
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  3. cmd/xl-storage-meta-inline.go

    	newVals := make([][]byte, 0, sz)
    	var removeKey func(s []byte) bool
    
    	// Copy if big number of compares...
    	if len(keys) > 5 && sz > 5 {
    		mKeys := make(map[string]struct{}, len(keys))
    		for _, key := range keys {
    			mKeys[key] = struct{}{}
    		}
    		removeKey = func(s []byte) bool {
    			_, ok := mKeys[string(s)]
    			return ok
    		}
    	} else {
    		removeKey = func(s []byte) bool {
    			for _, key := range keys {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/gnu.go

    	case Offset:
    		reg := inst.Args[argIndex+1].(Reg)
    		removeArg(inst, argIndex+1)
    		if reg == R0 {
    			return fmt.Sprintf("%d(0)", int(arg))
    		}
    		return fmt.Sprintf("%d(r%d)", int(arg), reg-R0)
    	}
    	return fmt.Sprintf("???(%v)", arg)
    }
    
    // removeArg removes the arg in inst.Args[index].
    func removeArg(inst *Inst, index int) {
    	for i := index; i < len(inst.Args); i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  5. istioctl/pkg/tag/tag.go

    		if err != nil {
    			return err
    		}
    		// nolint
    		return fmt.Errorf("creating tag would conflict, pass --skip-confirmation to proceed:\n%v\n", o)
    	}
    	return nil
    }
    
    // removeTag removes an existing revision tag.
    func removeTag(ctx context.Context, kubeClient kubernetes.Interface, tagName string, skipConfirmation bool, w io.Writer) error {
    	webhooks, err := GetWebhooksWithTag(ctx, kubeClient, tagName)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  6. istioctl/pkg/tag/tag_test.go

    	}
    
    	for _, tc := range tcs {
    		t.Run(tc.name, func(t *testing.T) {
    			var out bytes.Buffer
    			client := fake.NewSimpleClientset(tc.webhooksBefore.DeepCopyObject(), tc.namespaces.DeepCopyObject())
    			err := removeTag(context.Background(), client, tc.tag, tc.skipConfirmation, &out)
    			if tc.error == "" && err != nil {
    				t.Fatalf("expected no error, got %v", err)
    			}
    			if tc.error != "" {
    				if err == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Nov 17 22:41:06 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  7. src/database/sql/sql.go

    		xdep = make(depSet)
    		db.dep[x] = xdep
    	}
    	xdep[dep] = true
    }
    
    // removeDep notes that x no longer depends on dep.
    // If x still has dependencies, nil is returned.
    // If x no longer has any dependencies, its finalClose method will be
    // called and its error value will be returned.
    func (db *DB) removeDep(x finalCloser, dep any) error {
    	db.mu.Lock()
    	fn := db.removeDepLocked(x, dep)
    	db.mu.Unlock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_traits.h

                                                   mlir::Type maybe_ref_type) {
      if (auto ref_type =
              mlir::dyn_cast<mlir::tf_type::TensorFlowRefType>(maybe_ref_type))
        return success(ref_type.RemoveRef().getTypeID() == type.getTypeID());
      return failure();
    }
    
    // This class provides verification for ops that are known to have the same
    // result types and all operands are either of the same type as result or a REF
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/plan9.go

    			return fmt.Sprintf("%s+%d(SB)", s, addr-base)
    		}
    		return fmt.Sprintf("%#x", addr)
    	case Label:
    		return fmt.Sprintf("%#x", int(arg))
    	case Offset:
    		reg := inst.Args[argIndex+1].(Reg)
    		removeArg(inst, argIndex+1)
    		if reg == R0 {
    			return fmt.Sprintf("%d(0)", int(arg))
    		}
    		return fmt.Sprintf("%d(R%d)", int(arg), reg-R0)
    	}
    	return fmt.Sprintf("???(%v)", arg)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  10. src/cmd/cgo/gcc.go

    			fatalf("cannot load DWARF output from %s: %v", gccTmp(), err)
    		}
    		bo := f.ByteOrder
    		symtab, err := f.Symbols()
    		if err == nil {
    			// Check for use of -fsanitize=hwaddress (issue 53285).
    			removeTag := func(v uint64) uint64 { return v }
    			if goarch == "arm64" {
    				for i := range symtab {
    					if symtab[i].Name == "__hwasan_init" {
    						// -fsanitize=hwaddress on ARM
    						// uses the upper byte of a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top