Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 2,265 for Calling (0.1 sec)

  1. android/guava/src/com/google/common/graph/GraphConstants.java

              + "so it cannot be reused to connect the following nodes: %s.";
      static final String MULTIPLE_EDGES_CONNECTING =
          "Cannot call edgeConnecting() when parallel edges exist between %s and %s. Consider calling "
              + "edgesConnecting() instead.";
      static final String PARALLEL_EDGES_NOT_ALLOWED =
          "Nodes %s and %s are already connected by a different edge. To construct a graph "
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. src/syscall/js/func.go

    // get executed on the same goroutine.
    //
    // As a consequence, if one wrapped function blocks, JavaScript's event loop
    // is blocked until that function returns. Hence, calling any async JavaScript
    // API, which requires the event loop, like fetch (http.Client), will cause an
    // immediate deadlock. Therefore a blocking function should explicitly start a
    // new goroutine.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 17:47:47 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/callback_c_gccgo.c

    // license that can be found in the LICENSE file.
    
    //go:build gccgo
    
    #include "_cgo_export.h"
    #include <stdint.h>
    #include <stdio.h>
    #include <stdlib.h>
    
    /* Test calling panic from C.  This is what SWIG does.  */
    
    extern void _cgo_panic(const char *);
    extern void *_cgo_allocate(size_t);
    
    void
    callPanic(void)
    {
    	_cgo_panic("panic from C");
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 452 bytes
    - Viewed (0)
  4. src/runtime/sys_openbsd_riscv64.s

    // contains trampolines that convert from Go to C calling convention.
    //
    
    #include "go_asm.h"
    #include "go_tls.h"
    #include "textflag.h"
    
    #define CLOCK_REALTIME	$0
    #define	CLOCK_MONOTONIC	$3
    
    // mstart_stub is the first function executed on a new thread started by pthread_create.
    // It just does some low-level setup and then calls mstart.
    // Note: called with the C calling convention.
    TEXT runtime·mstart_stub(SB),NOSPLIT,$200
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 02:55:17 UTC 2023
    - 16.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/RangeSet.java

      @CheckForNull
      Range<C> rangeContaining(C value);
    
      /**
       * Returns {@code true} if there exists a non-empty range enclosed by both a member range in this
       * range set and the specified range. This is equivalent to calling {@code
       * subRangeSet(otherRange)} and testing whether the resulting range set is non-empty.
       *
       * @since 20.0
       */
      boolean intersects(Range<C> otherRange);
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/server/egressselector/config_test.go

    				t.Errorf("calling ReadEgressSelectorConfiguration expected error: %s, did not get it", *tc.expectedError)
    			}
    			if err != nil && tc.expectedError == nil {
    				t.Errorf("unexpected error calling ReadEgressSelectorConfiguration got: %#v", err)
    			}
    			if err != nil && tc.expectedError != nil && err.Error() != *tc.expectedError {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 05 02:24:38 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  7. test/fixedbugs/bug368.go

    // Copyright 2011 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
    
    // 5g bug used to set up the 0 for -f() before calling f,
    // and the call to f smashed the register.
    
    func f(n int) int {
    	s := 0
    	for i := 0; i < n; i++ {
    		s += i>>1
    	}
    	return s
    }
    
    func main() {
    	x := -f(100)
    	if x != -2450 {
    		println(x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 447 bytes
    - Viewed (0)
  8. guava/src/com/google/common/graph/GraphConstants.java

              + "so it cannot be reused to connect the following nodes: %s.";
      static final String MULTIPLE_EDGES_CONNECTING =
          "Cannot call edgeConnecting() when parallel edges exist between %s and %s. Consider calling "
              + "edgesConnecting() instead.";
      static final String PARALLEL_EDGES_NOT_ALLOWED =
          "Nodes %s and %s are already connected by a different edge. To construct a graph "
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. pkg/registry/core/service/portallocator/operation_test.go

    // TestDryRunAllocate tests the Allocate function in dry run mode
    func TestDryRunAllocate(t *testing.T) {
    	pr, err := net.ParsePortRange("10000-10200")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// Allocate some ports before calling
    	previouslyAllocated := []int{10000, 10010, 10020}
    	r, err := NewInMemory(*pr)
    	if err != nil {
    		t.Fatal(err)
    	}
    	for _, port := range previouslyAllocated {
    		_ = r.Allocate(port)
    	}
    	freeAtStart := r.Free()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Aug 15 23:44:12 UTC 2021
    - 3.1K bytes
    - Viewed (0)
  10. src/runtime/sys_openbsd_amd64.s

    	MOVQ	DI, AX	// sig
    	MOVQ	SI, BX	// info
    	MOVQ	DX, CX	// ctx
    	CALL	·sigtrampgo<ABIInternal>(SB)
    
    	ADJSP	$-24
    
    	POP_REGS_HOST_TO_ABI0()
    	RET
    
    //
    // These trampolines help convert from Go calling convention to C calling convention.
    // They should be called with asmcgocall.
    // A pointer to the arguments is passed in DI.
    // A single int32 result is returned in AX.
    // (For more results, make an args/results structure.)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 15.5K bytes
    - Viewed (0)
Back to top