Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 60 for intKind (0.1 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stringintconv/doc.go

    // string representation of x as one might expect. Furthermore, if x denotes an
    // invalid code point, the conversion cannot be statically rejected.
    //
    // For conversions that intend on using the code point, consider replacing them
    // with string(rune(x)). Otherwise, strconv.Itoa and its equivalents return the
    // string representation of the value in the desired base.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 982 bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/core/v1/objectreference.go

    limitations under the License.
    */
    
    package v1
    
    import (
    	"k8s.io/apimachinery/pkg/runtime/schema"
    )
    
    // IsAnAPIObject allows clients to preemptively get a reference to an API object and pass it to places that
    // intend only to get a reference to that object. This simplifies the event recording interface.
    func (obj *ObjectReference) SetGroupVersionKind(gvk schema.GroupVersionKind) {
    	obj.APIVersion, obj.Kind = gvk.ToAPIVersionAndKind()
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 22 17:21:42 UTC 2017
    - 1.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/walk/complit.go

    // Initialization code is sometimes generated in passes,
    // first static then dynamic.
    type initKind uint8
    
    const (
    	initKindStatic initKind = iota + 1
    	initKindDynamic
    	initKindLocalCode
    )
    
    // fixedlit handles struct, array, and slice literals.
    // TODO: expand documentation.
    func fixedlit(ctxt initContext, kind initKind, n *ir.CompLitExpr, var_ ir.Node, init *ir.Nodes) {
    	isBlank := var_ == ir.BlankNode
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:03:54 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  4. src/net/file_wasip1_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build wasip1
    
    package net
    
    import (
    	"syscall"
    	"testing"
    )
    
    // The tests in this file intend to validate the ability for net.FileConn and
    // net.FileListener to handle both TCP and UDP sockets. Ideally we would test
    // the public interface by constructing an *os.File from a file descriptor
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 13 21:06:56 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/etcd3/testserver/test_server.go

    // The configuration is based on embed.NewConfig(), with the following adjustments:
    //   - sets UnsafeNoFsync = true to improve test performance (only reasonable in a test-only
    //     single-member server we never intend to restart or keep data from)
    //   - uses free ports for client and peer listeners
    //   - cleans up the data directory on test termination
    //   - silences server logs other than errors
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 06 11:40:40 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  6. test/nilptr.go

    // that Go is doing the correct explicit checks to catch
    // these nil pointer accesses, not just relying on the hardware.
    var dummy [256 << 20]byte // give us a big address space
    
    func main() {
    	// the test only tests what we intend to test
    	// if dummy starts in the first 256 MB of memory.
    	// otherwise there might not be anything mapped
    	// at the address that might be accidentally
    	// dereferenced below.
    	if uintptr(unsafe.Pointer(&dummy)) > 256<<20 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  7. test/nilptr_aix.go

    // The reason of the 1G offset is because AIX addresses start after 1G.
    var dummy [256 << 20]byte // give us a big address space
    
    func main() {
    	// the test only tests what we intend to test
    	// if dummy starts in the first 256 MB of memory.
    	// otherwise there might not be anything mapped
    	// at the address that might be accidentally
    	// dereferenced below.
    	if uintptr(unsafe.Pointer(&dummy)) < 1<<32 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/util/internal/JarUtil.java

                    // Technically it may be a valid MR JAR for Java >Integer.MAX_VALUE, but we are too far away from this.
                    // We assume that JAR author didn't intend it to be a versioned directory.
                }
            }
            // The entry is not in the versioned directory.
            return OptionalInt.empty();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 07 19:17:11 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  9. build/README.md

    The build system output all its products to a top level directory in the source repository named `_output`.
    These include the binary compiled packages (e.g. kubectl, kube-scheduler etc.) and archived Docker images.
    If you intend to run a component with a docker image you will need to import it from this directory with
    the appropriate command (e.g. `docker import _output/release-images/amd64/kube-scheduler.tar k8s.io/kube-scheduler:$(git describe)`).
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 10 07:20:57 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  10. pkg/kubelet/kubeletconfig/util/files/files.go

    	err := fs.MkdirAll(filepath.Dir(path), defaultPerm)
    	if err != nil {
    		return err
    	}
    
    	// create the file
    	file, err := fs.Create(path)
    	if err != nil {
    		return err
    	}
    	// close the file, since we don't intend to use it yet
    	return file.Close()
    }
    
    // WriteTmpFile creates a temporary file at `path`, writes `data` into it, and fsyncs the file
    // Expects the parent directory to exist.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 13 01:02:46 UTC 2023
    - 7.5K bytes
    - Viewed (0)
Back to top