Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 67 for setLinger (0.13 sec)

  1. staging/src/k8s.io/apiserver/pkg/cel/types.go

    		celType:           celType,
    		defaultValue:      zeroVal,
    		MinSerializedSize: minSize,
    	}
    }
    
    // DeclType represents the universal type descriptor for OpenAPIv3 types.
    type DeclType struct {
    	fmt.Stringer
    
    	name string
    	// Fields contains a map of escaped CEL identifier field names to field declarations.
    	Fields      map[string]*DeclField
    	KeyType     *DeclType
    	ElemType    *DeclType
    	TypeParam   bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 08 15:52:31 UTC 2023
    - 18K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/printf.go

    			return false
    		}
    	}
    	return true
    }
    
    // recursiveStringer reports whether the argument e is a potential
    // recursive call to stringer or is an error, such as t and &t in these examples:
    //
    //	func (t *T) String() string { printf("%s",  t) }
    //	func (t  T) Error() string { printf("%s",  t) }
    //	func (t  T) String() string { printf("%s", &t) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  3. tools/bug-report/pkg/cluster/cluster.go

    	for _, c := range p.Spec.Containers {
    		if c.Name == common.ProxyContainerName || c.Name == common.DiscoveryContainerName {
    			return imageToVersion(c.Image)
    		}
    	}
    	return ""
    }
    
    // String implements the Stringer interface.
    func (r *Resources) String() string {
    	return resourcesStringImpl(r.Root, "")
    }
    
    func resourcesStringImpl(node any, prefix string) string {
    	out := ""
    	if node == nil {
    		return ""
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Dec 14 02:11:31 UTC 2023
    - 10.9K bytes
    - Viewed (1)
  4. src/runtime/error.go

    			continue
    		}
    		i++
    		switch fmt[i] {
    		case 'x':
    			b = appendIntStr(b, e.x, e.signed)
    		case 'y':
    			b = appendIntStr(b, int64(e.y), true)
    		}
    	}
    	return string(b)
    }
    
    type stringer interface {
    	String() string
    }
    
    // printpanicval prints an argument passed to panic.
    // If panic is called with a value that has a String or Error method,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  5. src/net/netip/fuzz_test.go

    	if !bytes.Equal(buf, buf2) {
    		t.Fatalf("%v: MarshalText = %q, AppendTo = %q", x, buf, buf2)
    	}
    }
    
    type netipType interface {
    	encoding.BinaryMarshaler
    	encoding.TextMarshaler
    	fmt.Stringer
    	IsValid() bool
    }
    
    type netipTypeCmp interface {
    	comparable
    	netipType
    }
    
    // checkStringParseRoundTrip checks that x's String method and the provided parse function can round trip correctly.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 20 23:46:23 UTC 2021
    - 10.5K bytes
    - Viewed (0)
  6. cmd/erasure-server-pool-rebalance.go

    	}
    	rs.Bytes += uint64(onDiskSz)
    	rs.Bucket = bucket
    	rs.Object = fi.Name
    }
    
    type rstats []*rebalanceStats
    
    //go:generate stringer -type=rebalStatus -trimprefix=rebal $GOFILE
    type rebalStatus uint8
    
    const (
    	rebalNone rebalStatus = iota
    	rebalStarted
    	rebalCompleted
    	rebalStopped
    	rebalFailed
    )
    
    type rebalanceInfo struct {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 03 15:45:54 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  7. src/cmd/internal/objfile/disasm.go

    		text, size := d.disasm(code[i:], pc, lookup, d.byteOrder, gnuAsm)
    		file, line, _ := d.pcln.PCToLine(pc)
    		sep := "\t"
    		for len(relocs) > 0 && relocs[0].Addr < i+uint64(size) {
    			text += sep + relocs[0].Stringer.String(pc-start)
    			sep = " "
    			relocs = relocs[1:]
    		}
    		f(pc, uint64(size), file, line, text)
    		pc += uint64(size)
    	}
    }
    
    type lookupFunc = func(addr uint64) (sym string, base uint64)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  8. tests/integration/telemetry/policy/helper_test.go

    // when configuring the sidecar for the client
    type TrafficPolicy string
    
    const (
    	AllowAny     TrafficPolicy = "ALLOW_ANY"
    	RegistryOnly TrafficPolicy = "REGISTRY_ONLY"
    )
    
    // String implements fmt.Stringer
    func (t TrafficPolicy) String() string {
    	return string(t)
    }
    
    // We want to test "external" traffic. To do this without actually hitting an external endpoint,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/validating/dispatcher.go

    	}
    	ctx, span := tracing.Start(ctx, "Call validating webhook",
    		attribute.String("configuration", invocation.Webhook.GetConfigurationName()),
    		attribute.String("webhook", h.Name),
    		attribute.Stringer("resource", attr.GetResource()),
    		attribute.String("subresource", attr.GetSubresource()),
    		attribute.String("operation", string(attr.GetOperation())),
    		attribute.String("UID", string(uid)))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 23 20:24:12 UTC 2023
    - 13K bytes
    - Viewed (0)
  10. src/regexp/syntax/regexp.go

    	Rune0    [2]rune    // storage for short Rune
    	Min, Max int        // min, max for OpRepeat
    	Cap      int        // capturing index, for OpCapture
    	Name     string     // capturing name, for OpCapture
    }
    
    //go:generate stringer -type Op -trimprefix Op
    
    // An Op is a single regular expression operator.
    type Op uint8
    
    // Operators are listed in precedence order, tightest binding to weakest.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:51 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top