Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for darin (0.15 sec)

  1. cmd/admin-heal-ops.go

    		}
    		h.mutex.Unlock()
    	case <-h.ctx.Done():
    		h.mutex.Lock()
    		h.endTime = UTCNow()
    		h.currentStatus.Summary = healFinishedStatus
    		h.mutex.Unlock()
    
    		// drain traverse channel so the traversal
    		// go-routine does not leak.
    		go func() {
    			// Eventually the traversal go-routine closes
    			// the channel and returns, so this go-routine
    			// itself will not leak.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  2. internal/grid/grid_test.go

    	<-serverSent
    
    	// Now do 100 other requests to ensure that the server doesn't block.
    	for i := 0; i < 100; i++ {
    		_, err := remoteConn.Request(ctx, handlerTest2, []byte(testPayload))
    		errFatal(err)
    	}
    	// Drain responses
    	got := 0
    	for resp := range st.responses {
    		// t.Log("got response", resp)
    		errFatal(resp.Err)
    		if resp.Msg[0] != byte(got) {
    			t.Error("expected response", got, "got", resp.Msg[0])
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:03:35 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  3. internal/grid/muxclient.go

    		defer func() {
    			fmt.Println("Mux", m.MuxID, "Request took", time.Since(start).Round(time.Millisecond))
    		}()
    	}
    
    	// Listen for client messages.
    	for {
    		if errState {
    			go func() {
    				// Drain requests.
    				for range requests {
    				}
    			}()
    			return
    		}
    		select {
    		case <-m.ctx.Done():
    			if debugPrint {
    				fmt.Println("Client sending disconnect to mux", m.MuxID)
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  4. istioctl/pkg/dashboard/dashboard.go

    		return
    	}
    
    	switch runtime.GOOS {
    	case "linux":
    		err = exec.Command("xdg-open", url).Start()
    	case "windows":
    		err = exec.Command("rundll32", "url.dll,FileProtocolHandler", url).Start()
    	case "darwin":
    		err = exec.Command("open", url).Start()
    	default:
    		fmt.Fprintf(writer, "Unsupported platform %q; open %s in your browser.\n", runtime.GOOS, url)
    	}
    
    	if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  5. cmd/globals.go

    	globalMinioDefaultOwnerID      = "02d6176db174dc93cb1b899f7c6078f08654445fe8cf1b6ce98d8855f66bdbf4"
    	globalMinioDefaultStorageClass = "STANDARD"
    	globalWindowsOSName            = "windows"
    	globalMacOSName                = "darwin"
    	globalMinioModeFS              = "mode-server-fs"
    	globalMinioModeErasureSD       = "mode-server-xl-single"
    	globalMinioModeErasure         = "mode-server-xl"
    	globalMinioModeDistErasure     = "mode-server-distributed-xl"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  6. internal/s3select/message.go

    				quitFlag = true
    			}
    		}
    	}
    	close(writer.doneCh)
    
    	recordStagingTicker.Stop()
    	keepAliveTicker.Stop()
    	if progressTicker != nil {
    		progressTicker.Stop()
    	}
    
    	// Whatever drain the payloadCh to prevent from memory leaking.
    	for len(writer.payloadCh) > 0 {
    		payload := <-writer.payloadCh
    		bufPool.Put(payload)
    	}
    }
    
    // Sends a single whole record.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 30 15:26:43 GMT 2022
    - 15.2K bytes
    - Viewed (0)
  7. src/cmd/api/main_test.go

    	{GOOS: "linux", GOARCH: "amd64"},
    	{GOOS: "linux", GOARCH: "arm", CgoEnabled: true},
    	{GOOS: "linux", GOARCH: "arm"},
    	{GOOS: "darwin", GOARCH: "amd64", CgoEnabled: true},
    	{GOOS: "darwin", GOARCH: "amd64"},
    	{GOOS: "darwin", GOARCH: "arm64", CgoEnabled: true},
    	{GOOS: "darwin", GOARCH: "arm64"},
    	{GOOS: "windows", GOARCH: "amd64"},
    	{GOOS: "windows", GOARCH: "386"},
    	{GOOS: "freebsd", GOARCH: "386", CgoEnabled: true},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  8. misc/go_android_exec/main.go

    // This wrapper uses syscall.Flock to prevent concurrent adb commands,
    // so for now it only builds on platforms that support that system call.
    // TODO(#33974): use a more portable library for file locking.
    
    //go:build darwin || dragonfly || freebsd || illumos || linux || netbsd || openbsd
    
    // This program can be used as go_android_GOARCH_exec by the Go tool.
    // It executes binaries on an android device using adb.
    package main
    
    import (
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  9. internal/logger/target/http/http.go

    			select {
    			case currentGlobalBuffer <- v:
    			default:
    			}
    		}
    
    		if mainWorker {
    		drain:
    			for {
    				select {
    				case v, ok := <-h.logCh:
    					if !ok {
    						break drain
    					}
    
    					currentGlobalBuffer <- v
    				default:
    					break drain
    				}
    			}
    		}
    	}()
    
    	var entry interface{}
    	var ok bool
    	var err error
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 25 16:44:20 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  10. src/cmd/cgo/doc.go

    to Go.
    
    # Special cases
    
    A few special C types which would normally be represented by a pointer
    type in Go are instead represented by a uintptr. Those include:
    
    1. The *Ref types on Darwin, rooted at CoreFoundation's CFTypeRef type.
    
    2. The object types from Java's JNI interface:
    
    	jobject
    	jclass
    	jthrowable
    	jstring
    	jarray
    	jbooleanArray
    	jbyteArray
    	jcharArray
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
Back to top