Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 569 for addLine (0.12 sec)

  1. src/cmd/pack/pack_test.go

    func TestTableOfContents(t *testing.T) {
    	dir := t.TempDir()
    	name := filepath.Join(dir, "pack.a")
    	ar := openArchive(name, os.O_RDWR|os.O_CREATE, nil)
    
    	// Add some entries by hand.
    	ar.addFile(helloFile.Reset())
    	ar.addFile(goodbyeFile.Reset())
    	ar.a.File().Close()
    
    	// Now print it.
    	var buf strings.Builder
    	stdout = &buf
    	verbose = true
    	defer func() {
    		stdout = os.Stdout
    		verbose = false
    	}()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 04 16:27:35 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  2. cmd/bucket-stats.go

    		bs.ReplicatedSize > 0 ||
    		bs.ReplicaSize > 0
    }
    
    func (bs *BucketReplicationStat) updateXferRate(sz int64, duration time.Duration) {
    	if sz > minLargeObjSize {
    		bs.XferRateLrg.addSize(sz, duration)
    	} else {
    		bs.XferRateSml.addSize(sz, duration)
    	}
    }
    
    // RMetricName - name of replication metric
    type RMetricName string
    
    const (
    	// Large - objects larger than 128MiB
    	Large RMetricName = "Large"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/model/internal/fixture/ModelRegistryHelperExtension.java

        }
    
        public static void addLink(MutableModelNode node, String path, Transformer<ModelRegistration, ModelRegistrations.Builder> definition) {
            addLink(node, ModelPath.path(path), definition);
        }
    
        public static void addLink(MutableModelNode node, ModelPath path, Transformer<ModelRegistration, ModelRegistrations.Builder> definition) {
            node.addLink(definition.transform(registration(path)));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 18.7K bytes
    - Viewed (0)
  4. docs/bucket/replication/setup_3site_replication.sh

    ./mc mb sitec/bucket/
    ./mc version enable sitec/bucket/
    ./mc mb -l sitec/olockbucket
    
    echo "adding replication rule for a -> b : ${remote_arn}"
    sleep 1
    ./mc replicate add sitea/bucket/ \
    	--remote-bucket http://minio:minio123@127.0.0.1:9004/bucket \
    	--replicate "existing-objects,delete,delete-marker,replica-metadata-sync"
    sleep 1
    
    echo "adding replication rule for b -> a : ${remote_arn}"
    ./mc replicate add siteb/bucket/ \
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/symtab.go

    		moduledata.AddAddr(ctxt.Arch, sym)
    		moduledata.AddUint(ctxt.Arch, len)
    		moduledata.AddUint(ctxt.Arch, len)
    	}
    
    	sliceSym := func(sym loader.Sym) {
    		slice(sym, uint64(ldr.SymSize(sym)))
    	}
    
    	nilSlice := func() {
    		moduledata.AddUint(ctxt.Arch, 0)
    		moduledata.AddUint(ctxt.Arch, 0)
    		moduledata.AddUint(ctxt.Arch, 0)
    	}
    
    	// The pcHeader
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 16:29:40 UTC 2023
    - 29.2K bytes
    - Viewed (0)
  6. platforms/software/platform-base/src/main/java/org/gradle/platform/base/binary/BaseBinarySpec.java

                })
                .withProjection(new UnmanagedModelProjection<BinaryTasksCollection>(BINARY_TASKS_COLLECTION))
                .descriptor(modelNode.getDescriptor())
                .build();
            modelNode.addLink(itemRegistration);
    
            namingScheme = DefaultBinaryNamingScheme
                .component(parentComponentName())
                .withBinaryName(getName())
                .withBinaryType(getTypeName());
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/dependencyManagement/customizingResolution-metadataRule/kotlin/build.gradle.kts

                            attributes.attribute(TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE, targetJvmVersion)
                        }
                        withFiles {
                            removeAllFiles()
                            addFile("guava-$version-$jarName.jar", "../$version-$jarName/guava-$version-$jarName.jar")
                        }
                    }
                }
            }
        }
    }
    // end::guava-rule[]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/dependencyManagement/customizingResolution-metadataRule/groovy/build.gradle

                        }
                        withFiles {
                            removeAllFiles()
                            addFile("guava-$version-${jarName}.jar", "../$version-$jarName/guava-$version-${jarName}.jar")
                        }
                    }
                }
            }
        }
    }
    // end::guava-rule[]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  9. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenScopesTestIntegTest.groovy

                        }
                    }
                }
    
                dependencies {
                    custom 'log4j:log4j:1.2.17'
                }
            """
        }
    
        def "test adding custom variant with dependency mapped to Maven runtime scope"() {
            given:
            buildFile << """
                components.java.addVariantsFromConfiguration(configurations.custom) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/external/model/AbstractMutableModuleComponentResolveMetadataTest.groovy

            given:
            def v1 = metadata.addVariant("api", attributes(usage: "compile"),)
            v1.addFile("f1", "dir/f1")
            v1.addFile("f2.jar", "f2-1.2.jar")
            def v2 = metadata.addVariant("runtime", attributes(usage: "runtime"),)
            v2.addFile("f1", "dir/f1")
    
            expect:
            metadata.variants.size() == 2
            metadata.variants[0].name == "api"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 00:21:07 UTC 2024
    - 14.2K bytes
    - Viewed (0)
Back to top