Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 663 for format (0.26 sec)

  1. src/archive/tar/format.go

    	FormatGNU
    
    	// Schily's tar format, which is incompatible with USTAR.
    	// This does not cover STAR extensions to the PAX format; these fall under
    	// the PAX format.
    	formatSTAR
    
    	formatMax
    )
    
    func (f Format) has(f2 Format) bool   { return f&f2 != 0 }
    func (f *Format) mayBe(f2 Format)     { *f |= f2 }
    func (f *Format) mayOnlyBe(f2 Format) { *f &= f2 }
    func (f *Format) mustNotBe(f2 Format) { *f &^= f2 }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  2. cmd/format-erasure.go

    			osErrToFileErr(err)))
    	}
    
    	// format-V2 struct is exactly same as format-V1 except that version is "3"
    	// which indicates the simplified multipart backend.
    	formatV3 := formatErasureV3{}
    	formatV3.Version = formatV2.Version
    	formatV3.Format = formatV2.Format
    	formatV3.Erasure = formatV2.Erasure
    	formatV3.Erasure.Version = formatErasureVersionV3
    
    	return json.Marshal(formatV3)
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  3. cmd/format-erasure_test.go

    			t.Fatal(err)
    		}
    	}
    
    	format := newFormatErasureV3(1, 8)
    	format.Erasure.DistributionAlgo = formatErasureVersionV2DistributionAlgoV1
    	formats := make([]*formatErasureV3, 8)
    
    	for j := 0; j < 8; j++ {
    		newFormat := format.Clone()
    		newFormat.Erasure.This = format.Erasure.Sets[0][j]
    		formats[j] = newFormat
    	}
    
    	formats[1] = nil
    	expThis := formats[2].Erasure.This
    	formats[2].Erasure.This = ""
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  4. cmd/xl-storage-format_test.go

    		t.Errorf("Expected the Version to be \"%s\", but got \"%s\".", unMarshalXLMeta.Version, jsoniterXLMeta.Version)
    	}
    	if unMarshalXLMeta.Format != jsoniterXLMeta.Format {
    		t.Errorf("Expected the format to be \"%s\", but got \"%s\".", unMarshalXLMeta.Format, jsoniterXLMeta.Format)
    	}
    	if unMarshalXLMeta.Stat.Size != jsoniterXLMeta.Stat.Size {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-v1_gen.go

    		case "Version":
    			z.Version, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Version")
    				return
    			}
    		case "Format":
    			z.Format, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Format")
    				return
    			}
    		case "Stat":
    			err = z.Stat.DecodeMsg(dc)
    			if err != nil {
    				err = msgp.WrapError(err, "Stat")
    				return
    			}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 40.2K bytes
    - Viewed (0)
  6. cmd/xl-storage-format-v2_test.go

    Klaus Post <******@****.***> 1709920248 +0100
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 08 17:50:48 GMT 2024
    - 36.4K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-v2_gen_test.go

    Klaus Post <******@****.***> 1637266522 -0800
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Nov 18 20:15:22 GMT 2021
    - 11.5K bytes
    - Viewed (0)
  8. cmd/xl-storage-format-v1_gen_test.go

    Krishnan Parthasarathi <******@****.***> 1618853442 -0700
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 13.2K bytes
    - Viewed (0)
  9. cmd/signature-v4_test.go

    	testCases := []struct {
    		form     http.Header
    		expected APIErrorCode
    	}{
    		// (0) It should fail if 'X-Amz-Credential' is missing.
    		{
    			form:     http.Header{},
    			expected: ErrCredMalformed,
    		},
    		// (1) It should fail if the access key is incorrect.
    		{
    			form: http.Header{
    				"X-Amz-Credential": []string{fmt.Sprintf(credentialTemplate, "EXAMPLEINVALIDEXAMPL", now.Format(yyyymmdd), globalMinioDefaultRegion)},
    			},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 10.4K bytes
    - Viewed (1)
  10. 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"));
        }
    
        /**
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 11.4K bytes
    - Viewed (0)
Back to top