Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 114 for recv3 (0.07 sec)

  1. src/os/writeto_linux_test.go

    		for _, size := range sizes {
    			t.Run(strconv.Itoa(size), func(t *testing.T) {
    				testSendFile(t, "tcp", int64(size))
    			})
    		}
    	})
    }
    
    func testSendFile(t *testing.T, proto string, size int64) {
    	dst, src, recv, data, hook := newSendFileTest(t, proto, size)
    
    	// Now call WriteTo (through io.Copy), which will hopefully call poll.SendFile
    	n, err := io.Copy(dst, src)
    	if err != nil {
    		t.Fatalf("io.Copy error: %v", err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/syntax/operator_string.go

    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[Def-1]
    	_ = x[Not-2]
    	_ = x[Recv-3]
    	_ = x[Tilde-4]
    	_ = x[OrOr-5]
    	_ = x[AndAnd-6]
    	_ = x[Eql-7]
    	_ = x[Neq-8]
    	_ = x[Lss-9]
    	_ = x[Leq-10]
    	_ = x[Gtr-11]
    	_ = x[Geq-12]
    	_ = x[Add-13]
    	_ = x[Sub-14]
    	_ = x[Or-15]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 07 05:19:41 UTC 2021
    - 1K bytes
    - Viewed (0)
  3. src/go/types/interface.go

    		return &emptyInterface
    	}
    
    	// set method receivers if necessary
    	typ := (*Checker)(nil).newInterface()
    	for _, m := range methods {
    		if sig := m.typ.(*Signature); sig.recv == nil {
    			sig.recv = NewVar(m.pos, m.pkg, "", typ)
    		}
    	}
    
    	// sort for API stability
    	sortMethods(methods)
    
    	typ.methods = methods
    	typ.embeddeds = embeddeds
    	typ.complete = true
    
    	return typ
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 17:24:42 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_remaining_ops.cc

      return (*mlir_module)->lookupSymbol<func::FuncOp>("host_func");
    }
    
    //===----------------------------------------------------------------------===//
    // XLA Send/Recv ops
    //===----------------------------------------------------------------------===//
    
    // For XLA Send/Recv ops the key corresponds to the resource instance.
    
    std::optional<std::string> _XlaRecvAtHostOp::GetResourceInstanceStr() {
      return getKey().str();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 14 20:05:58 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  5. ci/official/containers/linux_arm64/setup.sources.sh

    # Set up shared custom sources
    apt-get update
    apt-get install -y gnupg ca-certificates
    
    # Deadsnakes: https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa
    apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F23C5A6CF475977595C89F51BA6932366A755776
    
    # LLVM/Clang: https://apt.llvm.org/
    apt-key adv --fetch-keys https://apt.llvm.org/llvm-snapshot.gpg.key
    
    # Set up custom sources
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 18 14:52:45 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  6. src/go/parser/testdata/resolution/typeparams.go2

    // refer to receiver type parameters, as is the case for the 'P' result
    // parameter below.
    //
    // For now, we ensure that types are not incorrectly resolved when receiver
    // type parameters are in scope.
    func (r /* =@recv */ Receiver /* @Receiver */ [RP]) m(RP) RP {}
    
    func f /* =@f */[T1 /* =@T1 */ interface{~[]T2 /* @T2 */}, T2 /* =@T2 */ any](
      x /* =@x */ T1 /* @T1 */, T1 /* =@T1_duplicate */ y,  // Note that this is a bug:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 12:56:53 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/typecheck/mkbuiltin.go

    	}
    
    	var interner typeInterner
    
    	fmt.Fprintf(w, "var %sDecls = [...]struct { name string; tag int; typ int }{\n", name)
    	for _, decl := range f.Decls {
    		switch decl := decl.(type) {
    		case *ast.FuncDecl:
    			if decl.Recv != nil {
    				log.Fatal("methods unsupported")
    			}
    			if decl.Body != nil {
    				log.Fatal("unexpected function body")
    			}
    			fmt.Fprintf(w, "{%q, funcTag, %d},\n", decl.Name.Name, interner.intern(decl.Type))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:49 UTC 2023
    - 6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbPipeHandleInternal.java

    
        /**
         * @param buf
         * @param off
         * @param length
         * @param direct
         * @return received bytes
         * @throws CIFSException
         * @throws IOException
         */
        int recv ( byte[] buf, int off, int length ) throws IOException;
    
    
        /**
         * @param buf
         * @param off
         * @param length
         * @param direct
         * @throws IOException
         */
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/syntax/tokens.go

    	StringLit
    )
    
    type Operator uint
    
    //go:generate stringer -type Operator -linecomment tokens.go
    
    const (
    	_ Operator = iota
    
    	// Def is the : in :=
    	Def   // :
    	Not   // !
    	Recv  // <-
    	Tilde // ~
    
    	// precOrOr
    	OrOr // ||
    
    	// precAndAnd
    	AndAnd // &&
    
    	// precCmp
    	Eql // ==
    	Neq // !=
    	Lss // <
    	Leq // <=
    	Gtr // >
    	Geq // >=
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:38 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/testinggoroutine/util.go

    func isMethodNamed(f *types.Func, pkgPath string, names ...string) bool {
    	if f == nil {
    		return false
    	}
    	if f.Pkg() == nil || f.Pkg().Path() != pkgPath {
    		return false
    	}
    	if f.Type().(*types.Signature).Recv() == nil {
    		return false
    	}
    	for _, n := range names {
    		if f.Name() == n {
    			return true
    		}
    	}
    	return false
    }
    
    func funcIdent(fun ast.Expr) *ast.Ident {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top