- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for addData (0.25 sec)
-
pkg/proxy/util/nfacct/handler.go
type handler interface { newRequest(cmd int, flags uint16) request } // request is an injectable interface representing a netlink request. type request interface { Serialize() []byte AddData(data nl.NetlinkRequestData) AddRawData(data []byte) Execute(sockType int, resType uint16) ([][]byte, error) } // netlinkHandler is an implementation of the handler interface. It maintains a netlink socket
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 06:47:50 UTC 2024 - 2.6K bytes - Viewed (0) -
pkg/proxy/util/nfacct/nfacct_linux.go
if name == "" { return ErrEmptyName } if len(name) > MaxLength { return ErrNameExceedsMaxLength } req := r.handler.newRequest(cmdNew, unix.NLM_F_REQUEST|unix.NLM_F_CREATE|unix.NLM_F_ACK) req.AddData(nl.NewRtAttr(attrName, nl.ZeroTerminated(name))) _, err := req.Execute(unix.NETLINK_NETFILTER, 0) if err != nil { return handleError(err) } return nil } // Get is part of the interface.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 06:47:50 UTC 2024 - 9.2K bytes - Viewed (0) -
pkg/proxy/util/nfacct/nfacct_linux_test.go
response [][]byte err error } // Serialize is part of request interface. func (fr *fakeRequest) Serialize() []byte { return nil } // AddData is part of request interface. func (fr *fakeRequest) AddData(data nl.NetlinkRequestData) { fr.data = append(fr.data, data) } // AddRawData is part of request interface. func (fr *fakeRequest) AddRawData(_ []byte) {}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 06:47:50 UTC 2024 - 18.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/upgrade/AdminUpgradeAction.java
saveError(messages -> messages.addErrorsUnknownVersionForUpgrade(GLOBAL)); } return redirect(getClass()); } private void upgradeFrom13_0() { UpgradeUtil.addData(searchEngineClient, ".fess_config.scheduled_job", "label_updater",
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Sun May 26 05:52:29 UTC 2024 - 48.6K bytes - Viewed (0) -
src/runtime/covermeta.go
import ( "internal/coverage/rtcov" "unsafe" ) // The compiler emits calls to runtime.addCovMeta // but this code has moved to rtcov.AddMeta. func addCovMeta(p unsafe.Pointer, dlen uint32, hash [16]byte, pkgpath string, pkgid int, cmode uint8, cgran uint8) uint32 { id := rtcov.AddMeta(p, dlen, hash, pkgpath, pkgid, cmode, cgran) if id == 0 { throw("runtime.addCovMeta: coverage package map collision") } return id
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 09:57:47 UTC 2024 - 603 bytes - Viewed (0) -
src/internal/coverage/rtcov/rtcov.go
// PkgMap records mappings from hard-coded package IDs to // slots in the List above. PkgMap map[int]int // Set to true if we discover a package mapping glitch. hardCodedListNeedsUpdating bool } // AddMeta is invoked during package "init" functions by the // compiler when compiling for coverage instrumentation; here 'p' is a // meta-data blob of length 'dlen' for the package in question, 'hash'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 09:57:47 UTC 2024 - 3.1K bytes - Viewed (0) -
src/time/genzabbrs.go
// for location l. func getAbbrs(l *time.Location) (st, dt string) { t := time.Date(time.Now().Year(), 0, 1, 0, 0, 0, 0, l) abbr1, off1 := t.Zone() for i := 0; i < 12; i++ { t = t.AddDate(0, 1, 0) abbr2, off2 := t.Zone() if abbr1 != abbr2 { if off2-off1 < 0 { // southern hemisphere abbr1, abbr2 = abbr2, abbr1 } return abbr1, abbr2 } } return abbr1, abbr1 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 3K bytes - Viewed (0) -
cmd/signature-v4_test.go
expected: ErrUnsignedHeaders, }, // (4) Should give an expired request if it has expired. { queryParams: map[string]string{ "X-Amz-Algorithm": signV4Algorithm, "X-Amz-Date": now.AddDate(0, 0, -2).Format(iso8601Format), "X-Amz-Expires": "60", "X-Amz-Signature": "badsignature", "X-Amz-SignedHeaders": "host;x-amz-content-sha256;x-amz-date",
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 22:26:38 UTC 2024 - 10.5K bytes - Viewed (0) -
src/time/time.go
} return t.Sub(Now()) } // AddDate returns the time corresponding to adding the // given number of years, months, and days to t. // For example, AddDate(-1, 2, 3) applied to January 1, 2011 // returns March 4, 2010. // // Note that dates are fundamentally coupled to timezones, and calendrical // periods like days don't have fixed durations. AddDate uses the Location of
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 50.7K bytes - Viewed (0) -
src/math/big/nat.go
t = t.mul(x0, y1) // update t so we don't lose t's underlying array addAt(z, t, k) // add xi*y0<<i, xi*y1*b<<(i+k) y0 := y0.norm() for i := k; i < len(x); i += k { xi := x[i:] if len(xi) > k { xi = xi[:k] } xi = xi.norm() t = t.mul(xi, y0) addAt(z, t, i) t = t.mul(xi, y1) addAt(z, t, i+k) } putNat(tp) } return z.norm() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:31:58 UTC 2024 - 31.7K bytes - Viewed (0)