Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 300 for setUse (0.11 sec)

  1. src/html/fuzz_test.go

    		u := UnescapeString(e)
    		if u != v {
    			t.Errorf("EscapeString(%q) = %q, UnescapeString(%q) = %q, want %q", v, e, e, u, v)
    		}
    
    		// As per the documentation, this isn't always equal to v, so it makes
    		// no sense to check for equality. It can still be interesting to find
    		// panics in it though.
    		EscapeString(UnescapeString(v))
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 10 20:35:20 UTC 2023
    - 636 bytes
    - Viewed (0)
  2. src/runtime/signal_windows.go

    	if ep.context.ip() == abi.FuncPCABI0(sigresume) {
    		// sigresume has already been set up by a previous exception.
    		return ret
    	}
    	prepareContextForSigResume(ep.context)
    	ep.context.set_sp(gp.m.g0.sched.sp)
    	ep.context.set_ip(abi.FuncPCABI0(sigresume))
    	return ret
    }
    
    // Called by sigtramp from Windows VEH handler.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 20:32:29 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  3. src/runtime/cgo/linux_syscall.c

    // Copyright 2019 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build linux
    
    #ifndef _GNU_SOURCE // setres[ug]id() API.
    #define _GNU_SOURCE
    #endif
    
    #include <grp.h>
    #include <sys/types.h>
    #include <unistd.h>
    #include <errno.h>
    #include "libcgo.h"
    
    /*
     * Assumed POSIX compliant libc system call wrappers. For linux, the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 24 22:38:02 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. src/runtime/os_openbsd.go

    }
    
    //go:nosplit
    func semacreate(mp *m) {
    }
    
    //go:nosplit
    func semasleep(ns int64) int32 {
    	gp := getg()
    
    	// Compute sleep deadline.
    	var tsp *timespec
    	if ns >= 0 {
    		var ts timespec
    		ts.setNsec(ns + nanotime())
    		tsp = &ts
    	}
    
    	for {
    		v := atomic.Load(&gp.m.waitsemacount)
    		if v > 0 {
    			if atomic.Cas(&gp.m.waitsemacount, v, v-1) {
    				return 0 // semaphore acquired
    			}
    			continue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/types/patch.go

    limitations under the License.
    */
    
    package types
    
    // Similarly to above, these are constants to support HTTP PATCH utilized by
    // both the client and server that didn't make sense for a whole package to be
    // dedicated to.
    type PatchType string
    
    const (
    	JSONPatchType           PatchType = "application/json-patch+json"
    	MergePatchType          PatchType = "application/merge-patch+json"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 04 21:51:48 UTC 2019
    - 1K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/execution/BuildResumptionAnalyzer.java

     * under the License.
     */
    package org.apache.maven.execution;
    
    import java.util.Optional;
    
    /**
     * Instances of this class are responsible for determining whether it makes sense to "resume" a build (i.e., using
     * the {@code --resume} flag.
     */
    public interface BuildResumptionAnalyzer {
        /**
         * Construct an instance of {@link BuildResumptionData} based on the outcome of the current Maven build.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Nov 22 13:26:01 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  7. src/runtime/defs_openbsd_arm64.go

    	ss_sp     uintptr
    	ss_size   uintptr
    	ss_flags  int32
    	pad_cgo_0 [4]byte
    }
    
    type timespec struct {
    	tv_sec  int64
    	tv_nsec int64
    }
    
    //go:nosplit
    func (ts *timespec) setNsec(ns int64) {
    	ts.tv_sec = ns / 1e9
    	ts.tv_nsec = ns % 1e9
    }
    
    type timeval struct {
    	tv_sec  int64
    	tv_usec int64
    }
    
    func (tv *timeval) set_usec(x int32) {
    	tv.tv_usec = int64(x)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 23 17:31:23 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  8. src/runtime/defs_openbsd_mips64.go

    	ss_sp     uintptr
    	ss_size   uintptr
    	ss_flags  int32
    	pad_cgo_0 [4]byte
    }
    
    type timespec struct {
    	tv_sec  int64
    	tv_nsec int64
    }
    
    //go:nosplit
    func (ts *timespec) setNsec(ns int64) {
    	ts.tv_sec = ns / 1e9
    	ts.tv_nsec = ns % 1e9
    }
    
    type timeval struct {
    	tv_sec  int64
    	tv_usec int64
    }
    
    func (tv *timeval) set_usec(x int32) {
    	tv.tv_usec = int64(x)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 23 17:31:23 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. src/runtime/defs1_netbsd_arm.go

    	ss_sp    uintptr
    	ss_size  uintptr
    	ss_flags int32
    }
    
    type timespec struct {
    	tv_sec  int64
    	tv_nsec int32
    	_       [4]byte // EABI
    }
    
    //go:nosplit
    func (ts *timespec) setNsec(ns int64) {
    	ts.tv_sec = int64(timediv(ns, 1e9, &ts.tv_nsec))
    }
    
    type timeval struct {
    	tv_sec  int64
    	tv_usec int32
    	_       [4]byte // EABI
    }
    
    func (tv *timeval) set_usec(x int32) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_get_nopkgs.txt

    ! stderr 'matched no packages'
    stderr '^go: example\.net/emptysubdir/subdir/\.\.\.: module example\.net/emptysubdir/subdir: reading http://.*: 404 Not Found\n\tserver response: 404 page not found\n\z'
    
    # It doesn't make sense to 'go get' a path in the standard library,
    # since the standard library necessarily can't have unresolved imports.
    #
    # TODO(#30241): Maybe that won't always be the case?
    #
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 1.3K bytes
    - Viewed (0)
Back to top