Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for setlkw (0.13 sec)

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

    	h.Level = SOL_IP
    	h.Type = IP_PKTINFO
    	h.SetLen(CmsgLen(SizeofInet4Pktinfo))
    	*(*Inet4Pktinfo)(h.data(0)) = *info
    	return b
    }
    
    // PktInfo6 encodes Inet6Pktinfo into a socket control message of type IPV6_PKTINFO.
    func PktInfo6(info *Inet6Pktinfo) []byte {
    	b := make([]byte, CmsgSpace(SizeofInet6Pktinfo))
    	h := (*Cmsghdr)(unsafe.Pointer(&b[0]))
    	h.Level = SOL_IPV6
    	h.Type = IPV6_PKTINFO
    	h.SetLen(CmsgLen(SizeofInet6Pktinfo))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. cmd/metrics-v3-cluster-erasure-set.go

    	m.Set(erasureSetOverallHealth, b2f(result.Healthy))
    
    	for _, h := range result.ESHealth {
    		poolLV := strconv.Itoa(h.PoolID)
    		setLV := strconv.Itoa(h.SetID)
    		labels := []string{poolIDL, poolLV, setIDL, setLV}
    		m.Set(erasureSetReadQuorum, float64(h.ReadQuorum), labels...)
    		m.Set(erasureSetWriteQuorum, float64(h.WriteQuorum), labels...)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 14 07:25:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. src/syscall/syscall_aix.go

    }
    
    func (sa *RawSockaddrUnix) setLen(n int) {
    	sa.Len = uint8(3 + n) // 2 for Family, Len; 1 for NUL.
    }
    
    func (sa *SockaddrUnix) sockaddr() (unsafe.Pointer, _Socklen, error) {
    	name := sa.Name
    	n := len(name)
    	if n > len(sa.raw.Path) {
    		return nil, 0, EINVAL
    	}
    	sa.raw.Family = AF_UNIX
    	sa.raw.setLen(n)
    	for i := 0; i < n; i++ {
    		sa.raw.Path[i] = uint8(name[i])
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  4. cmd/format-erasure.go

    		panic(err)
    	}
    	return &dst
    }
    
    // Returns formatErasure.Erasure.Version
    func newFormatErasureV3(numSets int, setLen int) *formatErasureV3 {
    	format := &formatErasureV3{}
    	format.Version = formatMetaVersionV1
    	format.Format = formatBackendErasure
    	if setLen == 1 {
    		format.Format = formatBackendErasureSingle
    	}
    	format.ID = mustGetUUID()
    	format.Erasure.Version = formatErasureVersionV3
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  5. maven-api-impl/src/test/remote-repo/org/apache/maven/maven-plugin-api/2.0/maven-plugin-api-2.0.jar

    org/apache/maven/plugin/AbstractMojo.class package org.apache.maven.plugin; public abstract synchronized class AbstractMojo implements Mojo, ContextEnabled { private logging.Log log; private java.util.Map pluginContext; public void AbstractMojo(); public void setLog(logging.Log); public logging.Log getLog(); public java.util.Map getPluginContext(); public void setPluginContext(java.util.Map); } org/apache/maven/plugin/AbstractMojoExecutio.class package org.apache.maven.plugin; public abstract synchronized class...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 15:10:38 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. src/time/time.go

    		offset += int(buf[2])
    	}
    
    	*t = Time{}
    	t.wall = uint64(nsec)
    	t.ext = sec
    
    	if offset == -1*60 {
    		t.setLoc(&utcLoc)
    	} else if _, localoff, _, _, _ := Local.lookup(t.unixSec()); offset == localoff {
    		t.setLoc(Local)
    	} else {
    		t.setLoc(FixedZone("", offset))
    	}
    
    	return nil
    }
    
    // TODO(rsc): Remove GobEncoder, GobDecoder, MarshalJSON, UnmarshalJSON in Go 2.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    	if idx == -1 {
    		tty = s
    	} else {
    		tty = s[:idx]
    	}
    	return
    }
    
    func (iov *Iovec) SetLen(length int) {
    	iov.Len = uint64(length)
    }
    
    func (msghdr *Msghdr) SetControllen(length int) {
    	msghdr.Controllen = int32(length)
    }
    
    func (cmsg *Cmsghdr) SetLen(length int) {
    	cmsg.Len = int32(length)
    }
    
    //sys   fcntl(fd int, cmd int, arg int) (val int, err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/experimental/tac/transforms/fold_constants_to_subgraph.cc

      assert(
          (llvm::isa<TFL::ConstOp, TFL::QConstOp, arith::ConstantOp>(const_op)) &&
          "Expect QConst or Const op.");
      OpBuilder builder(func.getBody());
      auto cloned_const_op = const_op->clone();
      cloned_const_op->setLoc(func.getBody().getLoc());
      builder.insert(cloned_const_op);
      // Rewire the usage.
      func.getArgument(argument_index)
          .replaceAllUsesWith(cloned_const_op->getResult(0));
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/add_quantization_unit_loc.cc

              op->getParentOfType<func::FuncOp>().getSymNameAttr().str();
          quantization_unit->set_func_name(func_name);
        }
        QuantizationUnitLoc unit_loc(getContext(), quantization_unit.value());
        op->setLoc(unit_loc);
    
        return success();
      }
    };
    
    void AddQuantizationUnitLocPass::runOnOperation() {
      MLIRContext* ctx = &getContext();
      RewritePatternSet patterns(ctx);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  10. src/syscall/syscall_linux.go

    	var iov Iovec
    	if len(p) > 0 {
    		iov.Base = &p[0]
    		iov.SetLen(len(p))
    	}
    	var dummy byte
    	if len(oob) > 0 {
    		if len(p) == 0 {
    			var sockType int
    			sockType, err = GetsockoptInt(fd, SOL_SOCKET, SO_TYPE)
    			if err != nil {
    				return
    			}
    			// receive at least one normal byte
    			if sockType != SOCK_DGRAM {
    				iov.Base = &dummy
    				iov.SetLen(1)
    			}
    		}
    		msg.Control = &oob[0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
Back to top