Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 92 for closeFn (0.12 sec)

  1. src/syscall/syscall_windows.go

    	var w uint32
    	switch whence {
    	case 0:
    		w = FILE_BEGIN
    	case 1:
    		w = FILE_CURRENT
    	case 2:
    		w = FILE_END
    	}
    	err = setFilePointerEx(fd, offset, &newoffset, w)
    	return
    }
    
    func Close(fd Handle) (err error) {
    	return CloseHandle(fd)
    }
    
    var (
    	Stdin  = getStdHandle(STD_INPUT_HANDLE)
    	Stdout = getStdHandle(STD_OUTPUT_HANDLE)
    	Stderr = getStdHandle(STD_ERROR_HANDLE)
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 52.7K bytes
    - Viewed (0)
  2. src/go/parser/parser.go

    	}
    
    	// Type parameters are the only parameter list closed by ']'.
    	tparams := closing == token.RBRACK
    
    	pos0 := p.pos
    	if name0 != nil {
    		pos0 = name0.Pos()
    	} else if typ0 != nil {
    		pos0 = typ0.Pos()
    	}
    
    	// Note: The code below matches the corresponding code in the syntax
    	//       parser closely. Changes must be reflected in either parser.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 20:07:50 UTC 2023
    - 72.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/mark_for_compilation_pass.cc

            resource_var_operation_node_ids_.push_back(
                *resource_var_operation_node_id);
          }
        }
    
        // Merges `other` into this cluster, and clears `other`.  This method is
        // closely tied with the implementation of `MarkForCompilationPassImpl`.
        void Merge(Cluster* other);
    
        // If this is a trivial cluster containing only one node then return the ID
        // of that node.  May not be called otherwise.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  4. cmd/erasure-healing_test.go

    			if err != nil {
    				t.Fatal(err)
    			}
    
    			firstGr, err := obj.GetObjectNInfo(ctx, bucket, object, nil, nil, ObjectOptions{NoLock: true})
    			if err != nil {
    				t.Fatal(err)
    			}
    			defer firstGr.Close()
    
    			firstHealedH := sha256.New()
    			_, err = io.Copy(firstHealedH, firstGr)
    			if err != nil {
    				t.Fatal(err)
    			}
    			firstHealedDataSha256 := firstHealedH.Sum(nil)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/windows/setupapi_windows.go

    //sys	SetupDiDestroyDeviceInfoList(deviceInfoSet DevInfo) (err error) = setupapi.SetupDiDestroyDeviceInfoList
    
    // Close method deletes a device information set and frees all associated memory.
    func (deviceInfoSet DevInfo) Close() error {
    	return SetupDiDestroyDeviceInfoList(deviceInfoSet)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 00:11:50 UTC 2022
    - 67.2K bytes
    - Viewed (0)
  6. cmd/peer-rest-server.go

    		return grid.NewRemoteErr(err)
    	}
    	var buf bytes.Buffer
    	enc := json.NewEncoder(&buf)
    	for {
    		select {
    		case entry, ok := <-ch:
    			if !ok {
    				return grid.NewRemoteErrString("console log channel closed")
    			}
    			if !entry.SendLog("", madmin.LogMask(mask)) {
    				continue
    			}
    			buf.Reset()
    			if err := enc.Encode(entry); err != nil {
    				return grid.NewRemoteErr(err)
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/listener.go

    	}
    	accessLogBuilder.setListenerAccessLog(opts.push, opts.proxy, res, istionetworking.ListenerClassGateway)
    
    	return res
    }
    
    // isMatchAll returns true if this chain will match everything
    // This closely matches toFilterChainMatch
    func (chain *filterChainOpts) isMatchAll() bool {
    	return (len(chain.sniHosts) == 0 || slices.Contains(chain.sniHosts, "*")) &&
    		len(chain.applicationProtocols) == 0 &&
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

        // because abs(sin(pi * x)) = abs(sin(pi * abs(x))), it's good enough for
        // our purposes to use abs(frac(x)) = abs(x) - floor(abs(x)).
        //
        // Furthermore, pi * abs(frac(x)) loses precision when abs(frac(x)) is close
        // to 1.  To remedy this, we can use the fact that sin(pi * x) in the domain
        // [0, 1] is symmetric across the line Y=0.5.
        Value abs_input = rewriter.create<AbsOp>(loc, input);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  9. src/syscall/zsyscall_darwin_arm64.go

    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Close(fd int) (err error) {
    	_, _, e1 := syscall(abi.FuncPCABI0(libc_close_trampoline), uintptr(fd), 0, 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_close_trampoline()
    
    //go:cgo_import_dynamic libc_close close "/usr/lib/libSystem.B.dylib"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 27 21:34:30 UTC 2023
    - 51.7K bytes
    - Viewed (0)
  10. pkg/controller/daemon/daemon_controller.go

    	"k8s.io/kubernetes/pkg/controller"
    	"k8s.io/kubernetes/pkg/controller/daemon/util"
    )
    
    const (
    	// BurstReplicas is a rate limiter for booting pods on a lot of pods.
    	// The value of 250 is chosen b/c values that are too high can cause registry DoS issues.
    	BurstReplicas = 250
    
    	// StatusUpdateRetries limits the number of retries if sending a status update to API server fails.
    	StatusUpdateRetries = 1
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.3K bytes
    - Viewed (0)
Back to top