- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 101 for compact (0.17 sec)
-
cmd/data-scanner.go
} if !into.Compacted && f.newCache.Info.Name != folder.name { flat := f.newCache.sizeRecursive(thisHash.Key()) flat.Compacted = true var compact bool if flat.Objects < dataScannerCompactLeastObject { compact = true } else { // Compact if we only have objects as children... compact = true for k := range into.Children {
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) -
cmd/data-usage-cache.go
e, ok := d.Cache[path.Key()] if !ok { return } if e.Compacted { return } // If direct children have more, compact all. if len(e.Children) > limit && compactSelf { flat := d.sizeRecursive(path.Key()) flat.Compacted = true d.deleteRecursive(path) d.replaceHashed(path, nil, *flat) return } total := d.totalChildrenRec(path.Key())
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Apr 22 17:49:30 GMT 2024 - 41.4K bytes - Viewed (1) -
src/bytes/buffer_test.go
} c, err := b.ReadByte() if err != nil { t.Fatalf("ReadByte: %v", err) } if c != 'm' { t.Errorf("ReadByte = %q; want %q", c, 'm') } } // Tests that we occasionally compact. Issue 5154. func TestBufferGrowth(t *testing.T) { var b Buffer buf := make([]byte, 1024) b.Write(buf[0:1]) var cap0 int for i := 0; i < 5<<10; i++ { b.Write(buf) b.Read(buf) if i == 0 {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Apr 26 13:31:36 GMT 2024 - 18.6K bytes - Viewed (0) -
istioctl/pkg/proxystatus/proxystatus.go
"istio.io/istio/istioctl/pkg/clioptions" "istio.io/istio/istioctl/pkg/completion" "istio.io/istio/istioctl/pkg/multixds" "istio.io/istio/istioctl/pkg/util/ambient" "istio.io/istio/istioctl/pkg/writer/compare" "istio.io/istio/istioctl/pkg/writer/pilot" pilotxds "istio.io/istio/pilot/pkg/xds" "istio.io/istio/pkg/log" ) var configDumpFile string func readConfigFile(filename string) ([]byte, error) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 6.2K bytes - Viewed (0) -
operator/cmd/mesh/manifest-diff.go
"istio.io/istio/operator/pkg/compare" "istio.io/istio/operator/pkg/util" ) // YAMLSuffix is the suffix of a YAML file. const YAMLSuffix = ".yaml" type manifestDiffArgs struct { // compareDir indicates comparison between directory. compareDir bool // verbose generates verbose output. verbose bool // selectResources constrains the list of resources to compare to only the ones in this list, ignoring all others.
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 5.8K bytes - Viewed (0) -
utils/tests/models.go
Birthday *time.Time Account Account Pets []*Pet NamedPet *Pet Toys []Toy `gorm:"polymorphic:Owner"` Tools []Tools `gorm:"polymorphicType:Type;polymorphicId:CustomID"` CompanyID *int Company Company ManagerID *uint Manager *User Team []User `gorm:"foreignkey:ManagerID"` Languages []Language `gorm:"many2many:UserSpeak;"` Friends []*User `gorm:"many2many:user_friends;"` Active bool }
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Fri Dec 15 08:36:08 GMT 2023 - 2.1K bytes - Viewed (0) -
utils/utils.go
} return "" } const nestedRelationSplit = "__" // NestedRelationName nested relationships like `Manager__Company` func NestedRelationName(prefix, name string) string { return prefix + nestedRelationSplit + name } // SplitNestedRelationName Split nested relationships to `[]string{"Manager","Company"}` func SplitNestedRelationName(name string) []string { return strings.Split(name, nestedRelationSplit) }
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Mon Apr 22 06:43:02 GMT 2024 - 3.8K bytes - Viewed (0) -
src/bytes/example_test.go
} func ExampleCompare() { // Interpret Compare's result by comparing it to zero. var a, b []byte if bytes.Compare(a, b) < 0 { // a less b } if bytes.Compare(a, b) <= 0 { // a less or equal b } if bytes.Compare(a, b) > 0 { // a greater b } if bytes.Compare(a, b) >= 0 { // a greater or equal b } // Prefer Equal to Compare for equality comparisons. if bytes.Equal(a, b) {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Mar 04 15:54:40 GMT 2024 - 15K bytes - Viewed (1) -
callbacks/query.go
ON: clause.Where{Exprs: exprs}, } } parentTableName := clause.CurrentTable for _, rel := range relations { // joins table alias like "Manager, Company, Manager__Company" nestedAlias := utils.NestedRelationName(parentTableName, rel.Name) if _, ok := specifiedRelationsName[nestedAlias]; !ok {
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Mon Jan 29 03:34:57 GMT 2024 - 9.9K bytes - Viewed (0) -
istioctl/pkg/writer/compare/cluster_test.go
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License.
Go - Registered: Wed Mar 06 22:53:12 GMT 2024 - Last Modified: Fri May 29 20:42:01 GMT 2020 - 602 bytes - Viewed (0)