Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 629 for passive (0.3 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/etcd3/healthcheck.go

    	// Note this has to be public so the json library can modify it.
    	Health string `json:"health"`
    }
    
    // EtcdHealthCheck decodes data returned from etcd /healthz handler.
    // Deprecated: Validate health by passing storagebackend.Config directly to storagefactory.CreateProber.
    func EtcdHealthCheck(data []byte) error {
    	obj := etcdHealth{}
    	if err := json.Unmarshal(data, &obj); err != nil {
    		return err
    	}
    	if obj.Health != "true" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 13 08:10:29 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. src/internal/types/testdata/examples/inference2.go

    }
    
    func _() (_, _ func(int)) { return f1, f1 }
    func _() (_, _ func(int)) { return f1, f2 /* ERROR "cannot infer P" */ }
    
    // Argument passing
    func g1(func(int))                           {}
    func g2(func(int, int))                      {}
    func g3(func(int) string)                    {}
    func g4[P any](func(P) string)               {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 12 18:44:59 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/native-binaries/cunit/groovy/build.gradle

    // tag::complete-example[]
    // tag::terse-example[]
    plugins {
        id 'c'
        id 'cunit-test-suite'
    }
    
    model {
        flavors {
            passing
            failing
        }
        platforms {
            x86 {
                if (operatingSystem.macOsX) {
                    architecture "x64"
                } else {
                    architecture "x86"
                }
            }
        }
    // end::terse-example[]
        repositories {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/issue27340/a.go

    // In separate directory to isolate #pragma GCC diagnostic.
    
    package issue27340
    
    // We use the #pragma to avoid a compiler warning about incompatible
    // pointer types, because we generate code passing a struct ptr rather
    // than using the typedef. This warning is expected and does not break
    // a normal build.
    // We can only disable -Wincompatible-pointer-types starting with GCC 5.
    
    // #if __GNU_MAJOR__ >= 5
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  5. src/os/signal/example_test.go

    	// Set up channel on which to send signal notifications.
    	// We must use a buffered channel or risk missing the signal
    	// if we're not ready to receive when the signal is sent.
    	c := make(chan os.Signal, 1)
    
    	// Passing no signals to Notify means that
    	// all signals will be sent to the channel.
    	signal.Notify(c)
    
    	// Block until any signal is received.
    	s := <-c
    	fmt.Println("Got signal:", s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 01 18:38:23 UTC 2017
    - 1001 bytes
    - Viewed (0)
  6. src/internal/syscall/unix/fallocate_freebsd_arm.go

    	// register number) is rounded up to the next even register number.
    	// See https://github.com/ARM-software/abi-aa/blob/2bcab1e3b22d55170c563c3c7940134089176746/aapcs32/aapcs32.rst#parameter-passing
    	r1, _, _ := syscall.Syscall6(posixFallocateTrap, uintptr(fd), 0, uintptr(off), uintptr(off>>32), uintptr(size), uintptr(size>>32))
    	if r1 != 0 {
    		return syscall.Errno(r1)
    	}
    	return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 05 14:17:36 UTC 2023
    - 1013 bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testsanitizers/testdata/msan7.go

    // Copyright 2020 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.
    
    package main
    
    // Test passing C struct to exported Go function.
    
    /*
    #include <stdint.h>
    #include <stdlib.h>
    
    // T is a C struct with alignment padding after b.
    // The padding bytes are not considered initialized by MSAN.
    // It is big enough to be passed on stack in C ABI (and least
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 834 bytes
    - Viewed (0)
  8. test/abi/double_nested_struct.go

    type stringPair struct {
    	a, b string
    }
    
    type stringPairPair struct {
    	x, y stringPair
    }
    
    // The goal of this test is to be sure that the call arg/result expander works correctly
    // for a corner case of passing a 2-nested struct that fits in registers to/from calls.
    
    //go:registerparams
    //go:noinline
    func H(spp stringPairPair) string {
    	return spp.x.a + " " + spp.x.b + " " + spp.y.a + " " + spp.y.b
    }
    
    //go:registerparams
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  9. docs/pt/docs/advanced/index.md

    Na próxima seção você verá outras opções, configurações, e recursos adicionais.
    
    !!! tip "Dica"
        As próximas seções **não são necessáriamente "avançadas"**
    
        E é possível que para seu caso de uso, a solução esteja em uma delas.
    
    ## Leia o Tutorial primeiro
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Mar 31 23:52:53 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  10. src/runtime/security_test.go

    	// GOTRACEBACK envvar to stdout, and prints "hello" to stderr. We then chown
    	// the program to "nobody" and set u+s on it. We execute the program, only
    	// passing it two files, for stdin and stdout, and passing
    	// GOTRACEBACK=system in the env.
    	//
    	// We expect that the program will trigger the SUID protections, resetting
    	// the value of GOTRACEBACK, and opening the missing stderr descriptor, such
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 13 18:10:14 UTC 2023
    - 4.1K bytes
    - Viewed (0)
Back to top