Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 42 for Ftruncate (0.2 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_container.go

    	// if we care about termination ordering, then wait for this container's turn to exit if there is
    	// time remaining
    	if ordering != nil && gracePeriod > 0 {
    		// grace period is only in seconds, so the time we've waited gets truncated downward
    		gracePeriod -= int64(ordering.waitForTurn(containerName, gracePeriod))
    	}
    
    	// always give containers a minimal shutdown window to avoid unnecessary SIGKILLs
    	if gracePeriod < minimumGracePeriodInSeconds {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
  2. pkg/kubelet/status/status_manager_test.go

    		if l < 192 || l > 256 {
    			t.Errorf("container message had length %d", l)
    		}
    		count += l
    	}
    	if count > kubecontainer.MaxPodTerminationMessageLogLength {
    		t.Errorf("message length not truncated")
    	}
    }
    
    func TestStaticPod(t *testing.T) {
    	staticPod := getTestPod()
    	staticPod.Annotations = map[string]string{kubetypes.ConfigSourceAnnotationKey: "file"}
    	mirrorPod := getTestPod()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 16:27:19 UTC 2024
    - 68.1K bytes
    - Viewed (0)
  3. src/net/netip/netip_test.go

    		// IPv6 with invalid embedded IPv4.
    		"::ffff:192.168.140.bad",
    		// IPv6 with multiple ellipsis ::.
    		"fe80::1::1",
    		// IPv6 with invalid non hex/colon character.
    		"fe80:1?:1",
    		// IPv6 with truncated bytes after single colon.
    		"fe80:",
    		// IPv6 with 5 zeros in last group
    		"0:0:0:0:0:ffff:0:00000",
    		// IPv6 with 5 zeros in one group and embedded IPv4
    		"0:0:0:0:00000:ffff:127.1.2.3",
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 54.3K bytes
    - Viewed (0)
  4. src/time/format.go

    // signify its presence. In that case either a comma or a decimal point
    // followed by a maximal series of digits is parsed as a fractional second.
    // Fractional seconds are truncated to nanosecond precision.
    //
    // Elements omitted from the layout are assumed to be zero or, when
    // zero is impossible, one, so parsing "3:04pm" returns the time
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/admissionregistration/v1/generated.proto

      // evaluates to null or empty string the audit annotation will be omitted.
      // The valueExpression may be no longer than 5kb in length.
      // If the result of the valueExpression is more than 10kb in length, it
      // will be truncated to 10kb.
      //
      // If multiple ValidatingAdmissionPolicyBinding resources match an
      // API request, then the valueExpression will be evaluated for
      // each binding. All unique values produced by the valueExpressions
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  6. cmd/test-utils_test.go

    	testServer.Obj.Shutdown(context.Background())
    	os.RemoveAll(testServer.Root)
    	for _, ep := range testServer.Disks {
    		for _, disk := range ep.Endpoints {
    			os.RemoveAll(disk.Path)
    		}
    	}
    }
    
    // Truncate request to simulate unexpected EOF for a request signed using streaming signature v4.
    func truncateChunkByHalfSigv4(req *http.Request) (*http.Request, error) {
    	bufReader := bufio.NewReader(req.Body)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        val ping = peer.takeFrame()
        assertThat(ping.type).isEqualTo(Http2.TYPE_PING)
      }
    
      /**
       * A server RST_STREAM shouldn't prevent the client from consuming the response body, even if it
       * follows a truncated request body.
       */
      @Test fun clientRequestBodyServerResponseBodyRstStream() {
        // Write the mocking script.
        peer.sendFrame().settings(Settings())
        peer.acceptFrame() // ACK
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  8. src/runtime/malloc.go

    	// mips32 only has access to the low 2GB of virtual memory, so
    	// we further limit it to 31 bits.
    	//
    	// On ios/arm64, although 64-bit pointers are presumably
    	// available, pointers are truncated to 33 bits in iOS <14.
    	// Furthermore, only the top 4 GiB of the address space are
    	// actually available to the application. In iOS >=14, more
    	// of the address space is available, and the OS can now
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/admissionregistration/v1/types.go

    	// evaluates to null or empty string the audit annotation will be omitted.
    	// The valueExpression may be no longer than 5kb in length.
    	// If the result of the valueExpression is more than 10kb in length, it
    	// will be truncated to 10kb.
    	//
    	// If multiple ValidatingAdmissionPolicyBinding resources match an
    	// API request, then the valueExpression will be evaluated for
    	// each binding. All unique values produced by the valueExpressions
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 61.6K bytes
    - Viewed (0)
  10. src/testing/testing.go

    func (c *common) decorate(s string, skip int) string {
    	frame := c.frameSkip(skip)
    	file := frame.File
    	line := frame.Line
    	if file != "" {
    		if *fullPath {
    			// If relative path, truncate file name at last file name separator.
    		} else if index := strings.LastIndexAny(file, `/\`); index >= 0 {
    			file = file[index+1:]
    		}
    	} else {
    		file = "???"
    	}
    	if line == 0 {
    		line = 1
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
Back to top