Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for DEFER (0.09 sec)

  1. src/net/http/h2_bundle.go

    		http2testHookOnPanicMu.Lock()
    		defer http2testHookOnPanicMu.Unlock()
    	}
    	if http2testHookOnPanic != nil {
    		if e := recover(); e != nil {
    			if http2testHookOnPanic(sc, e) {
    				panic(e)
    			}
    		}
    	}
    }
    
    func (sc *http2serverConn) serve() {
    	sc.serveG.check()
    	defer sc.notePanic()
    	defer sc.conn.Close()
    	defer sc.closeAllStreamsOnConnClose()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
  2. pkg/registry/core/service/storage/storage_test.go

    	defer server.Terminate(t)
    	defer storage.Store.DestroyFunc()
    	test := genericregistrytest.New(t, storage.Store).AllowCreateOnUpdate().ReturnDeletedObject()
    	test.TestDelete(validService())
    }
    
    func TestGenericGet(t *testing.T) {
    	storage, _, server := newStorage(t, []api.IPFamily{api.IPv4Protocol})
    	defer server.Terminate(t)
    	defer storage.Store.DestroyFunc()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 440.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssagen/ssa.go

    // call, and records info about the defer, so we can generate proper code on the
    // exit paths. n is the sub-node of the defer node that is the actual function
    // call. We will also record funcdata information on where the function is stored
    // (as well as the deferBits variable), and this will enable us to run the proper
    // defer calls during panics.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  4. doc/go_spec.html

    </p>
    
    <pre>
    lock(l)
    defer unlock(l)  // unlocking happens before surrounding function returns
    
    // prints 3 2 1 0 before surrounding function returns
    for i := 0; i &lt;= 3; i++ {
    	defer fmt.Print(i)
    }
    
    // f returns 42
    func f() (result int) {
    	defer func() {
    		// result is accessed after it was set to 6 by the return statement
    		result *= 7
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (1)
  5. pkg/proxy/iptables/proxier_test.go

    	}
    }
    
    func makeServiceMap(proxier *Proxier, allServices ...*v1.Service) {
    	for i := range allServices {
    		proxier.OnServiceAdd(allServices[i])
    	}
    
    	proxier.mu.Lock()
    	defer proxier.mu.Unlock()
    	proxier.servicesSynced = true
    }
    
    type endpointExpectation struct {
    	endpoint string
    	isLocal  bool
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 249.9K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.20.md

    - Kubeadm: remove the deprecated "kubeadm alpha kubelet config enable-dynamic" command. To continue using the feature please defer to the guide for "Dynamic Kubelet Configuration" at k8s.io. This change also removes...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 19 21:05:45 UTC 2022
    - 409K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.16.md

    - Adds `\livez` for liveness health checking for kube-apiserver. Using the parameter `--maximum-startup-sequence-duration` will allow the liveness endpoint to defer boot-sequence failures for the specified duration period. ([#81969](https://github.com/kubernetes/kubernetes/pull/81969), [@logicalhan](https://github.com/logicalhan))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 11 10:00:57 UTC 2021
    - 345.2K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.24.md

    - Fixed OpenAPI serialization of the x-kubernetes-validations field ([#107970](https://github.com/kubernetes/kubernetes/pull/107970), [@liggitt](https://github.com/liggitt))
    - Fixed failed flushing logs in defer function when kubelet cmd exit 1. ([#104774](https://github.com/kubernetes/kubernetes/pull/104774), [@kerthcet](https://github.com/kerthcet))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 00:02:43 UTC 2023
    - 473.4K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.7.md

    * Protobuf serialization does not distinguish between `[]` and `null`.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 05 13:44:43 UTC 2022
    - 308.7K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.10.md

        * inside of which a write lock was intended to prevent races against
        * VM creation, but the usage of the sync.RWMutex type is incorrect,
        * plus is placed in a defer call so the locking is effectively
        * nonexistent.  This patch adds an anonymous function call inside
        * the loop to correctly handle acquiring the write lock with deferred
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 05 13:44:43 UTC 2022
    - 341.8K bytes
    - Viewed (0)
Back to top