Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 575 for format (0.27 sec)

  1. maven-slf4j-provider/src/main/java/org/apache/maven/slf4j/MavenFailOnSeverityLogger.java

            super.warn(format, arg);
            logLevelRecorder.record(Level.WARN);
        }
    
        /**
         * Perform double parameter substitution before logging the message of level
         * WARN according to the format outlined above.
         */
        @Override
        public void warn(String format, Object arg1, Object arg2) {
            super.warn(format, arg1, arg2);
            logLevelRecorder.record(Level.WARN);
        }
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jan 09 06:36:58 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. src/cmd/covdata/dump.go

    		}
    	}
    }
    
    func (d *dstate) Finish() {
    	// d.format maybe nil here if the specified input dir was empty.
    	if d.format != nil {
    		if d.cmd == percentMode {
    			d.format.EmitPercent(os.Stdout, "", false, false)
    		}
    		if d.cmd == funcMode {
    			d.format.EmitFuncs(os.Stdout)
    		}
    		if d.textfmtoutf != nil {
    			if err := d.format.EmitTextual(d.textfmtoutf); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:36:57 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/convert/TimestampConversionUtilTest.java

            assertThat(new SimpleDateFormat("yyyy/MM/dd HH:mm:ss").format(date), is("2010/09/07 11:49:00"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToDate_MediumStyle() throws Exception {
            final Date date = toDate("2010/9/7 11:49:10", Locale.JAPAN);
            assertThat(new SimpleDateFormat("yyyy/MM/dd HH:mm:ss").format(date), is("2010/09/07 11:49:10"));
        }
    
        /**
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/project/interpolation/BuildTimestampValueSource.java

        private final Date startTime;
    
        private final String format;
    
        private String formattedDate;
    
        public BuildTimestampValueSource(Date startTime, String format) {
            super(false);
            this.startTime = startTime;
            this.format = format;
        }
    
        public Object getValue(String expression) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Dec 26 15:12:32 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  5. 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 Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 16 22:05:16 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  6. src/archive/tar/reader.go

    				hdr.Format = FormatUnknown // Numeric fields must end in NUL
    			}
    		case format.has(formatSTAR):
    			star := tr.blk.toSTAR()
    			prefix = p.parseString(star.prefix())
    			hdr.AccessTime = time.Unix(p.parseNumeric(star.accessTime()), 0)
    			hdr.ChangeTime = time.Unix(p.parseNumeric(star.changeTime()), 0)
    		case format.has(FormatGNU):
    			hdr.Format = format
    			var p2 parser
    			gnu := tr.blk.toGNU()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java

              thread.setUncaughtExceptionHandler(uncaughtExceptionHandler);
            }
            return thread;
          }
        };
      }
    
      private static String format(String format, Object... args) {
        return String.format(Locale.ROOT, format, args);
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 10 21:56:03 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  8. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  9. utils/tests/utils.go

    		isEqual := func() {
    			if curTime, ok := got.(time.Time); ok {
    				format := "2006-01-02T15:04:05Z07:00"
    
    				if curTime.Round(time.Second).UTC().Format(format) != expect.(time.Time).Round(time.Second).UTC().Format(format) && curTime.Truncate(time.Second).UTC().Format(format) != expect.(time.Time).Truncate(time.Second).UTC().Format(format) {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Mar 10 09:21:56 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  10. src/archive/tar/reader_test.go

    		}
    		return sps
    	}
    
    	makeInput := func(format Format, size string, sps ...string) (out []byte) {
    		// Write the initial GNU header.
    		var blk block
    		gnu := blk.toGNU()
    		sparse := gnu.sparse()
    		copy(gnu.realSize(), size)
    		sps = populateSparseMap(sparse, sps)
    		if format != FormatUnknown {
    			blk.setFormat(format)
    		}
    		out = append(out, blk[:]...)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 21 21:14:38 UTC 2022
    - 47.1K bytes
    - Viewed (0)
Back to top