Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 947 for asSlice (0.28 sec)

  1. src/runtime/memmove_linux_amd64_test.go

    // license that can be found in the LICENSE file.
    
    package runtime_test
    
    import (
    	"os"
    	"syscall"
    	"testing"
    	"unsafe"
    )
    
    // TestMemmoveOverflow maps 3GB of memory and calls memmove on
    // the corresponding slice.
    func TestMemmoveOverflow(t *testing.T) {
    	t.Parallel()
    	// Create a temporary file.
    	tmp, err := os.CreateTemp("", "go-memmovetest")
    	if err != nil {
    		t.Fatal(err)
    	}
    	_, err = tmp.Write(make([]byte, 65536))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 01:48:30 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  2. pkg/controller/endpointslice/config/types.go

    	// operations that will be done concurrently. Larger number = faster
    	// endpoint slice updating, but more CPU (and network) load.
    	ConcurrentServiceEndpointSyncs int32
    
    	// maxEndpointsPerSlice is the maximum number of endpoints that will be
    	// added to an EndpointSlice. More endpoints per slice will result in fewer
    	// and larger endpoint slices, but larger resources.
    	MaxEndpointsPerSlice int32
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 03 07:16:42 UTC 2020
    - 1.7K bytes
    - Viewed (0)
  3. docs_src/security/tutorial005_an_py310.py

            "email": "******@****.***",
            "hashed_password": "$2b$12$EixZaYVK1fsbw1ZfbX3OXePaWxn96p36WQoeG6Lruj3vjPGga31lW",
            "disabled": False,
        },
        "alice": {
            "username": "alice",
            "full_name": "Alice Chains",
            "email": "******@****.***",
            "hashed_password": "$2b$12$gSvqqUPvlXP2tfVFaWK1Be7DlH.PKZbv5H8KnzzVgXXbVxpva.pFm",
            "disabled": True,
        },
    }
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. docs_src/security/tutorial005_an_py39.py

            "email": "******@****.***",
            "hashed_password": "$2b$12$EixZaYVK1fsbw1ZfbX3OXePaWxn96p36WQoeG6Lruj3vjPGga31lW",
            "disabled": False,
        },
        "alice": {
            "username": "alice",
            "full_name": "Alice Chains",
            "email": "******@****.***",
            "hashed_password": "$2b$12$gSvqqUPvlXP2tfVFaWK1Be7DlH.PKZbv5H8KnzzVgXXbVxpva.pFm",
            "disabled": True,
        },
    }
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/conversion/queryparams/convert_test.go

    func (obj *bar) GetObjectKind() schema.ObjectKind { return schema.EmptyObjectKind }
    
    type foo struct {
    	Str       string            `json:"str"`
    	Integer   int               `json:"integer,omitempty"`
    	Slice     []string          `json:"slice,omitempty"`
    	Boolean   bool              `json:"boolean,omitempty"`
    	NamedStr  namedString       `json:"namedStr,omitempty"`
    	NamedBool namedBool         `json:"namedBool,omitempty"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 03 07:01:02 UTC 2018
    - 6.2K bytes
    - Viewed (0)
  6. src/syscall/syscall_linux_arm64.go

    //sys	Setfsgid(gid int) (err error)
    //sys	Setfsuid(uid int) (err error)
    //sysnb	setrlimit1(resource int, rlim *Rlimit) (err error) = SYS_SETRLIMIT
    //sys	Shutdown(fd int, how int) (err error)
    //sys	Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error)
    
    func Stat(path string, stat *Stat_t) (err error) {
    	return fstatat(_AT_FDCWD, path, stat, 0)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/tf_graph_optimization_pass.cc

      // We cannot replace the module in a ModulePass. So we simply copy the
      // operation list from module_out to module_in.
      auto& module_in_ops = module_in.getBody()->getOperations();
      module_in_ops.clear();
      module_in_ops.splice(module_in_ops.end(),
                           module_out->getBody()->getOperations());
    }
    
    // Returns a vector of passes from their names. If a pass is not found, then the
    // corresponding return entry is null.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. src/cmd/trace/gstate.go

    		panic("non-executing goroutine stopped")
    	}
    	ctx.Slice(traceviewer.SliceEvent{
    		Name:     gs.name(),
    		Ts:       ctx.elapsed(gs.startRunningTime),
    		Dur:      ts.Sub(gs.startRunningTime),
    		Resource: uint64(gs.executing),
    		Stack:    stk,
    	})
    
    	// Flush completed ranges.
    	for _, cr := range gs.completedRanges {
    		ctx.Slice(traceviewer.SliceEvent{
    			Name:     cr.name,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  9. pkg/controller/endpointslicemirroring/reconciler_helpers_test.go

    			t.Errorf("Expected Slice to have %s address type, got %s", expectedSlice.AddressType, actual[i].AddressType)
    		}
    
    		if expectedSlice.Name != actual[i].Name {
    			t.Errorf("Expected Slice to have %s name, got %s", expectedSlice.Name, actual[i].Name)
    		}
    
    		if len(expectedSlice.Endpoints) != len(actual[i].Endpoints) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 06 23:58:47 UTC 2021
    - 7K bytes
    - Viewed (0)
  10. tests/joins_test.go

    	}
    
    	CheckUser(t, user2, user)
    }
    
    func TestJoinsForSlice(t *testing.T) {
    	users := []User{
    		*GetUser("slice-joins-1", Config{Company: true, Manager: true, Account: true}),
    		*GetUser("slice-joins-2", Config{Company: true, Manager: true, Account: true}),
    		*GetUser("slice-joins-3", Config{Company: true, Manager: true, Account: true}),
    	}
    
    	DB.Create(&users)
    
    	var userIDs []uint
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:52:33 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top