Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for regAssign (0.14 sec)

  1. src/reflect/abi.go

    		// regAssign because zero-sized *fields* of a
    		// non-zero-sized struct do not cause it to be
    		// stack-assigned. So we need a special case here
    		// at the top.
    		a.stackBytes = align(a.stackBytes, uintptr(t.Align()))
    		return nil
    	}
    	// Hold a copy of "a" so that we can roll back if
    	// register assignment fails.
    	aOld := *a
    	if !a.regAssign(t, 0) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:08:32 UTC 2024
    - 15K bytes
    - Viewed (0)
  2. analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/compoundAssignmentExceptionCustom.kt

    class C {
        operator fun remAssign(other: C) {
    
        }
    }
    
    fun test(): C {
        var n = C()
        <expr>n %= n</expr>
        return n
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Oct 05 15:06:52 UTC 2022
    - 129 bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/extensibility/ExtensionContainerTest.groovy

            container.extensionsAsDynamicObject.foo = new FooExtension()
    
            then:
            IllegalArgumentException e = thrown()
            e.message == "There's an extension registered with name 'foo'. You should not reassign it via a property setter."
        }
    
        def "can register extensions using dynamic property setter"() {
            when:
            container.foo = extension
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  4. src/go/ast/import.go

    		importComments[s] = append(importComments[s], cgPos{left: left, cg: g})
    	}
    
    	// Sort the import specs by import path.
    	// Remove duplicates, when possible without data loss.
    	// Reassign the import paths to have the same position sequence.
    	// Reassign each comment to the spec on the same line.
    	// Sort the comments by new position.
    	slices.SortFunc(specs, func(a, b Spec) int {
    		ipath := importPath(a)
    		jpath := importPath(b)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. pkg/volume/util/fsquota/project.go

    	for _, project := range list.projects {
    		if project.data == path {
    			if id != common.BadQuotaID && id != project.id {
    				return common.BadQuotaID, false, fmt.Errorf("attempt to reassign project ID for %s", path)
    			}
    			// Trying to reassign a directory to the project it's
    			// already in.  Maybe this should be an error, but for
    			// now treat it as an idempotent operation
    			return project.id, false, nil
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

        do {
          val buffer = cursor.data
          var i = cursor.start
          val end = cursor.end
          if (buffer != null) {
            while (i < end) {
              keyIndex %= keyLength // Reassign to prevent overflow breaking counter.
    
              // Byte xor is experimental in Kotlin so we coerce bytes to int, xor them
              // and convert back to byte.
              val bufferInt: Int = buffer[i].toInt()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/extensibility/DefaultConvention.java

            if (extensionsStorage.hasExtension(name)) {
                throw new IllegalArgumentException(
                    format("There's an extension registered with name '%s'. You should not reassign it via a property setter.", name));
            }
        }
    
        private boolean isConfigureExtensionMethod(String name, @Nullable Object[] args) {
            return args.length == 1 &&
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  8. hack/tools/go.mod

    	github.com/ccojocar/zxcvbn-go v1.0.2 // indirect
    	github.com/cespare/xxhash/v2 v2.1.2 // indirect
    	github.com/charithe/durationcheck v0.0.10 // indirect
    	github.com/chavacava/garif v0.1.0 // indirect
    	github.com/curioswitch/go-reassign v0.2.0 // indirect
    	github.com/daixiang0/gci v0.12.1 // indirect
    	github.com/davecgh/go-spew v1.1.1 // indirect
    	github.com/denis-tingaikin/go-header v0.4.3 // indirect
    	github.com/dnephin/pflag v1.0.7 // indirect
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssagen/pgen.go

    			fmt.Fprintf(os.Stderr, " %d: %q isleader=%v subsumed=%v used=%v sz=%d align=%d t=%s\n", i, v.Sym().Name, mls.IsLeader(v), mls.Subsumed(v), v.Used(), v.Type().Size(), v.Type().Alignment(), v.Type().String())
    		}
    	}
    
    	// Reassign stack offsets of the locals that are used.
    	lastHasPtr := false
    	for i, n := range fn.Dcl {
    		if n.Op() != ir.ONAME || n.Class != ir.PAUTO && !(n.Class == ir.PPARAMOUT && n.IsOutputParamInRegisters()) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  10. pkg/volume/util/fsquota/quota_linux.go

    			return nil
    		}
    	} else {
    		oid = common.BadQuotaID
    	}
    	id, err := createProjectID(path, oid)
    	if err == nil {
    		if oid != common.BadQuotaID && oid != id {
    			return fmt.Errorf("attempt to reassign quota %v to %v", oid, id)
    		}
    		// When enforcing quotas are enabled, we'll condition this
    		// on their being disabled also.
    		fsbytes := ibytes
    		if fsbytes > 0 {
    			fsbytes = -1
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 07 08:07:51 UTC 2023
    - 14.1K bytes
    - Viewed (0)
Back to top