Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for assignments (0.16 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KaFirResolver.kt

        private fun KtElement.getExpressionForOperationReferenceExpression(): KtElement? {
            if (this !is KtOperationReferenceExpression) return null
            return when (val parent = parent) {
                // Augment assignment resolves into KtCompoundVariableAccessCall, but we should resolve into a specific function
                is KtBinaryExpression -> parent.takeUnless { operationSignTokenType in KtTokens.AUGMENTED_ASSIGNMENTS }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 73K bytes
    - Viewed (0)
  2. src/bytes/bytes_test.go

    		}
    	}
    }
    
    // test a larger buffer with different sizes and alignments
    func TestIndexByteBig(t *testing.T) {
    	var n = 1024
    	if testing.Short() {
    		n = 128
    	}
    	b := make([]byte, n)
    	for i := 0; i < n; i++ {
    		// different start alignments
    		b1 := b[i:]
    		for j := 0; j < len(b1); j++ {
    			b1[j] = 'x'
    			pos := IndexByte(b1, 'x')
    			if pos != j {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/services/BuildServiceIntegrationTest.groovy

                    parameters.initial = 100
                    maxParallelUsages = 1
                }
    
                task unambiguous(type: Consumer) {
                    // explicit assignment avoids ambiguity
                    counter.convention(service2)
                    // explicit usage declaration required to avoid warning
                    usesService(service2)
                    doLast {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 19:15:46 UTC 2024
    - 61K bytes
    - Viewed (0)
  4. src/text/template/exec_test.go

    	{"$.U.V", "{{$.U.V}}", "v", tVal, true},
    	{"declare in action", "{{$x := $.U.V}}{{$x}}", "v", tVal, true},
    	{"simple assignment", "{{$x := 2}}{{$x = 3}}{{$x}}", "3", tVal, true},
    	{"nested assignment",
    		"{{$x := 2}}{{if true}}{{$x = 3}}{{end}}{{$x}}",
    		"3", tVal, true},
    	{"nested assignment changes the last declaration",
    		"{{$x := 1}}{{if true}}{{$x := 2}}{{if true}}{{$x = 3}}{{end}}{{end}}{{$x}}",
    		"1", tVal, true},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  5. src/runtime/mheap.go

    	"mSpanDead",
    	"mSpanInUse",
    	"mSpanManual",
    }
    
    // mSpanStateBox holds an atomic.Uint8 to provide atomic operations on
    // an mSpanState. This is a separate type to disallow accidental comparison
    // or assignment with mSpanState.
    type mSpanStateBox struct {
    	s atomic.Uint8
    }
    
    // It is nosplit to match get, below.
    
    //go:nosplit
    func (b *mSpanStateBox) set(s mSpanState) {
    	b.s.Store(uint8(s))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  6. src/cmd/link/internal/loader/loader.go

    		}
    	}
    
    	// Used to record which dupok symbol we've assigned to a unit.
    	// Can't use the onlist attribute here because it will need to
    	// clear for the later assignment of the sym.Symbol to a unit.
    	// NB: we can convert to using onList once we no longer have to
    	// call the regular addToTextp.
    	assignedToUnit := MakeBitmap(l.NSym() + 1)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/apps/v1/types.go

    }
    
    // StatefulSetOrdinals describes the policy used for replica ordinal assignment
    // in this StatefulSet.
    type StatefulSetOrdinals struct {
    	// start is the number representing the first replica's index. It may be used
    	// to number replicas from an alternate index (eg: 1-indexed) over the default
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 49.1K bytes
    - Viewed (0)
  8. src/runtime/map.go

    //
    // Do not remove or change the type signature.
    // See go.dev/issue/67401.
    //
    //go:linkname mapassign
    func mapassign(t *maptype, h *hmap, key unsafe.Pointer) unsafe.Pointer {
    	if h == nil {
    		panic(plainError("assignment to entry in nil map"))
    	}
    	if raceenabled {
    		callerpc := getcallerpc()
    		pc := abi.FuncPCABIInternal(mapassign)
    		racewritepc(unsafe.Pointer(h), callerpc, pc)
    		raceReadObjectPC(t.Key, key, callerpc, pc)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  9. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest.h

     public:
      // Constructor.
      AssertHelper(TestPartResult::Type type,
                   const char* file,
                   int line,
                   const char* message);
      ~AssertHelper();
    
      // Message assignment is a semantic trick to enable assertion
      // streaming; see the GTEST_MESSAGE_ macro below.
      void operator=(const Message& message) const;
    
     private:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 86.4K bytes
    - Viewed (0)
  10. src/reflect/type.go

    	off := 1 + i + l
    	if n.HasTag() {
    		i2, l2 := n.ReadVarint(off)
    		off += i2 + l2
    	}
    	var nameOff int32
    	// Note that this field may not be aligned in memory,
    	// so we cannot use a direct int32 assignment here.
    	copy((*[4]byte)(unsafe.Pointer(&nameOff))[:], (*[4]byte)(unsafe.Pointer(n.DataChecked(off, "name offset field")))[:])
    	pkgPathName := abi.Name{Bytes: (*byte)(resolveTypeOff(unsafe.Pointer(n.Bytes), nameOff))}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
Back to top