Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 508 for RUNTIME (0.11 sec)

  1. src/internal/weak/pointer_test.go

    	done := make(chan struct{}, 1)
    	runtime.SetFinalizer(bt, func(bt *T) {
    		if wt.Strong() != nil {
    			t.Errorf("weak pointer did not go nil before finalizer ran")
    		}
    		done <- struct{}{}
    	})
    
    	// Make sure the weak pointer stays around while bt is live.
    	runtime.GC()
    	if wt.Strong() == nil {
    		t.Errorf("weak pointer went nil too soon")
    	}
    	runtime.KeepAlive(bt)
    
    	// bt is no longer referenced.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. src/runtime/debug.go

    }
    
    //go:linkname debug_modinfo runtime/debug.modinfo
    func debug_modinfo() string {
    	return modinfo
    }
    
    // mayMoreStackPreempt is a maymorestack hook that forces a preemption
    // at every possible cooperative preemption point.
    //
    // This is valuable to apply to the runtime, which can be sensitive to
    // preemption points. To apply this to all preemption points in the
    // runtime and runtime-like code, use the following in bash or zsh:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/apis/output/zz_generated.deepcopy.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // Code generated by deepcopy-gen. DO NOT EDIT.
    
    package output
    
    import (
    	runtime "k8s.io/apimachinery/pkg/runtime"
    )
    
    // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    func (in *AvailableUpgrade) DeepCopyInto(out *AvailableUpgrade) {
    	*out = *in
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 07:01:20 UTC 2024
    - 7K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/apis/output/scheme/scheme.go

    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/apimachinery/pkg/runtime/serializer"
    	utilruntime "k8s.io/apimachinery/pkg/util/runtime"
    
    	"k8s.io/kubernetes/cmd/kubeadm/app/apis/output"
    	"k8s.io/kubernetes/cmd/kubeadm/app/apis/output/v1alpha3"
    )
    
    // Scheme is the runtime.Scheme to which all kubeadm api types are registered.
    var Scheme = runtime.NewScheme()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 07:01:20 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. src/runtime/atomic_pointer.go

    }
    
    // atomic_storePointer is the implementation of runtime/internal/UnsafePointer.Store
    // (like StoreNoWB but with the write barrier).
    //
    //go:nosplit
    //go:linkname atomic_storePointer internal/runtime/atomic.storePointer
    func atomic_storePointer(ptr *unsafe.Pointer, new unsafe.Pointer) {
    	atomicstorep(unsafe.Pointer(ptr), new)
    }
    
    // atomic_casPointer is the implementation of runtime/internal/UnsafePointer.CompareAndSwap
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/AbstractFunctionalTypeTest.kt

            Runtime.value = "before"
            val value = configurationCacheRoundtripOf(deferred)
    
            Runtime.value = "after"
            assertThat(
                force(value),
                equalTo("after")
            )
        }
    
        protected
        fun <T : Any> assertEagerEvaluationOf(eager: T, extract: T.() -> Any?) {
            Runtime.value = "before"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/util.go

    	"k8s.io/apimachinery/pkg/fields"
    	"k8s.io/apimachinery/pkg/labels"
    	"k8s.io/apimachinery/pkg/runtime"
    )
    
    type SimpleUpdateFunc func(runtime.Object) (runtime.Object, error)
    
    // SimpleUpdateFunc converts SimpleUpdateFunc into UpdateFunc
    func SimpleUpdate(fn SimpleUpdateFunc) UpdateFunc {
    	return func(input runtime.Object, _ ResponseMeta) (runtime.Object, *uint64, error) {
    		out, err := fn(input)
    		return out, nil, err
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:05:06 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. src/runtime/netpoll_kqueue_event.go

    			continue
    		}
    		println("runtime: netpollBreak write failed with", -n)
    		throw("runtime: netpollBreak write failed")
    	}
    }
    
    func isWakeup(ev *keventt) bool {
    	if ev.filter == _EVFILT_USER {
    		if ev.ident == kqIdent {
    			return true
    		}
    		println("runtime: netpoll: break fd ready for", ev.ident)
    		throw("runtime: netpoll: break fd ready for something unexpected")
    	}
    	return false
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:15:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. src/internal/godebugs/table.go

    	Opaque  bool   // setting does not export information to runtime/metrics using [internal/godebug.Setting.IncNonDefault]
    }
    
    // All is the table of known settings, sorted by Name.
    //
    // Note: After adding entries to this table, run 'go generate runtime/metrics'
    // to update the runtime/metrics doc comment.
    // (Otherwise the runtime/metrics test will fail.)
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:43 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. src/cmd/go/internal/telemetrystats/version_unix.go

    		telemetry.Inc(fmt.Sprintf("go/platform/host/%s/version:unknown-uname-error", runtime.GOOS))
    		return
    	}
    	major, minor, ok := majorMinor(convert(v.Release[:]))
    	if runtime.GOOS == "aix" {
    		major, minor, ok = convert(v.Version[:]), convert(v.Release[:]), true
    	}
    	if !ok {
    		telemetry.Inc(fmt.Sprintf("go/platform/host/%s/version:unknown-bad-format", runtime.GOOS))
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 15:44:55 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top