Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 586 for replaceOp (0.15 sec)

  1. cmd/bucket-metadata-sys.go

    	}
    }
    
    // Set - sets a new metadata in-memory.
    // Only a shallow copy is saved and fields with references
    // cannot be modified without causing a race condition,
    // so they should be replaced atomically and not appended to, etc.
    // Data is not persisted to disk.
    func (sys *BucketMetadataSys) Set(bucket string, meta BucketMetadata) {
    	if !isMinioMetaBucketName(bucket) {
    		sys.Lock()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  2. cmd/http-tracer.go

    	op = strings.Replace(op, "objectAPIHandlers", "s3", 1)
    	op = strings.Replace(op, "adminAPIHandlers", "admin", 1)
    	op = strings.Replace(op, "(*storageRESTServer)", "storageR", 1)
    	op = strings.Replace(op, "(*peerRESTServer)", "peer", 1)
    	op = strings.Replace(op, "(*lockRESTServer)", "lockR", 1)
    	op = strings.Replace(op, "(*stsAPIHandlers)", "sts", 1)
    	op = strings.Replace(op, "(*peerS3Server)", "s3", 1)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. tests/associations_has_many_test.go

    	)
    
    	AssertAssociationCount(t, users, "Pets", 10, "After Append")
    
    	// Replace -> same as append
    	DB.Model(&users).Association("Pets").Replace(
    		[]*Pet{{Name: "pet-slice-replace-1-1"}, {Name: "pet-slice-replace-1-2"}},
    		[]*Pet{{Name: "pet-slice-replace-2-1"}, {Name: "pet-slice-replace-2-2"}},
    		&Pet{Name: "pet-slice-replace-3"},
    	)
    
    	AssertAssociationCount(t, users, "Pets", 5, "After Append")
    
    	// Delete
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 16K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapReplaceEntryTester.java

      public void testReplaceEntry_supportedPresent() {
        assertTrue(getMap().replace(k0(), v0(), v3()));
        expectReplacement(entry(k0(), v3()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testReplaceEntry_supportedPresentUnchanged() {
        assertTrue(getMap().replace(k0(), v0(), v0()));
        expectUnchanged();
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/MultipartReaderTest.kt

          """
          |--simple boundary
          |
          |abcd
          |--simple boundary
          |
          |efgh
          |--simple boundary--
          """.trimMargin()
            .replace("\n", "\r\n")
            .replace(Regex("(?m)abcd\r\n"), "abcd\n")
    
        val parts =
          MultipartReader(
            boundary = "simple boundary",
            source = Buffer().writeUtf8(multipart),
          )
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  6. tests/multi_primary_keys_test.go

    		t.Fatalf("Preload many2many relations")
    	}
    
    	// Replace
    	tag5 := &Tag{Locale: "ZH", Value: "tag5"}
    	tag6 := &Tag{Locale: "ZH", Value: "tag6"}
    	DB.Model(&blog).Association("Tags").Replace(tag5, tag6)
    	var tags2 []Tag
    	DB.Model(&blog).Association("Tags").Find(&tags2)
    	if !compareTags(tags2, []string{"tag5", "tag6"}) {
    		t.Fatalf("Should find 2 tags after Replace")
    	}
    
    	if DB.Model(&blog).Association("Tags").Count() != 2 {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 12.8K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceTester.java

        try {
          assertEquals(v0(), getMap().replace(k0(), v3()));
          expectReplacement(entry(k0(), v3()));
        } catch (ClassCastException tolerated) { // for ClassToInstanceMap
          expectUnchanged();
        }
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testReplace_supportedPresentNoChange() {
        assertEquals(v0(), getMap().replace(k0(), v0()));
        expectUnchanged();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. src/main/webapp/js/admin/plugins/form-validator/sanitize.js

    unction(a){return a.toLocaleLowerCase()},trim:function(b){return a.trim(b)},trimLeft:function(a){return a.replace(/^\s+/,"")},trimRight:function(a){return a.replace(/\s+$/,"")},capitalize:function(b){var c=b.split(" ");return a.each(c,function(a,b){c[a]=b.substr(0,1).toUpperCase()+b.substr(1,b.length)}),c.join(" ")},insert:function(a,b,c){var d=(b.attr("data-sanitize-insert-"+c)||"").replace(/\[SPACE\]/g," ");return"left"===c&&0===a.indexOf(d)||"right"===c&&a.substring(a.length-d.length)===d?a:(...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 2.7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapReplaceTester.java

      public void testReplace_supportedPresent() {
        assertEquals(v0(), getMap().replace(k0(), v3()));
        expectReplacement(entry(k0(), v3()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testReplace_supportedPresentNoChange() {
        assertEquals(v0(), getMap().replace(k0(), v0()));
        expectUnchanged();
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceTester.java

        try {
          assertEquals(v0(), getMap().replace(k0(), v3()));
          expectReplacement(entry(k0(), v3()));
        } catch (ClassCastException tolerated) { // for ClassToInstanceMap
          expectUnchanged();
        }
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testReplace_supportedPresentNoChange() {
        assertEquals(v0(), getMap().replace(k0(), v0()));
        expectUnchanged();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top