- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for addData (0.19 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) -
src/main/java/org/codelibs/fess/util/UpgradeUtil.java
} catch (final Exception e) { logger.warn("Failed to update {} settings.", index, e); } return false; } public static boolean addData(final Client client, final String index, final String id, final String source) { try { final IndexRequest indexRequest = new IndexRequest(index).id(id).source(source, XContentType.JSON);
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.1K 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/time/mono_test.go
no("tu.In(UTC)", tu.In(UTC)) no("tu.AddDate(1, 1, 1)", tu.AddDate(1, 1, 1)) no("tu.AddDate(0, 0, 0)", tu.AddDate(0, 0, 0)) no("tu.Local()", tu.Local()) no("tu.UTC()", tu.UTC()) no("tu.Round(2)", tu.Round(2)) no("tu.Truncate(2)", tu.Truncate(2)) yes("tm.Add(1)", tm.Add(1)) no("tm.AddDate(1, 1, 1)", tm.AddDate(1, 1, 1)) no("tm.AddDate(0, 0, 0)", tm.AddDate(0, 0, 0)) no("tm.In(UTC)", tm.In(UTC))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 19 17:10:49 UTC 2022 - 8.3K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/MutableCommandLineToolContext.java
import java.io.File; import java.util.List; public interface MutableCommandLineToolContext extends CommandLineToolContext { void setArgAction(Action<List<String>> argAction); void addPath(File pathEntry); void addPath(List<File> path); void addEnvironmentVar(String key, String value);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 1013 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) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/DefaultMutableCommandLineToolContext.java
@Override public void setArgAction(Action<List<String>> argAction) { postArgsAction = argAction; } @Override public void addPath(File pathEntry) { this.path.add(pathEntry); } @Override public void addPath(List<File> path) { this.path.addAll(path); } @Override public List<File> getPath() { return path; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.4K bytes - Viewed (0) -
cmd/config-encrypted_test.go
for _, test := range tests { t.Run("", func(t *testing.T) { ddata, err := madmin.DecryptData(test.cred.String(), bytes.NewReader(test.edata)) if err != nil && test.success { t.Errorf("Expected success, saw failure %v", err) } if err == nil && !test.success { t.Error("Expected failure, saw success") } if test.success { if !bytes.Equal(ddata, data) { t.Errorf("Expected %s, got %s", string(data), string(ddata))
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 20 00:53:08 UTC 2023 - 1.9K 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)