Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 775 for fsync (0.16 sec)

  1. cmd/iam-object-store.go

    import (
    	"bytes"
    	"context"
    	"errors"
    	"fmt"
    	"path"
    	"strings"
    	"sync"
    	"sync/atomic"
    	"time"
    	"unicode/utf8"
    
    	jsoniter "github.com/json-iterator/go"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/config"
    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/minio/internal/kms"
    	"github.com/puzpuzpuz/xsync/v3"
    )
    
    // IAMObjectStore implements IAMStorageAPI
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api.h

      TFE_DEVICE_PLACEMENT_SILENT_FOR_INT32 = 3,
    } TFE_ContextDevicePlacementPolicy;
    // LINT.ThenChange(//tensorflow/c/eager/immediate_execution_context.h)
    
    // Sets the default execution mode (sync/async). Note that this can be
    // overridden per thread using TFE_ContextSetExecutorForThread.
    TF_CAPI_EXPORT extern void TFE_ContextOptionsSetAsync(TFE_ContextOptions*,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  3. internal/s3select/json/preader.go

    	err         error           // global error state, only touched by Reader.Read
    	bufferPool  sync.Pool       // pool of []byte objects for input
    	kvDstPool   sync.Pool       // pool of []jstream.KV used for output
    	close       chan struct{}   // used for shutting down the splitter before end of stream
    	readerWg    sync.WaitGroup  // used to keep track of async reader.
    }
    
    // queueItem is an item in the queue.
    type queueItem struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 05 04:57:35 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  4. internal/grid/muxserver.go

    		cancel:    cancel,
    		parent:    c,
    		inbound:   nil,
    		outBlock:  make(chan struct{}, outboundCap),
    		LastPing:  time.Now().Unix(),
    		BaseFlags: c.baseFlags,
    	}
    	// Acknowledge Mux created.
    	// Send async.
    	var wg sync.WaitGroup
    	wg.Add(1)
    	go func() {
    		defer wg.Done()
    		var ack message
    		ack.Op = OpAckMux
    		ack.Flags = m.BaseFlags
    		ack.MuxID = m.ID
    		m.send(ack)
    		if debugPrint {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  5. docs/bucket/replication/DESIGN.md

    ...
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 14.7K bytes
    - Viewed (0)
  6. cmd/site-replication.go

    		}
    	}
    
    	if opts.Users || opts.Entity == madmin.SRUserEntity {
    		// Replicate policy mappings on local to all peers.
    		userPolicyMap := xsync.NewMapOf[string, MappedPolicy]()
    		stsPolicyMap := xsync.NewMapOf[string, MappedPolicy]()
    		svcPolicyMap := xsync.NewMapOf[string, MappedPolicy]()
    		if opts.Entity == madmin.SRUserEntity {
    			if mp, ok := globalIAMSys.store.GetMappedPolicy(opts.EntityValue, false); ok {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  7. cni/pkg/nodeagent/server_test.go

    				constants.AmbientRedirection: constants.AmbientRedirectionEnabled,
    			},
    		},
    	}
    }
    
    type fakeServer struct {
    	mock.Mock
    	testWG *WaitGroup // optional waitgroup, if code under test makes a number of async calls to fakeServer
    }
    
    func (f *fakeServer) AddPodToMesh(ctx context.Context, pod *corev1.Pod, podIPs []netip.Addr, netNs string) error {
    	if f.testWG != nil {
    		defer f.testWG.Done()
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  8. docs/bucket/replication/README.md

    ### Sync/Async Replication
    
    By default, replication is completed asynchronously. If synchronous replication is desired, set the --sync flag while adding a
    remote replication target using the `mc admin bucket remote add` command. For mc releases on or after `RELEASE.2022-12-24T15-21-38Z`, the 
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 24 23:46:33 GMT 2023
    - 18.2K bytes
    - Viewed (0)
  9. tests/test_ws_router.py

    async def routerindexparams(websocket: WebSocket, pathparam: str, queryparam: str):
        await websocket.accept()
        await websocket.send_text(pathparam)
        await websocket.send_text(queryparam)
        await websocket.close()
    
    
    async def ws_dependency():
        return "Socket Dependency"
    
    
    @router.websocket("/router-ws-depends/")
    async def router_ws_decorator_depends(
        websocket: WebSocket, data=Depends(ws_dependency)
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Jun 11 19:08:14 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  10. ci/official/upload.sh

    # "/path/bar". This script uses "gsutil rsync" instead, which acts on directory
    # contents. About arguments to gsutil:
    # "gsutil -m rsync" runs in parallel.
    # "gsutil rsync -r" is recursive and makes directories work.
    # "gsutil rsync -d" is "sync and delete files from destination if not present in source"
    
    DOWNLOADS="$(mktemp -d)"
    mkdir -p "$DOWNLOADS"
    gsutil -m rsync -r "$TFCI_ARTIFACT_STAGING_GCS_URI" "$DOWNLOADS"
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jan 24 20:52:12 GMT 2024
    - 2.8K bytes
    - Viewed (0)
Back to top