Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,121 for format$1 (0.06 sec)

  1. internal/color/color.go

    	}()
    
    	Red = func() func(format string, a ...interface{}) string {
    		if IsTerminal() {
    			return color.New(color.FgRed).SprintfFunc()
    		}
    		return fmt.Sprintf
    	}()
    
    	Blue = func() func(format string, a ...interface{}) string {
    		if IsTerminal() {
    			return color.New(color.FgBlue).SprintfFunc()
    		}
    		return fmt.Sprintf
    	}()
    
    	Yellow = func() func(format string, a ...interface{}) string {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 17:57:52 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/compare/sds/writer_test.go

    	"testing"
    )
    
    func TestSDSWriterSecretItems(t *testing.T) {
    	tests := []struct {
    		name       string
    		format     Format
    		items      []SecretItem
    		expected   []string
    		unexpected []string
    	}{
    		{
    			name:       "test tabular output with no secret items is equivalent to the header",
    			format:     TABULAR,
    			items:      []SecretItem{},
    			expected:   []string{},
    			unexpected: secretItemColumns,
    		},
    		{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri May 29 20:42:01 UTC 2020
    - 4.9K bytes
    - Viewed (0)
  3. build-logic-commons/code-quality-rules/src/main/resources/checkstyle/checkstyle.xml

            <module name="MemberName">
                <property name="format" value="^[a-z_][a-zA-Z0-9_]*$"/>
            </module>
            <module name="MethodName">
                <property name="format" value="^[a-z_][a-zA-Z0-9_]*$"/>
            </module>
            <module name="PackageName">
                <property name="format" value="^[a-z]+(\.[a-z][a-z0-9]*)*$"/>
            </module>
            <module name="ParameterName"/>
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Dec 16 22:05:16 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  4. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilderTest.groovy

            prop.additionalValues.size() == 3
            format(prop.additionalValues[0].title) == 'inherited'
            format(prop.additionalValues[0].value) == 'specific1'
            format(prop.additionalValues[1].title) == 'overridden'
            format(prop.additionalValues[1].value) == 'specific3'
            format(prop.additionalValues[2].title) == 'added'
            format(prop.additionalValues[2].value) == 'specific2'
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 7.6K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/XslTransformer.java

            String destDir = "";
            if (args.length > 3) {
                destDir = args[3];
            }
    
            System.out.format("=> stylesheet %s%n", stylesheet);
            System.out.format("=> source %s%n", source);
            System.out.format("=> dest %s%n", dest);
            System.out.format("=> destDir %s%n", destDir);
    
            TransformerFactory factory = TransformerFactory.newInstance();
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  6. docs/debugging/reorder-disks/main.go

    	return result, nil
    }
    
    func getFormatJSON(path string) (format, error) {
    	formatJSON, err := os.ReadFile(filepath.Join(path, ".minio.sys/format.json"))
    	if err != nil {
    		return format{}, err
    	}
    	var f format
    	err = json.Unmarshal(formatJSON, &f)
    	if err != nil {
    		return format{}, err
    	}
    
    	return f, nil
    }
    
    func getDiskLocation(f format) (string, error) {
    	for i, set := range f.XL.Sets {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/LinkRendererTest.groovy

            then:
            format(link) == '<apilink class="org.gradle.SomeClass"/>'
            _ * model.isKnownType('org.gradle.SomeClass') >> true
        }
    
        def rendersLinkToApiClassArray() {
            when:
            def link = renderer.link(type('org.gradle.SomeClass', true), listener)
    
            then:
            format(link) == '<classname><apilink class="org.gradle.SomeClass"/>[]</classname>'
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.9K bytes
    - Viewed (0)
  8. cmd/xl-storage.go

    		return s, err
    	}
    
    	if len(s.formatData) > 0 {
    		format := &formatErasureV3{}
    		json := jsoniter.ConfigCompatibleWithStandardLibrary
    		if err = json.Unmarshal(s.formatData, &format); err != nil {
    			return s, errCorruptedFormat
    		}
    		m, n, err := findDiskIndexByDiskID(format, format.Erasure.This)
    		if err != nil {
    			return s, err
    		}
    		diskID := format.Erasure.This
    		if m != ep.SetIdx || n != ep.DiskIdx {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  9. build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateReleasedVersionsIntegrationTest.groovy

        }
    
        ReleasedVersion releasedVersion(String version, long date = System.currentTimeMillis()) {
            new ReleasedVersion(version, format.format(new Date(date)))
        }
    
        ReleasedVersion snapshot(String baseVersion, long date = System.currentTimeMillis()) {
            releasedVersion("${baseVersion}-${format.format(new Date(date))}", date)
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Aug 17 08:32:56 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

      public void testNameFormatWithPercentS_custom() {
        String format = "super-duper-thread-%s";
        ThreadFactory factory = builder.setNameFormat(format).build();
        for (int i = 0; i < 11; i++) {
          assertEquals(rootLocaleFormat(format, i), factory.newThread(monitoredRunnable).getName());
        }
      }
    
      public void testNameFormatWithPercentD_custom() {
        String format = "super-duper-thread-%d";
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 7.5K bytes
    - Viewed (0)
Back to top