Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 41 for while_1 (0.37 sec)

  1. pkg/printers/internalversion/printers_test.go

    	}
    }
    
    type stringTestList []struct {
    	name, got, exp string
    }
    
    func TestTranslateTimestampSince(t *testing.T) {
    	tl := stringTestList{
    		{"a while from now", translateTimestampSince(metav1.Time{Time: time.Now().Add(2.1e9)}), "<invalid>"},
    		{"almost now", translateTimestampSince(metav1.Time{Time: time.Now().Add(1.9e9)}), "0s"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  2. pkg/controller/job/job_controller_test.go

    			}
    			if err := sharedInformerFactory.Batch().V1().Jobs().Informer().GetIndexer().Add(job); err != nil {
    				t.Fatalf("error %v while adding the %v job to the index", err, klog.KObj(job))
    			}
    
    			if err := manager.syncJob(ctx, testutil.GetKey(job, t)); err != nil {
    				t.Fatalf("error %v while reconciling the job %v", err, testutil.GetKey(job, t))
    			}
    
    			if diff := cmp.Diff(tc.wantStatus, actual.Status); diff != "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  3. cmd/metrics-v2.go

    	return MetricDescription{
    		Namespace: bucketMetricNamespace,
    		Subsystem: requestsSubsystem,
    		Name:      canceledTotal,
    		Help:      "Total number of S3 requests that were canceled from the client while processing on a bucket",
    		Type:      counterMetric,
    	}
    }
    
    func getILMNodeMetrics() *MetricsGroupV2 {
    	mg := &MetricsGroupV2{
    		cacheInterval: 10 * time.Second,
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  4. src/net/http/transport_test.go

    	go doReq("req1")
    	<-preDial
    	<-dialStarted
    
    	// get req2 to waiting on conns per host to go down below max
    	go doReq("req2")
    	<-preDial
    	select {
    	case <-dialStarted:
    		t.Error("req2 dial started while req1 dial in progress")
    		return
    	default:
    	}
    
    	// let req1 complete
    	stallDial <- struct{}{}
    	<-reqComplete
    
    	// let req2 complete
    	<-dialStarted
    	stallDial <- struct{}{}
    	<-reqComplete
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  5. cmd/object-handlers.go

    		return err == toObjectErr(errVolumeNotFound, bucket)
    	}
    	return false
    }
    
    // CopyObjectHandler - Copy Object
    // ----------
    // This implementation of the PUT operation adds an object to a bucket
    // while reading the object from another source.
    // Notice: The S3 client can send secret keys in headers for encryption related jobs,
    // the handler should ensure to remove these keys before sending them to the object layer.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 124.2K bytes
    - Viewed (0)
  6. fastapi/applications.py

            app = FastAPI()
    
            @app.websocket("/ws")
            async def websocket_endpoint(websocket: WebSocket):
                await websocket.accept()
                while True:
                    data = await websocket.receive_text()
                    await websocket.send_text(f"Message text was: {data}")
            ```
            """
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 00:48:03 UTC 2024
    - 172.2K bytes
    - Viewed (0)
  7. src/cmd/go/internal/load/pkg.go

    // modified by modload.LoadPackages.
    type preload struct {
    	cancel chan struct{}
    	sema   chan struct{}
    }
    
    // newPreload creates a new preloader. flush must be called later to avoid
    // accessing global state while it is being modified.
    func newPreload() *preload {
    	pre := &preload{
    		cancel: make(chan struct{}),
    		sema:   make(chan struct{}, preloadWorkerCount),
    	}
    	return pre
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  8. src/reflect/value.go

    // returned by MakeFunc. In many ways it is the opposite of the
    // method Value.call above. The method above converts a call using Values
    // into a call of a function with a concrete argument frame, while
    // callReflect converts a call of a function with a concrete argument
    // frame into a call using Values.
    // It is in this file so that it can be next to the call method above.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/ppc64/asm9.go

    package ppc64
    
    import (
    	"cmd/internal/obj"
    	"cmd/internal/objabi"
    	"encoding/binary"
    	"fmt"
    	"internal/buildcfg"
    	"log"
    	"math"
    	"math/bits"
    	"sort"
    )
    
    // ctxt9 holds state while assembling a single function.
    // Each function gets a fresh ctxt9.
    // This allows for multiple functions to be safely concurrently assembled.
    type ctxt9 struct {
    	ctxt       *obj.Link
    	newprog    obj.ProgAlloc
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:55:28 UTC 2024
    - 156.1K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/x86/asm6.go

    	var n int
    	var c int32
    	errors := ctxt.Errors
    	var nops []nopPad // Padding for a particular assembly (reuse slice storage if multiple assemblies)
    	nrelocs0 := len(s.R)
    	for {
    		// This loop continues while there are reasons to re-assemble
    		// whole block, like the presence of long forward jumps.
    		reAssemble := false
    		for i := range s.R[nrelocs0:] {
    			s.R[nrelocs0+i] = obj.Reloc{}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
Back to top