Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for addData (0.22 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. cmd/bucket-replication_test.go

    				VersionID:         "a3348c34-c352-4498-82f0-1098e8b34df9",
    				UserDefined:       map[string]string{xhttp.MinIOReplicationResetStatus: fmt.Sprintf("%s;%s", UTCNow().AddDate(0, 0, -1).Format(http.TimeFormat), "abc")},
    				ModTime:           UTCNow().AddDate(0, 0, -2),
    			},
    			expectedSync: true,
    			dsc:          ReplicateDecision{targetsMap: map[string]replicateTargetDecision{"arn1": newReplicateTargetDecision("arn1", true, false)}},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Sep 16 09:28:06 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  7. test-site/activator

        done
        echo ""
      }
    
      exec "$@"
    }
    addJava () {
      dlog "[addJava] arg = '$1'"
      java_args=( "${java_args[@]}" "$1" )
    }
    addApp () {
      dlog "[addApp] arg = '$1'"
      sbt_commands=( "${app_commands[@]}" "$1" )
    }
    addResidual () {
      dlog "[residual] arg = '$1'"
      residual_args=( "${residual_args[@]}" "$1" )
    }
    addDebugger () {
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 9.3K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top