Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for shorterOf (4.44 sec)

  1. src/net/http/server.go

    		fmt.Fprintln(w, body)
    	}
    }
    
    var htmlReplacer = strings.NewReplacer(
    	"&", "&",
    	"<", "&lt;",
    	">", "&gt;",
    	// "&#34;" is shorter than "&quot;".
    	`"`, "&#34;",
    	// "&#39;" is shorter than "&apos;" and apos was not in HTML until HTML5.
    	"'", "&#39;",
    )
    
    func htmlEscape(s string) string {
    	return htmlReplacer.Replace(s)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/x86/asm6.go

    }
    
    var yret = []ytab{
    	{Zo_iw, 1, argList{}},
    	{Zo_iw, 1, argList{Yi32}},
    }
    
    var ymovq = []ytab{
    	// valid in 32-bit mode
    	{Zm_r_xm_nr, 1, argList{Ym, Ymr}},  // 0x6f MMX MOVQ (shorter encoding)
    	{Zr_m_xm_nr, 1, argList{Ymr, Ym}},  // 0x7f MMX MOVQ
    	{Zm_r_xm_nr, 2, argList{Yxr, Ymr}}, // Pf2, 0xd6 MOVDQ2Q
    	{Zm_r_xm_nr, 2, argList{Yxm, Yxr}}, // Pf3, 0x7e MOVQ xmm1/m64 -> xmm2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

      // versions. Here we put a 16-byte dummy string as a placeholder. We choose
      // 16-byte because it's the alignment of buffers in flatbuffer, so it won't
      // cause any waste of space if the actual string is shorter than 16 bytes.
      constexpr std::size_t kByteStringSize = 16;
      metadata.push_back(
          BuildMetadata("min_runtime_version", std::string(kByteStringSize, '\0')));
      if (use_buffer_offset_) {
        metadata.push_back(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet.go

    	// Generic PLEG relies on relisting for discovering container events.
    	// A longer period means that kubelet will take longer to detect container
    	// changes and to update pod status. On the other hand, a shorter period
    	// will cause more frequent relisting (e.g., container runtime operations),
    	// leading to higher cpu usage.
    	// Note that even though we set the period to 1s, the relisting itself can
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  5. api/openapi-spec/v3/apis__certificates.k8s.io__v1_openapi.json

                "format": "int32",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 151.7K bytes
    - Viewed (0)
  6. src/cmd/go/internal/load/pkg.go

    	return append([]string{}, *s...)
    }
    
    func (s *ImportStack) Top() string {
    	if len(*s) == 0 {
    		return ""
    	}
    	return (*s)[len(*s)-1]
    }
    
    // shorterThan reports whether sp is shorter than t.
    // We use this to record the shortest import sequence
    // that leads to a particular package.
    func (sp *ImportStack) shorterThan(t []string) bool {
    	s := *sp
    	if len(s) != len(t) {
    		return len(s) < len(t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  7. cmd/object-handlers_test.go

    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    			shouldPass:         false,
    			fault:              malformedEncoding,
    		},
    		// Test case - 8
    		// Chunk with shorter than advertised chunk data.
    		{
    			bucketName:         bucketName,
    			objectName:         objectName,
    			data:               oneKData,
    			dataLen:            1024,
    			chunkSize:          1024,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 161.9K bytes
    - Viewed (0)
  8. pkg/printers/internalversion/printers_test.go

    	// Since this method compares the time with time.Now() internally,
    	// small buffers of 0.1 seconds are added on comparing times to consider method call overhead.
    	// Otherwise, the output strings become shorter than expected.
    	const buf = 1e8
    	tl := stringTestList{
    		{"a while ago", translateTimestampUntil(metav1.Time{Time: time.Now().Add(-2.1e9)}), "<invalid>"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
Back to top