Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 103 for entri (0.13 sec)

  1. internal/logger/message/audit/entry.go

    	entry := NewEntry(deploymentID)
    
    	entry.RemoteHost = handlers.GetSourceIP(r)
    	entry.UserAgent = r.UserAgent()
    	entry.ReqClaims = reqClaims
    	entry.ReqHost = r.Host
    	entry.ReqPath = r.URL.Path
    
    	q := r.URL.Query()
    	reqQuery := make(map[string]string, len(q))
    	for k, v := range q {
    		reqQuery[k] = strings.Join(v, ",")
    	}
    	entry.ReqQuery = reqQuery
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  2. cmd/metacache-entries.go

    	r.candidates = r.candidates[:0]
    	objsAgree := 0
    	objsValid := 0
    	for i := range m {
    		entry := &m[i]
    		// Empty entry
    		if entry.name == "" {
    			continue
    		}
    
    		if entry.isDir() {
    			dirExists++
    			selected = entry
    			continue
    		}
    
    		// Get new entry metadata,
    		// shallow decode.
    		xl, err := entry.xlmeta()
    		if err != nil {
    			if !errors.Is(err, errFileNotFound) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  3. cmd/consolelogger.go

    	}
    }
    
    // Content returns the console stdout log
    func (sys *HTTPConsoleLoggerSys) Content() (logs []log.Entry) {
    	sys.RLock()
    	sys.logBuf.Do(func(p interface{}) {
    		if p != nil {
    			lg, ok := p.(log.Info)
    			if ok {
    				if (lg.Entry != log.Entry{}) {
    					logs = append(logs, lg.Entry)
    				}
    			}
    		}
    	})
    	sys.RUnlock()
    
    	return
    }
    
    // Cancel - cancels the target
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  4. istioctl/pkg/workload/workload_test.go

    			args:              strings.Split("entry configure --name foo -o temp --clusterID cid", " "),
    			expectedException: true,
    			expectedOutput:    "Error: expecting a WorkloadGroup artifact file or the name and namespace of an existing WorkloadGroup\n",
    		},
    		{
    			description:       "Invalid command args - missing valid input spec",
    			args:              strings.Split("entry configure -n bar -o temp --clusterID cid", " "),
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  5. cmd/leak-detect_test.go

    	"created by runtime.gc",
    	// ignore the snapshot function.
    	// since the snapshot is taken here the entry will have the current function too.
    	"pickRelevantGoroutines",
    	"runtime.MHeap_Scavenger",
    	"signal.signal_recv",
    	"sigterm.handler",
    	"runtime_mcall",
    	"goroutine in C code",
    }
    
    // Identify whether the stack trace entry is part of ignoredStackFn .
    func isIgnoredStackFn(stack string) (ok bool) {
    	ok = true
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  6. src/archive/zip/reader.go

    			}
    
    			for dir := path.Dir(name); dir != "."; dir = path.Dir(dir) {
    				dirs[dir] = true
    			}
    
    			idx := len(r.fileList)
    			entry := fileListEntry{
    				name:  name,
    				file:  file,
    				isDir: isDir,
    			}
    			r.fileList = append(r.fileList, entry)
    			if isDir {
    				knownDirs[name] = idx
    			} else {
    				files[name] = idx
    			}
    		}
    		for dir := range dirs {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  7. cmd/peer-rest-client.go

    	go func(ch chan madmin.ReplicationMRF) {
    		defer func() {
    			xhttp.DrainBody(respBody)
    			close(ch)
    		}()
    		for {
    			var entry madmin.ReplicationMRF
    			if err := dec.Decode(&entry); err != nil {
    				return
    			}
    			select {
    			case <-ctx.Done():
    				return
    			case ch <- entry:
    			}
    		}
    	}(ch)
    	return ch, nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  8. cmd/namespace-lock_test.go

    		//    successfully acquiring the lock.
    		// 2) lk2 then needs to advance and remove the resource from lockMap.
    		// 3) lk3 or lk4 (whichever didn't execute in step 1) then executes and creates
    		//    a new entry in lockMap and acquires a lock for the same resource.
    
    		<-lk2ch
    		lk3ok := <-lk3ch
    		lk4ok := <-lk4ch
    
    		if lk3ok && lk4ok {
    			t.Fatalf("multiple locks acquired; iteration=%d, lk3=%t, lk4=%t", i, lk3ok, lk4ok)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 3.1K bytes
    - Viewed (0)
  9. cmd/peer-rest-server.go

    	}
    	var buf bytes.Buffer
    	enc := json.NewEncoder(&buf)
    	for {
    		select {
    		case entry, ok := <-ch:
    			if !ok {
    				return grid.NewRemoteErrString("console log channel closed")
    			}
    			if !entry.SendLog("", madmin.LogMask(mask)) {
    				continue
    			}
    			buf.Reset()
    			if err := enc.Encode(entry); err != nil {
    				return grid.NewRemoteErr(err)
    			}
    			out <- grid.NewBytesWithCopyOf(buf.Bytes())
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  10. src/bufio/example_test.go

    }
    
    // Use a Scanner with a custom split function to parse a comma-separated
    // list with an empty final value.
    func ExampleScanner_emptyFinalToken() {
    	// Comma-separated list; last entry is empty.
    	const input = "1,2,3,4,"
    	scanner := bufio.NewScanner(strings.NewReader(input))
    	// Define a split function that separates on commas.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 4.9K bytes
    - Viewed (0)
Back to top