Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 583 for m$ (0.02 sec)

  1. docs/iam/access-manager-plugin.go

    1. reqMap := make(map[string]interface{})
    2. err = json.Unmarshal(body, &reqMap)
    3. if err != nil {
    4. writeErrorResponse(w, err)
    5. return
    6. }
    7.  
    8. m := reqMap["input"].(map[string]interface{})
    9. accountValue := m["account"].(string)
    10. actionValue := m["action"].(string)
    11.  
    12. // Allow user `minio` to perform any action.
    13. var res Result
    14. if accountValue == "minio" {
    15. res.Result = true
    16. } else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 08 17:15:20 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. cmd/site-replication-metrics_gen.go

    1. return
    2. }
    3. case "M":
    4. var zb0002 uint32
    5. zb0002, err = dc.ReadMapHeader()
    6. if err != nil {
    7. err = msgp.WrapError(err, "M")
    8. return
    9. }
    10. if z.M == nil {
    11. z.M = make(map[string]*SRStatus, zb0002)
    12. } else if len(z.M) > 0 {
    13. for key := range z.M {
    14. delete(z.M, key)
    15. }
    16. }
    17. for zb0002 > 0 {
    18. zb0002--
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 40.6K bytes
    - Viewed (0)
  3. cmd/site-replication-utils.go

    1. Bucket: rs.Bucket,
    2. Object: rs.Object,
    3. NumBuckets: int64(rs.TotBuckets),
    4. }
    5. for b, st := range rs.BucketStatuses {
    6. if st == ResyncFailed {
    7. m.FailedBuckets = append(m.FailedBuckets, b)
    8. }
    9. }
    10. return &m
    11. }
    12.  
    13. // save in-memory stats to disk
    14. func (sm *siteResyncMetrics) save(ctx context.Context) {
    15. sTimer := time.NewTimer(siteResyncSaveInterval)
    16. defer sTimer.Stop()
    17. for {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java

    1. }
    2.  
    3. /**
    4. * @throws Exception
    5. */
    6. @Test
    7. public void testPutAll() throws Exception {
    8. final Map<String, String> m = new HashMap<String, String>();
    9. m.put("three", "3");
    10. m.put("four", "4");
    11. map.putAll(m);
    12. assertThat(map.get("THREE"), is("3"));
    13. assertThat(map.get("FOUR"), is("4"));
    14. assertThat(map.size(), is(4));
    15. }
    16.  
    17. /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. cmd/bucket-replication-metrics_gen_test.go

    1. if err != nil {
    2. b.Fatal(err)
    3. }
    4. }
    5. }
    6.  
    7. func TestEncodeDecodeActiveWorkerStat(t *testing.T) {
    8. v := ActiveWorkerStat{}
    9. var buf bytes.Buffer
    10. msgp.Encode(&buf, &v)
    11.  
    12. m := v.Msgsize()
    13. if buf.Len() > m {
    14. t.Log("WARNING: TestEncodeDecodeActiveWorkerStat Msgsize() is inaccurate")
    15. }
    16.  
    17. vn := ActiveWorkerStat{}
    18. err := msgp.Decode(&buf, &vn)
    19. if err != nil {
    20. t.Error(err)
    21. }
    22.  
    23. buf.Reset()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/util/DES.java

    1. m = i << 1;
    2. else
    3. m = (15-i) << 1;
    4. n = m+1;
    5. kn[m] = kn[n] = 0;
    6. for ( j = 0; j < 28; ++j ) {
    7. l = j+totrot[i];
    8. if ( l < 28 )
    9. pcr[j] = pc1m[l];
    10. else
    11. pcr[j] = pc1m[l-28];
    12. }
    13. for ( j=28; j < 56; ++j ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 21.4K bytes
    - Viewed (0)
  7. cmd/bucket-replication-utils_gen_test.go

    1. b.Fatal(err)
    2. }
    3. }
    4. }
    5.  
    6. func TestEncodeDecodeBucketReplicationResyncStatus(t *testing.T) {
    7. v := BucketReplicationResyncStatus{}
    8. var buf bytes.Buffer
    9. msgp.Encode(&buf, &v)
    10.  
    11. m := v.Msgsize()
    12. if buf.Len() > m {
    13. t.Log("WARNING: TestEncodeDecodeBucketReplicationResyncStatus Msgsize() is inaccurate")
    14. }
    15.  
    16. vn := BucketReplicationResyncStatus{}
    17. err := msgp.Decode(&buf, &vn)
    18. if err != nil {
    19. t.Error(err)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Aug 22 23:53:06 UTC 2022
    - 23K bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/SipHashFunction.java

    1. processM(finalM);
    2.  
    3. // Finalization
    4. v2 ^= 0xFFL;
    5. sipRound(d);
    6. return HashCode.fromLong(v0 ^ v1 ^ v2 ^ v3);
    7. }
    8.  
    9. private void processM(long m) {
    10. v3 ^= m;
    11. sipRound(c);
    12. v0 ^= m;
    13. }
    14.  
    15. private void sipRound(int iterations) {
    16. for (int i = 0; i < iterations; i++) {
    17. v0 += v1;
    18. v2 += v3;
    19. v1 = Long.rotateLeft(v1, 13);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.3K bytes
    - Viewed (0)
  9. tests/tests_test.go

    1. }
    2.  
    3. if err = DB.AutoMigrate(allModels...); err != nil {
    4. log.Printf("Failed to auto migrate, but got error %v\n", err)
    5. os.Exit(1)
    6. }
    7.  
    8. for _, m := range allModels {
    9. if !DB.Migrator().HasTable(m) {
    10. log.Printf("Failed to create table for %#v\n", m)
    11. os.Exit(1)
    12. }
    13. }
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Sep 30 03:21:19 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. src/cmd/api/testdata/src/pkg/p4/golden.txt

    1. pkg p4, func NewPair[$0 interface{ M }, $1 interface{ ~int }]($0, $1) Pair[$0, $1]
    2. pkg p4, method (Pair[$0, $1]) Second() $1
    3. pkg p4, method (Pair[$0, $1]) First() $0
    4. pkg p4, type Pair[$0 interface{ M }, $1 interface{ ~int }] struct
    5. pkg p4, func Clone[$0 interface{ ~[]$1 }, $1 interface{}]($0) $0
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Jan 26 19:39:32 UTC 2024
    - 329 bytes
    - Viewed (0)
Back to top