Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for ll (0.19 sec)

  1. cmd/lock-rest-server-common_test.go

    		TimeLastRefresh: UTCNow(),
    	}
    
    	locker.ll.lockMap["name"] = []lockRequesterInfo{
    		lockRequesterInfo1,
    		lockRequesterInfo2,
    	}
    
    	lri := locker.ll.lockMap["name"]
    
    	// test unknown uid
    	if locker.ll.removeEntry("name", dsync.LockArgs{
    		Owner: "owner",
    		UID:   "unknown-uid",
    	}, &lri) {
    		t.Errorf("Expected %#v, got %#v", false, true)
    	}
    
    	if !locker.ll.removeEntry("name", dsync.LockArgs{
    		Owner: "owner",
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Mar 23 17:26:21 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  2. cmd/lock-rest-server.go

    )
    
    // To abstract a node over network.
    type lockRESTServer struct {
    	ll *localLocker
    }
    
    // RefreshHandler - refresh the current lock
    func (l *lockRESTServer) RefreshHandler(args *dsync.LockArgs) (*dsync.LockResp, *grid.RemoteErr) {
    	resp := lockRPCRefresh.NewResponse()
    	refreshed, err := l.ll.Refresh(context.Background(), *args)
    	if err != nil {
    		return l.makeResp(resp, err)
    	}
    	if !refreshed {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  3. istioctl/pkg/admin/istiodconfig.go

    	}
    
    	return nil
    }
    
    type logLevelState struct {
    	client         *ControlzClient
    	outputLogLevel string
    }
    
    func (ll *logLevelState) run(_ io.Writer) error {
    	scopeInfos, err := newScopeInfosFromScopeLevelPairs(ll.outputLogLevel)
    	if err != nil {
    		return err
    	}
    	err = ll.client.PutScopes(scopeInfos)
    	if err != nil {
    		return err
    	}
    	return nil
    }
    
    type stackTraceLevelState struct {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  4. istioctl/pkg/proxyconfig/proxyconfig.go

    					resp, err = setupEnvoyLogConfig(kubeClient, "", podName, podNamespace)
    				} else {
    					if ll, ok := destLoggerLevels[defaultLoggerName]; ok {
    						// update levels of all loggers first
    						resp, err = setupEnvoyLogConfig(kubeClient, defaultLoggerName+"="+levelToString[ll], podName, podNamespace)
    					}
    					for lg, ll := range destLoggerLevels {
    						if lg == defaultLoggerName {
    							continue
    						}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  5. misc/go_android_exec/main.go

    	for i := 1; i <= len(exitStr); i++ {
    		fmt.Fprintf(&exitReStr, "%s$|", exitStr[:i])
    	}
    	// Finally, match the exit string along with an exit code.
    	// This is the only case we use a group, and we'll use this
    	// group to extract the numeric code.
    	fmt.Fprintf(&exitReStr, "%s([0-9]+)$", exitStr)
    	exitRe := regexp.MustCompile(exitReStr.String())
    
    	return &exitCodeFilter{w: w, exitRe: exitRe}, exitStr
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  6. operator/cmd/mesh/profile-dump.go

    }
    
    // Convert the generated YAML to pretty JSON.
    func yamlToPrettyJSON(yml string) (string, error) {
    	// YAML objects are not completely compatible with JSON
    	// objects. Let yaml.YAMLToJSON handle the edge cases and
    	// we'll re-encode the result to pretty JSON.
    	uglyJSON, err := yaml.YAMLToJSON([]byte(yml))
    	if err != nil {
    		return "", err
    	}
    	var decoded any
    	if uglyJSON[0] == '[' {
    		decoded = make([]any, 0)
    	} else {
    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)
  7. src/cmd/cgo/gcc.go

    				}
    			}
    		}
    	}
    	f.Preamble = strings.Join(linesOut, "\n")
    }
    
    // addToFlag appends args to flag.
    func (p *Package) addToFlag(flag string, args []string) {
    	if flag == "CFLAGS" {
    		// We'll also need these when preprocessing for dwarf information.
    		// However, discard any -g options: we need to be able
    		// to parse the debug info, so stick to what we expect.
    		for _, arg := range args {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  8. src/archive/zip/reader.go

    	needCSize := f.CompressedSize == ^uint32(0)
    	needHeaderOffset := f.headerOffset == int64(^uint32(0))
    
    	// Best effort to find what we need.
    	// Other zip authors might not even follow the basic format,
    	// and we'll just ignore the Extra content in that case.
    	var modified time.Time
    parseExtras:
    	for extra := readBuf(f.Extra); len(extra) >= 4; { // need at least tag and size
    		fieldTag := extra.uint16()
    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)
  9. cmd/iam.go

    		}
    
    		allDistNames = append(allDistNames, parentUser)
    	}
    
    	expiredUsers, err := sys.LDAPConfig.GetNonEligibleUserDistNames(allDistNames)
    	if err != nil {
    		// Log and return on error - perhaps it'll work the next time.
    		iamLogIf(GlobalContext, err)
    		return
    	}
    
    	// We ignore any errors
    	_ = sys.store.DeleteUsers(ctx, expiredUsers)
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
Back to top