Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 788 for fSlice (0.16 sec)

  1. src/internal/poll/splice_linux.go

    // splice wraps the splice system call. Since the current implementation
    // only uses splice on sockets and pipes, the offset arguments are unused.
    // splice returns int instead of int64, because callers never ask it to
    // move more data in a single call than can fit in an int32.
    func splice(out int, in int, max int, flags int) (int, error) {
    	n, err := syscall.Splice(in, nil, out, nil, max, flags)
    	return int(n), err
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:49:26 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/materialize_mlir_passthrough_op.cc

        for (const auto &arg_mapping :
             llvm::zip(block.getArguments(), op->getOperands())) {
          std::get<0>(arg_mapping).replaceAllUsesWith(std::get<1>(arg_mapping));
        }
        op->getBlock()->getOperations().splice(op->getIterator(),
                                               block.getOperations(), block.begin(),
                                               std::prev(block.end()));
        Operation &return_op = block.front();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/universe.go

    	_Add:        {"Add", 2, false, expression},
    	_Alignof:    {"Alignof", 1, false, expression},
    	_Offsetof:   {"Offsetof", 1, false, expression},
    	_Sizeof:     {"Sizeof", 1, false, expression},
    	_Slice:      {"Slice", 2, false, expression},
    	_SliceData:  {"SliceData", 1, false, expression},
    	_String:     {"String", 2, false, expression},
    	_StringData: {"StringData", 1, false, expression},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. src/go/types/universe.go

    	_Add:        {"Add", 2, false, expression},
    	_Alignof:    {"Alignof", 1, false, expression},
    	_Offsetof:   {"Offsetof", 1, false, expression},
    	_Sizeof:     {"Sizeof", 1, false, expression},
    	_Slice:      {"Slice", 2, false, expression},
    	_SliceData:  {"SliceData", 1, false, expression},
    	_String:     {"String", 2, false, expression},
    	_StringData: {"StringData", 1, false, expression},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/builtins.go

    		}
    
    	case _SliceData:
    		// unsafe.SliceData(slice []T) *T
    		check.verifyVersionf(call.Fun, go1_20, "unsafe.SliceData")
    
    		slice, _ := coreType(x.typ).(*Slice)
    		if slice == nil {
    			check.errorf(x, InvalidUnsafeSliceData, invalidArg+"%s is not a slice", x)
    			return
    		}
    
    		x.mode = value
    		x.typ = NewPointer(slice.elem)
    		if check.recordTypes() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  6. src/net/splice_linux_test.go

    	clientDown, serverDown := spawnTestSocketPair(t, "tcp")
    	defer clientDown.Close()
    	defer serverDown.Close()
    	// If splice called poll.Splice here, we'd get err == syscall.EINVAL
    	// and handled == false.  If poll.Splice gets an EINVAL on the first
    	// try, it assumes the kernel it's running on doesn't support splice
    	// for unix sockets and returns handled == false. This works for our
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:49:26 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/NamedDomainObjectContainerExtensionsTest.kt

                on { register("doc") } doReturn doc
                on { getByName(eq("alice"), any<Action<DomainObject>>()) } doReturn alice
                on { create(eq("bob"), any<Action<DomainObject>>()) } doReturn bob
            }
    
            // regular syntax
            container.getByName("alice") {
                foo = "alice-foo"
            }
            container.create("bob") {
                foo = "bob-foo"
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 18 22:58:28 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildOptionsIntegrationTest.groovy

            configurationCache.assertStateStored()
            problems.assertResultHasProblems(result) {
                withNoInputs()
            }
    
            when:
            printString "alice"
    
            then:
            output.count("The string is alice") == 1
            configurationCache.assertStateLoaded()
    
            when:
            printString "bob"
    
            then:
            output.count("The string is bob") == 1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 28K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook_v1beta1_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	aliceAttr := authorizer.AttributesRecord{User: &user.DefaultInfo{Name: "alice"}}
    	bobAttr := authorizer.AttributesRecord{User: &user.DefaultInfo{Name: "bob"}}
    	aliceRidiculousAttr := authorizer.AttributesRecord{
    		User:            &user.DefaultInfo{Name: "alice"},
    		ResourceRequest: true,
    		Verb:            strings.Repeat("v", 2000),
    		APIGroup:        strings.Repeat("g", 2000),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 22:41:27 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/critical.go

    				// splitting occasionally leads to a phi having
    				// a single argument (occurs with -N)
    				// Don't increment i in this case because we moved
    				// an unprocessed predecessor down into slot i.
    			} else {
    				// splice it in
    				p.Succs[pi] = Edge{d, 0}
    				b.Preds[i] = Edge{d, 0}
    				d.Preds = append(d.Preds, Edge{p, pi})
    				d.Succs = append(d.Succs, Edge{b, i})
    				i++
    			}
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 16 21:40:11 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top