Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 667 for minval (0.29 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    			if tcpStats != nil {
    				return nil, errnoErr(EINVAL)
    			}
    			tcpStats = (*nwmTCPStatsEntry)(unsafe.Pointer(ptr))
    		case nwmIPStatsIdentifier:
    		case nwmIPGStatsIdentifier:
    		case nwmUDPStatsIdentifier:
    		case nwmICMPGStatsEntry:
    		case nwmICMPTStatsEntry:
    		default:
    			return nil, errnoErr(EINVAL)
    		}
    	}
    	if tcpStats == nil {
    		return nil, errnoErr(EINVAL)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  2. src/syscall/tables_js.go

    // Errno values.
    var (
    	errEAGAIN error = EAGAIN
    	errEINVAL error = EINVAL
    	errENOENT error = ENOENT
    )
    
    // errnoErr returns common boxed Errno values, to prevent
    // allocations at runtime.
    func errnoErr(e Errno) error {
    	switch e {
    	case 0:
    		return nil
    	case EAGAIN:
    		return errEAGAIN
    	case EINVAL:
    		return errEINVAL
    	case ENOENT:
    		return errENOENT
    	}
    	return e
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 19.2K bytes
    - Viewed (0)
  3. src/internal/syscall/unix/getentropy_netbsd.go

    		uintptr(unsafe.Pointer(nil)),   // newdata
    		0)                              // newlen
    	if errno != 0 {
    		return syscall.Errno(errno)
    	}
    	if n != uintptr(len(p)) {
    		return syscall.EINVAL
    	}
    	return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 19:42:54 UTC 2023
    - 779 bytes
    - Viewed (0)
  4. guava/src/com/google/common/xml/XmlEscapers.java

       * validation on its input.
       */
      public static Escaper xmlAttributeEscaper() {
        return XML_ATTRIBUTE_ESCAPER;
      }
    
      private static final Escaper XML_ESCAPER;
      private static final Escaper XML_CONTENT_ESCAPER;
      private static final Escaper XML_ATTRIBUTE_ESCAPER;
    
      static {
        Escapers.Builder builder = Escapers.builder();
        // The char values \uFFFE and \uFFFF are explicitly not allowed in XML
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 6.5K bytes
    - Viewed (0)
  5. src/net/writev_unix.go

    //go:build unix
    
    package net
    
    import (
    	"runtime"
    	"syscall"
    )
    
    func (c *conn) writeBuffers(v *Buffers) (int64, error) {
    	if !c.ok() {
    		return 0, syscall.EINVAL
    	}
    	n, err := c.fd.writeBuffers(v)
    	if err != nil {
    		return n, &OpError{Op: "writev", Net: c.fd.net, Source: c.fd.laddr, Addr: c.fd.raddr, Err: err}
    	}
    	return n, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 07 16:48:35 UTC 2022
    - 666 bytes
    - Viewed (0)
  6. src/internal/poll/copy_file_range_linux.go

    			return 0, false, nil
    		case syscall.EXDEV, syscall.EINVAL, syscall.EIO, syscall.EOPNOTSUPP, syscall.EPERM:
    			// Prior to Linux 5.3, it was not possible to
    			// copy_file_range across file systems. Similarly to
    			// the ENOSYS case above, if we see EXDEV, we have
    			// not transferred any data, and we can let the caller
    			// fall back to generic code.
    			//
    			// As for EINVAL, that is what we see if, for example,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 17:40:10 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/cmd/upgrade/plan_test.go

    Configs that have a "yes" mark in the "MANUAL UPGRADE REQUIRED" column require manual config upgrade or
    resetting to kubeadm defaults before a successful upgrade can be performed. The version to manually
    upgrade to is denoted in the "PREFERRED VERSION" column.
    
    API GROUP                 CURRENT VERSION   PREFERRED VERSION   MANUAL UPGRADE REQUIRED
    kubeproxy.config.k8s.io   v1alpha1          v1alpha1            no
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 03 03:03:29 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/intstr/intstr_test.go

    	fuzz "github.com/google/gofuzz"
    )
    
    func TestFromInt(t *testing.T) {
    	i := FromInt(93)
    	if i.Type != Int || i.IntVal != 93 {
    		t.Errorf("Expected IntVal=93, got %+v", i)
    	}
    }
    
    func TestFromInt32(t *testing.T) {
    	i := FromInt32(93)
    	if i.Type != Int || i.IntVal != 93 {
    		t.Errorf("Expected IntVal=93, got %+v", i)
    	}
    }
    
    func TestFromString(t *testing.T) {
    	i := FromString("76")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:09 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  9. src/syscall/dirent_test.go

    		t.Fatalf("syscall.open: %v", err)
    	}
    	defer syscall.Close(fd)
    
    	buf := bytes.Repeat([]byte{0xCD}, direntBufSize)
    	for {
    		n, err := syscall.ReadDirent(fd, buf)
    		if err == syscall.EINVAL {
    			// On linux, 'man getdents64' says that EINVAL indicates “result buffer is too small”.
    			// Try a bigger buffer.
    			t.Logf("ReadDirent: %v; retrying with larger buffer", err)
    			buf = bytes.Repeat([]byte{0xCD}, len(buf)*2)
    			continue
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. src/runtime/race/testdata/map_test.go

    	<-ch
    }
    
    func TestRaceMapBigValInsert(t *testing.T) {
    	m := make(map[int]BigVal)
    	var v BigVal
    	ch := make(chan bool, 1)
    	go func() {
    		m[1] = v
    		ch <- true
    	}()
    	v.y[30] = new(int)
    	<-ch
    }
    
    func TestRaceMapBigValAccess1(t *testing.T) {
    	m := make(map[int]BigVal)
    	var v BigVal
    	ch := make(chan bool, 1)
    	go func() {
    		v = m[1]
    		ch <- true
    	}()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 03 22:09:38 UTC 2017
    - 5.1K bytes
    - Viewed (0)
Back to top