Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for Compact (0.19 sec)

  1. cmd/data-scanner.go

    		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 {
    				if v, ok := f.newCache.Cache[k]; ok {
    					if len(v.Children) > 0 || v.Objects > 1 {
    						compact = false
    						break
    					}
    				}
    			}
    
    		}
    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)
  2. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10DebugTypeRenderer.kt

            val lowerBoundText = prettyPrint { renderType(type.lowerBound, this@prettyPrint) }
            val upperBoundText = prettyPrint { renderType(type.upperBound, this@prettyPrint) }
            printer.append(DescriptorRenderer.COMPACT.renderFlexibleType(lowerBoundText, upperBoundText, type.builtIns))
        }
    
        private fun Fe10AnalysisContext.renderDefinitelyNotNullType(type: DefinitelyNotNullType, printer: PrettyPrinter) {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  3. 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)
  4. cmd/data-usage-cache.go

    func (d *dataUsageCache) reduceChildrenOf(path dataUsageHash, limit int, compactSelf bool) {
    	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
    	}
    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)
  5. android/guava/src/com/google/common/base/Preconditions.java

     *   if (value < 0) {
     *     throw new IllegalArgumentException("input is negative: " + value);
     *   }
     *   // calculate square root
     * }
     * }</pre>
     *
     * <p>to be replaced with the more compact
     *
     * <pre>{@code
     * public static double sqrt(double value) {
     *   checkArgument(value >= 0, "input is negative: %s", value);
     *   // calculate square root
     * }
     * }</pre>
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.30.md

       ([#122729](https://github.com/kubernetes/kubernetes/pull/122729), [@jparrill](https://github.com/jparrill))
    Plain Text
    - Registered: Fri May 03 09:05:14 GMT 2024
    - Last Modified: Wed Apr 17 17:56:15 GMT 2024
    - 227.9K bytes
    - Viewed (0)
  7. fastapi/_compat.py

                json_schema["title"] = (
                    field.field_info.title or field.alias.title().replace("_", " ")
                )
            return json_schema
    
        def get_compat_model_name_map(fields: List[ModelField]) -> ModelNameMap:
            return {}
    
        def get_definitions(
            *,
            fields: List[ModelField],
            schema_generator: GenerateJsonSchema,
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelNormalizer.java

                }
            }
    
            /*
             * NOTE: This is primarily to keep backward-compat with Maven 2.x which did not validate that dependencies are
             * unique within a single POM. Upon multiple declarations, 2.x just kept the last one but retained the order of
             * the first occurrence. So when we're in lenient/compat mode, we have to deal with such broken POMs and mimic
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

                    .collect(Collectors.toList());
        }
    
        private Map<String, Lifecycle> lookupLifecycles() {
            // TODO: Remove the following code when maven-compat is gone
            // This code is here to ensure maven-compat's EmptyLifecycleExecutor keeps on working.
            if (lookup == null) {
                return customLifecycles != null ? customLifecycles : new HashMap<>();
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6K bytes
    - Viewed (0)
  10. cmd/main.go

    	// Deprecated flag, so its hidden now, existing deployments will keep working.
    	cli.BoolFlag{
    		Name:   "compat",
    		Usage:  "enable strict S3 compatibility by turning off certain performance optimizations",
    		Hidden: true,
    	},
    	// This flag is hidden and to be used only during certain performance testing.
    	cli.BoolFlag{
    		Name:   "no-compat",
    		Usage:  "disable strict S3 compatibility by turning on certain performance optimizations",
    		Hidden: true,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 6.4K bytes
    - Viewed (0)
Back to top