Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 61 for wereld (0.39 sec)

  1. src/runtime/proc.go

    	unlock(&allglock)
    }
    
    // allGsSnapshot returns a snapshot of the slice of all Gs.
    //
    // The world must be stopped or allglock must be held.
    func allGsSnapshot() []*g {
    	assertWorldStoppedOrLockHeld(&allglock)
    
    	// Because the world is stopped or allglock is held, allgadd
    	// cannot happen concurrently with this. allgs grows
    	// monotonically and existing entries never change, so we can
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  2. cmd/server_test.go

    	c.Assert(response.ContentLength, int64(len([]byte("hello world"))))
    	var buffer2 bytes.Buffer
    	// retrieve the contents of response body.
    	n, err := io.Copy(&buffer2, response.Body)
    	c.Assert(err, nil)
    	c.Assert(n, int64(len([]byte("hello world"))))
    	// asserted the contents of the fetched object with the expected result.
    	c.Assert(true, bytes.Equal(buffer2.Bytes(), []byte("hello world")))
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 115.3K bytes
    - Viewed (0)
  3. pkg/volume/util/operationexecutor/operation_generator.go

    			og.recorder.Eventf(pod, v1.EventTypeNormal, kevents.SuccessfulAttachVolume, simpleMsg)
    		}
    		klog.Infof(volumeToAttach.GenerateMsgDetailed("AttachVolume.Attach succeeded", ""))
    
    		// Update actual state of world
    		addVolumeNodeErr := actualStateOfWorld.MarkVolumeAsAttached(
    			logger, v1.UniqueVolumeName(""), volumeToAttach.VolumeSpec, volumeToAttach.NodeName, devicePath)
    		if addVolumeNodeErr != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 101.4K bytes
    - Viewed (0)
  4. pkg/registry/batch/job/strategy_test.go

    				ObjectMeta: getValidObjectMetaWithAnnotations(0, map[string]string{"hello": "world"}),
    				Spec: batch.JobSpec{
    					Selector: validSelector,
    					Template: validPodTemplateSpec,
    				},
    				Status: batch.JobStatus{
    					Active: 2,
    				},
    			},
    			wantJob: batch.Job{
    				ObjectMeta: getValidObjectMetaWithAnnotations(0, map[string]string{"hello": "world"}),
    				Spec: batch.JobSpec{
    					Selector: validSelector,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 101.5K bytes
    - Viewed (0)
  5. src/net/http/serve_test.go

    			res.Body.Close()
    			if err != nil {
    				log.Panicf("ReadAll: %v", err)
    			}
    			body := string(all)
    			if body != "Hello world.\n" {
    				log.Panicf("Got body: %q", body)
    			}
    		}
    		os.Exit(0)
    		return
    	}
    
    	var res = []byte("Hello world.\n")
    	b.StopTimer()
    	ts := httptest.NewServer(HandlerFunc(func(rw ResponseWriter, r *Request) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  6. pkg/scheduler/internal/queue/scheduling_queue_test.go

    			QueueingHintFn: queueHintReturnQueue,
    		},
    	}
    	q := NewTestQueue(ctx, newDefaultQueueSort(), WithClock(c), WithQueueingHintMapPerProfile(m))
    	// To simulate the pod is failed in scheduling in the real world, Pop() the pod from activeQ before AddUnschedulableIfNotPresent()s below.
    	q.activeQ.Add(q.newQueuedPodInfo(unschedulablePodInfo.Pod))
    	if p, err := q.Pop(logger); err != nil || p.Pod != unschedulablePodInfo.Pod {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  7. tests/integration/pilot/common/routing.go

    				Check: check.And(
    					check.OK(),
    					check.Protocol("HTTP/2.0"),
    					check.RequestHeaders(map[string]string{
    						"X-Vhost-Inbound":  "hello world",
    						"X-Vhost-Outbound": "hello world",
    						"X-Lua-Inbound":    "hello world",
    						"X-Lua-Outbound":   "hello world",
    					}),
    				),
    			},
    		})
    	}
    }
    
    // hostCases tests different forms of host header to use
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
  8. src/reflect/all_test.go

    	V(fmt.Fprintf).Call([]Value{V(&b), V("%s, %d world"), V("hello"), V(42)})
    	if b.String() != "hello, 42 world" {
    		t.Errorf("after Fprintf Call: %q != %q", b.String(), "hello 42 world")
    	}
    
    	b.Reset()
    	V(fmt.Fprintf).CallSlice([]Value{V(&b), V("%s, %d world"), V([]any{"hello", 42})})
    	if b.String() != "hello, 42 world" {
    		t.Errorf("after Fprintf CallSlice: %q != %q", b.String(), "hello 42 world")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  9. src/cmd/go/internal/load/pkg.go

    	Gccgoflags []string // -gccgoflags for this package
    }
    
    // A NoGoError indicates that no Go files for the package were applicable to the
    // build for that package.
    //
    // That may be because there were no files whatsoever, or because all files were
    // excluded, or because all non-excluded files were test sources.
    type NoGoError struct {
    	Package *Package
    }
    
    func (e *NoGoError) Error() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  10. fastapi/routing.py

            app = FastAPI()
            router = APIRouter()
    
            @router.head("/items/", status_code=204)
            def get_items_headers(response: Response):
                response.headers["X-Cat-Dog"] = "Alone in the world"
    
            app.include_router(router)
            ```
            """
            return self.api_route(
                path=path,
                response_model=response_model,
                status_code=status_code,
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 170.1K bytes
    - Viewed (0)
Back to top