Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 208 for newSel (0.26 sec)

  1. istioctl/pkg/checkinject/checkinject.go

    			Cells: make([]table.Cell, 0),
    		}
    		row.Cells = append(row.Cells, table.NewCell(wa.Name), table.NewCell(wa.Revision))
    		if wa.Injected {
    			row.Cells = append(row.Cells, table.NewCell("✔", color.FgGreen))
    		} else {
    			row.Cells = append(row.Cells, table.NewCell("✘", color.FgRed))
    		}
    		row.Cells = append(row.Cells, table.NewCell(wa.Reason))
    		return row
    	})
    	w.AddHeader("WEBHOOK", "REVISION", "INJECTED", "REASON")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. src/net/http/http.go

    			return true
    		}
    	}
    	return false
    }
    
    func hexEscapeNonASCII(s string) string {
    	newLen := 0
    	for i := 0; i < len(s); i++ {
    		if s[i] >= utf8.RuneSelf {
    			newLen += 3
    		} else {
    			newLen++
    		}
    	}
    	if newLen == len(s) {
    		return s
    	}
    	b := make([]byte, 0, newLen)
    	var pos int
    	for i := 0; i < len(s); i++ {
    		if s[i] >= utf8.RuneSelf {
    			if pos < i {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. test/typeparam/issue51840.go

    			return false
    		}
    	}
    	return true
    }
    
    type Set[T comparable] map[T]struct{}
    
    func NewSet[T comparable](items ...T) Set[T] {
    	return nil
    }
    
    func (s Set[T]) Equals(other Set[T]) bool {
    	return EqualMap(s, other)
    }
    
    func main() {
    	NewSet[Addr](Addr{0, 0, nil})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 19:40:04 UTC 2022
    - 635 bytes
    - Viewed (0)
  4. pilot/pkg/model/test/testcert/generate.sh

    # limitations under the License.
    
    openssl req -new -newkey rsa:4096 -x509 -sha256 \
            -days 3650 -nodes -out cert.pem -keyout key.pem \
            -subj "/C=US/ST=Denial/L=Ether/O=Dis/CN=localhost/SAN=localhost" \
            -addext "subjectAltName = DNS:localhost"
    
    openssl req -new -newkey rsa:4096 -x509 -sha256 \
            -days 3650 -nodes -out cert2.pem -keyout key2.pem \
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 12 05:58:58 UTC 2020
    - 1K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/Challenge.kt

      init {
        val newAuthParams = mutableMapOf<String?, String>()
        for ((key, value) in authParams) {
          val newKey = key?.lowercase(US)
          newAuthParams[newKey] = value
        }
        this.authParams = unmodifiableMap<String?, String>(newAuthParams)
      }
    
      /** Returns a copy of this charset that expects a credential encoded with [charset]. */
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/walk/assign.go

    	num := ir.NewUnaryExpr(base.Pos, ir.OLEN, l2)
    
    	// newLen := oldLen + num
    	newLen := typecheck.TempAt(base.Pos, ir.CurFunc, types.Types[types.TINT])
    	nodes.Append(ir.NewAssignStmt(base.Pos, newLen, ir.NewBinaryExpr(base.Pos, ir.OADD, oldLen, num)))
    
    	// if uint(newLen) <= uint(oldCap)
    	nif := ir.NewIfStmt(base.Pos, nil, nil, nil)
    	nuint := typecheck.Conv(newLen, types.Types[types.TUINT])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:09:06 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  7. src/vendor/golang.org/x/net/route/syscall.go

    //go:build darwin || dragonfly || freebsd || netbsd || openbsd
    
    package route
    
    import _ "unsafe" // for linkname
    
    //go:linkname sysctl syscall.sysctl
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 396 bytes
    - Viewed (0)
  8. src/vendor/golang.org/x/sys/cpu/cpu_openbsd_arm64.go

    //go:linkname syscall_syscall6 syscall.syscall6
    
    func sysctl(mib []uint32, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
    	_, _, errno := syscall_syscall6(libc_sysctl_trampoline_addr, uintptr(unsafe.Pointer(&mib[0])), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
    	if errno != 0 {
    		return errno
    	}
    	return nil
    }
    
    var libc_sysctl_trampoline_addr uintptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 00:11:50 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  9. internal/grid/handlers.go

    // Use Call to initiate a clientside call.
    func NewSingleHandler[Req, Resp RoundTripper](h HandlerID, newReq func() Req, newResp func() Resp) *SingleHandler[Req, Resp] {
    	s := SingleHandler[Req, Resp]{id: h}
    	s.newReq, s.recycleReq = recycleFunc[Req](newReq)
    	s.newResp, s.recycleResp = recycleFunc[Resp](newResp)
    	if _, ok := any(newReq()).(Recycler); ok {
    		s.callReuseReq = true
    	}
    	return &s
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  10. pkg/registry/certificates/certificates/strategy.go

    func (csrStrategy) GetResetFields() map[fieldpath.APIVersion]*fieldpath.Set {
    	fields := map[fieldpath.APIVersion]*fieldpath.Set{
    		"certificates.k8s.io/v1": fieldpath.NewSet(
    			fieldpath.MakePathOrDie("spec"),
    			fieldpath.MakePathOrDie("status"),
    		),
    		"certificates.k8s.io/v1beta1": fieldpath.NewSet(
    			fieldpath.MakePathOrDie("spec"),
    			fieldpath.MakePathOrDie("status"),
    		),
    	}
    
    	return fields
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 18 21:41:43 UTC 2022
    - 11.4K bytes
    - Viewed (0)
Back to top