Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for parents (0.26 sec)

  1. istioctl/pkg/multixds/gather.go

    		}
    		responses = append(responses, response)
    		if !all && len(responses) > 0 {
    			break
    		}
    	}
    	return responses, nil
    }
    
    // queryDebugSynczViaAgents sends a debug/syncz xDS request via Istio Agents.
    // By this way, even if istioctl cannot access a specific `istiod` instance directly,
    // `istioctl` can access the debug endpoint.
    // If `all` is true, `queryDebugSynczViaAgents` iterates all the pod having a proxy
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  2. internal/grid/muxclient.go

    	Msg []byte
    	Err error
    }
    
    func newMuxClient(ctx context.Context, muxID uint64, parent *Connection) *muxClient {
    	ctx, cancelFn := context.WithCancelCause(ctx)
    	return &muxClient{
    		MuxID:     muxID,
    		ctx:       ctx,
    		cancelFn:  cancelFn,
    		parent:    parent,
    		LastPong:  time.Now().Unix(),
    		BaseFlags: parent.baseFlags,
    	}
    }
    
    // roundtrip performs a roundtrip, returning the first response.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  3. cmd/common-main.go

    // Cancellation/timeouts are removed, so parent cancellations/timeout will
    // not propagate from parent.
    // Context values are preserved.
    // This can be used for goroutines that live beyond the parent context.
    func bgContext(parent context.Context) context.Context {
    	return bgCtx{parent: parent}
    }
    
    type bgCtx struct {
    	parent context.Context
    }
    
    func (a bgCtx) Done() <-chan struct{} {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  4. cni/pkg/install/cniconfig.go

    	return cniConfigFilepath, nil
    }
    
    // If configured as chained CNI plugin, waits indefinitely for a main CNI config file to exist before returning
    // Or until cancelled by parent context
    func getCNIConfigFilepath(ctx context.Context, cfg pluginConfig) (string, error) {
    	filename := cfg.cniConfName
    
    	if !cfg.chainedCNIPlugin {
    		if len(filename) == 0 {
    			filename = "YYY-istio-cni.conf"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  5. cni/pkg/install/cniconfig_test.go

    			if len(c.expectedConfName) > 0 {
    				expectedFilepath = filepath.Join(tempDir, c.expectedConfName)
    			}
    
    			if !c.chainedCNIPlugin {
    				// Standalone CNI plugin
    				parent := context.Background()
    				ctx1, cancel := context.WithTimeout(parent, 100*time.Millisecond)
    				defer cancel()
    				result, err := getCNIConfigFilepath(ctx1, cfg)
    				if err != nil {
    					assert.Equal(t, result, "")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 17 02:22:22 GMT 2023
    - 15.4K bytes
    - Viewed (0)
  6. cmd/api-response.go

    	listPartsResponse.NextPartNumberMarker = partsInfo.NextPartNumberMarker
    	listPartsResponse.ChecksumAlgorithm = partsInfo.ChecksumAlgorithm
    
    	listPartsResponse.Parts = make([]Part, len(partsInfo.Parts))
    	for index, part := range partsInfo.Parts {
    		newPart := Part{}
    		newPart.PartNumber = part.PartNumber
    		newPart.ETag = "\"" + part.ETag + "\""
    		newPart.Size = part.Size
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
  7. src/cmd/asm/internal/lex/input.go

    	}
    	in.macros[name] = &Macro{
    		name:   name,
    		args:   args,
    		tokens: tokens,
    	}
    }
    
    // macroDefinition returns the list of formals and the tokens of the definition.
    // The argument list is nil for no parens on the definition; otherwise a list of
    // formal argument names.
    func (in *Input) macroDefinition(name string) ([]string, []Token) {
    	prevCol := in.Stack.Col()
    	tok := in.Stack.Next()
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  8. tests/associations_test.go

    	DB.First(&parent1, parent.ID)
    	AssertObjEqual(t, parent, parent1, "ID", "FavChildID")
    }
    
    func TestSaveHasManyCircularReference(t *testing.T) {
    	parent := Parent{}
    	DB.Create(&parent)
    
    	child := Child{ParentID: &parent.ID, Parent: &parent, Name: "HasManyCircularReference"}
    	child1 := Child{ParentID: &parent.ID, Parent: &parent, Name: "HasManyCircularReference1"}
    
    	parent.Children = []*Child{&child, &child1}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Feb 08 08:29:09 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  9. misc/go_android_exec/main.go

    	}
    	if len(parts) >= 4 {
    		modPath = parts[2]
    		modDir = parts[3]
    	}
    
    	return importPath, isStd, modPath, modDir, nil
    }
    
    // adbCopyTree copies testdata, go.mod, go.sum files from subdir
    // and from parent directories all the way up to the root of subdir.
    // go.mod and go.sum files are needed for the go tool modules queries,
    // and the testdata directories for tests.  It is common for tests to
    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)
  10. cmd/data-scanner.go

    			if !into.Compacted {
    				var foundAny bool
    				parent := thisHash
    				for parent != hashPath(f.updateCache.Info.Name) {
    					e := f.updateCache.find(parent.Key())
    					if e == nil || e.Compacted {
    						foundAny = true
    						break
    					}
    					next := f.updateCache.searchParent(parent)
    					if next == nil {
    						foundAny = true
    						break
    					}
    					parent = *next
    				}
    				if !foundAny {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 47.6K bytes
    - Viewed (0)
Back to top