Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 65 for Ftruncate (0.16 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc

            OpBuilder builder(last_store);
            builder.setInsertionPointAfter(last_store);
            auto cast = builder.create<TF::CastOp>(
                last_store.getLoc(), read_type, last_store.getValue(),
                /*Truncate=*/builder.getBoolAttr(false));
            read_variable_op.getValue().replaceAllUsesWith(cast);
          } else {
            read_variable_op.getValue().replaceAllUsesWith(last_store.getValue());
          }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  2. src/net/http/request.go

    	// The server can (and will, if it's a net/http server) reject
    	// the request if it doesn't consider the host valid.
    	if !httpguts.ValidHostHeader(host) {
    		// Historically, we would truncate the Host header after '/' or ' '.
    		// Some users have relied on this truncation to convert a network
    		// address such as Unix domain socket path into a valid, ignored
    		// Host header (see https://go.dev/issue/61431).
    		//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  3. src/crypto/tls/conn.go

    			}
    			c.out.Unlock()
    			// Return an error which wraps both the handshake error and
    			// any alert error we may have sent, or alertInternalError
    			// if we didn't send an alert.
    			// Truncate the text of the alert to 0 characters.
    			c.handshakeErr = fmt.Errorf("%w%.0w", c.handshakeErr, AlertError(a))
    		}
    		close(c.quic.blockedc)
    		close(c.quic.signalc)
    	}
    
    	return c.handshakeErr
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  4. 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)
  5. src/cmd/compile/internal/ssa/prove.go

    			}
    
    			var constValue int64
    			typ := arg.Type
    			bits := 8 * typ.Size()
    			switch {
    			case lim.min == lim.max:
    				constValue = lim.min
    			case lim.umin == lim.umax:
    				// truncate then sign extand
    				switch bits {
    				case 64:
    					constValue = int64(lim.umin)
    				case 32:
    					constValue = int64(int32(lim.umin))
    				case 16:
    					constValue = int64(int16(lim.umin))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:21 UTC 2024
    - 48.9K bytes
    - Viewed (0)
  6. 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)
  7. staging/src/k8s.io/api/admissionregistration/v1beta1/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 Mar 28 15:34:11 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. pkg/apis/admissionregistration/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 Feb 29 20:14:19 UTC 2024
    - 52.6K bytes
    - Viewed (0)
Back to top