Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for setTags (0.56 sec)

  1. internal/logger/reqinfo.go

    	if r == nil {
    		return nil
    	}
    	r.Lock()
    	defer r.Unlock()
    	r.tags = append(r.tags, KeyVal{key, val})
    	return r
    }
    
    // SetTags - sets key/val to ReqInfo.tags
    func (r *ReqInfo) SetTags(key string, val interface{}) *ReqInfo {
    	if r == nil {
    		return nil
    	}
    	r.Lock()
    	defer r.Unlock()
    	// Search of tag key already exists in tags
    	var updated bool
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  2. operator/cmd/mesh/profile-dump.go

    	}
    
    	if err := validateProfileOutputFormatFlag(pdArgs.outputFormat); err != nil {
    		return err
    	}
    
    	setFlags := applyFlagAliases(make([]string, 0), pdArgs.manifestsPath, "")
    	if len(args) == 1 {
    		setFlags = append(setFlags, "profile="+args[0])
    	}
    
    	y, _, err := manifest.GenerateConfig(pdArgs.inFilenames, setFlags, true, nil, l)
    	if err != nil {
    		return err
    	}
    	y, err = tpath.GetConfigSubtree(y, "spec")
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  3. operator/cmd/mesh/profile-diff.go

    	l := clog.NewConsoleLogger(cmd.OutOrStdout(), cmd.OutOrStderr(), nil)
    	setFlags := make([]string, 0)
    	if pfArgs.manifestsPath != "" {
    		setFlags = append(setFlags, fmt.Sprintf("installPackagePath=%s", pfArgs.manifestsPath))
    	}
    	return profileDiffInternal(args[0], args[1], setFlags, cmd.OutOrStdout(), l)
    }
    
    func profileDiffInternal(profileA, profileB string, setFlags []string, writer io.Writer, l clog.Logger) (bool, error) {
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/ntlmssp/NtlmMessage.java

         */
        public int getFlags() {
            return flags;
        }
    
        /**
         * Sets the flags for this message.
         *
         * @param flags The flags for this message.
         */
        public void setFlags(int flags) {
            this.flags = flags;
        }
    
        /**
         * Returns the status of the specified flag.
         *
         * @param flag The flag to test (i.e., <code>NTLMSSP_NEGOTIATE_OEM</code>).
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 4.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ntlmssp/NtlmMessage.java

            return this.flags;
        }
    
    
        /**
         * Sets the flags for this message.
         *
         * @param flags
         *            The flags for this message.
         */
        public void setFlags ( int flags ) {
            this.flags = flags;
        }
    
    
        /**
         * Returns the status of the specified flag.
         *
         * @param flag
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/ntlmssp/Type1Message.java

         * @param suppliedWorkstation
         *            The supplied workstation name.
         */
        public Type1Message ( CIFSContext tc, int flags, String suppliedDomain, String suppliedWorkstation ) {
            setFlags(getDefaultFlags(tc) | flags);
            setSuppliedDomain(suppliedDomain);
            setSuppliedWorkstation(suppliedWorkstation);
        }
    
    
        /**
         * Creates a Type-1 message using the given raw Type-1 material.
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Sep 02 12:55:08 GMT 2018
    - 7.8K bytes
    - Viewed (0)
  7. lib/time/mkzip.go

    	"log"
    	"os"
    	"path/filepath"
    	"strings"
    )
    
    func usage() {
    	fmt.Fprintf(os.Stderr, "usage: go run mkzip.go zoneinfo.zip\n")
    	os.Exit(2)
    }
    
    func main() {
    	log.SetPrefix("mkzip: ")
    	log.SetFlags(0)
    	flag.Usage = usage
    	flag.Parse()
    	args := flag.Args()
    	if len(args) != 1 || !strings.HasSuffix(args[0], ".zip") {
    		usage()
    	}
    
    	var zb bytes.Buffer
    	zw := zip.NewWriter(&zb)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 17:32:07 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  8. istioctl/pkg/util/testutil/util.go

    	GoldenFilename string         // Expected output stored in golden file
    
    	WantException bool
    }
    
    func VerifyOutput(t *testing.T, cmd *cobra.Command, c TestCase) {
    	t.Helper()
    
    	cmd.SetArgs(c.Args)
    
    	var out bytes.Buffer
    	cmd.SetOut(&out)
    	cmd.SetErr(&out)
    	cmd.SilenceUsage = true
    
    	fErr := cmd.Execute()
    	output := out.String()
    
    	if c.ExpectedOutput != "" && c.ExpectedOutput != output {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/ntlmssp/Type1Message.java

         * @param suppliedWorkstation The supplied workstation name.
         */
        public Type1Message(int flags, String suppliedDomain,
                String suppliedWorkstation) {
            setFlags(getDefaultFlags() | flags);
            setSuppliedDomain(suppliedDomain);
            if (suppliedWorkstation == null)
                suppliedWorkstation = getDefaultWorkstation();
            setSuppliedWorkstation(suppliedWorkstation);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 8K bytes
    - Viewed (0)
  10. internal/crypto/key.go

    	mac := hmac.New(sha256.New, key[:])
    	mac.Write(bin[:])
    	mac.Sum(partKey[:0])
    	return partKey
    }
    
    // SealETag seals the etag using the object key.
    // It does not encrypt empty ETags because such ETags indicate
    // that the S3 client hasn't sent an ETag = MD5(object) and
    // the backend can pick an ETag value.
    func (key ObjectKey) SealETag(etag []byte) []byte {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 19 20:28:10 GMT 2024
    - 6.4K bytes
    - Viewed (0)
Back to top