Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 569 for Skinner (0.12 sec)

  1. src/runtime/pinner.go

    func (p *Pinner) Pin(pointer any) {
    	if p.pinner == nil {
    		// Check the pinner cache first.
    		mp := acquirem()
    		if pp := mp.p.ptr(); pp != nil {
    			p.pinner = pp.pinnerCache
    			pp.pinnerCache = nil
    		}
    		releasem(mp)
    
    		if p.pinner == nil {
    			// Didn't get anything from the pinner cache.
    			p.pinner = new(pinner)
    			p.refs = p.refStore[:0]
    
    Registered: 2024-06-12 16:32
    - Last Modified: 2024-04-04 14:29
    - 11K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/FirNonStaticMembersScope.kt

     *
     * Inner classes are included because they are accessible from a value of the outer class. For example:
     *
     * ```
     * class Outer {
     *     inner class Inner
     * }
     *
     * fun foo() {
     *     val outer = Outer()
     *     outer.Inner()
     * }
     * ```
     *
    Registered: 2024-06-12 09:53
    - Last Modified: 2023-10-10 13:38
    - 2.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/likelyadjust.go

    		// they don't account for inner loop exits that span multiple levels.
    
    		for _, l := range loops {
    			x := len(l.exits)
    			cf := 0
    			if !l.containsUnavoidableCall {
    				cf = 1
    			}
    			inner := 0
    			if l.isInner {
    				inner++
    			}
    
    			f.LogStat("loopstats:",
    				l.depth, "depth", x, "exits",
    				inner, "is_inner", cf, "always_calls", l.nBlocks, "n_blocks")
    		}
    	}
    Registered: 2024-06-12 16:32
    - Last Modified: 2022-10-31 21:41
    - 15.4K bytes
    - Viewed (0)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ImportOptimizer.kt

            if (!parentClassifier.canBeReferencedViaImport()) return false
    
            return when (this) {
                is ConstructorDescriptor -> !parentClassifier.isInner // inner class constructors can't be referenced via import
                is ClassDescriptor, is TypeAliasDescriptor -> true
                else -> parentClassifier is ClassDescriptor && parentClassifier.kind == ClassKind.OBJECT
            }
    Registered: 2024-06-12 09:53
    - Last Modified: 2024-05-22 06:28
    - 3.3K bytes
    - Viewed (0)
  5. src/runtime/pinner_test.go

    func TestPinnerPinZerosizeObj(t *testing.T) {
    	var pinner runtime.Pinner
    	defer pinner.Unpin()
    	p := new(struct{})
    	pinner.Pin(p)
    	if !runtime.IsPinned(unsafe.Pointer(p)) {
    		t.Fatal("not marked as pinned")
    	}
    }
    
    func TestPinnerPinGlobalPtr(t *testing.T) {
    	var pinner runtime.Pinner
    	defer pinner.Unpin()
    	pinner.Pin(globalPtrToObj)
    	pinner.Pin(globalPtrToObjWithPtr)
    	pinner.Pin(globalPtrToRuntimeObj)
    Registered: 2024-06-12 16:32
    - Last Modified: 2023-09-13 18:36
    - 11K bytes
    - Viewed (0)
  6. src/runtime/debug.go

    	}
    }
    
    // debugPinnerKeepUnpin is used to make runtime.(*Pinner).Unpin reachable.
    var debugPinnerKeepUnpin bool = false
    
    // debugPinnerV1 returns a new Pinner that pins itself. This function can be
    // used by debuggers to easily obtain a Pinner that will not be garbage
    // collected (or moved in memory) even if no references to it exist in the
    // target program. This pinner in turn can be used to extend this property
    Registered: 2024-06-12 16:32
    - Last Modified: 2024-05-11 20:38
    - 4.2K bytes
    - Viewed (0)
  7. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/mappingToJvm/CustomLambdasTest.kt

    class Outer {
        @get:Restricted
        val inner: Inner = Inner()
    
        @Configuring(propertyName = "inner")
        fun configureInner(fn: Functional) {
            fn.configure(inner)
        }
    
        @Configuring(propertyName = "inner")
        fun configureInnerWithGeneric(fn: GenericFunctional<Inner>) {
            fn.configure(inner)
        }
    }
    
    
    interface Functional {
        fun configure(inner: Inner)
    }
    
    
    Registered: 2024-06-12 18:38
    - Last Modified: 2024-02-06 23:16
    - 3.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

        SettableFuture<Object> async = SettableFuture.create();
        SettableFuture<Object> inner = SettableFuture.create();
        async.setFuture(inner);
        async.cancel(true);
        assertTrue(inner.isCancelled());
        assertTrue(inner.wasInterrupted());
        assertThrows(CancellationException.class, () -> inner.get());
      }
    
      public void testCancel_resultCancelsInner() throws Exception {
    Registered: 2024-06-12 16:38
    - Last Modified: 2023-09-06 17:04
    - 7.3K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/integtests/resolve/AbstractProjectDependencyConflictResolutionIntegrationSpec.groovy

                }
    
                ${check('ModuleC', declaredDependencyId('ModuleC', projectDep), 'conf', winner)}
    """)
    
            then:
            succeeds('check')
    
            where:
            projectDep | transitiveDep | winner                                | preferProjectModules | depSubstitution
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-10-24 06:54
    - 8K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/match/match_test.go

    			name: "empty map at depth = 1",
    			given: func() Mapper {
    				// root (dest port)
    				//   15001:
    				//     inner (dest ip):
    				//       <no matches>
    				//       fallback: chain
    				inner := NewDestinationIP()
    				inner.OnNoMatch = ToChain("chain")
    
    				root := NewDestinationPort()
    				root.Map["15001"] = ToMatcher(inner.Matcher)
    				return root
    			},
    			want: func() *matcher.Matcher {
    				// dest port
    				// 15001: chain
    Registered: 2024-06-14 15:00
    - Last Modified: 2024-03-28 17:09
    - 3.5K bytes
    - Viewed (0)
Back to top