Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for setObject (0.07 sec)

  1. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

            // setObject should handle various inputs
            try {
                WebApiUtil.setObject("validKey", "validValue");
                WebApiUtil.setObject("", "emptyKey");
                WebApiUtil.setObject("nullValue", null);
                WebApiUtil.setObject(null, "nullKey");
                WebApiUtil.setObject(null, null);
            } catch (Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  2. cmd/global-heal.go

    		// If we resume to the same bucket, forward to last known item.
    		b := tracker.getBucket()
    		if b == bucket {
    			forwardTo = tracker.getObject()
    		}
    		if b != "" {
    			// Reset to where last bucket ended if resuming.
    			tracker.resume()
    		}
    		tracker.setObject("")
    		tracker.setBucket(bucket)
    		// Heal current bucket again in case if it is failed
    		// in the beginning of erasure set healing
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 04 13:49:12 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  3. cmd/background-newdisks-heal-ops.go

    func (h *healingTracker) setBucket(bucket string) {
    	h.mu.Lock()
    	defer h.mu.Unlock()
    
    	h.Bucket = bucket
    }
    
    func (h *healingTracker) getObject() string {
    	h.mu.RLock()
    	defer h.mu.RUnlock()
    
    	return h.Object
    }
    
    func (h *healingTracker) setObject(object string) {
    	h.mu.Lock()
    	defer h.mu.Unlock()
    
    	h.Object = object
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/NotificationHelperTest.java

            }
        }
    
        public void test_toSlackMessage_withBasicContent() {
            MockSMailPostingDiscloser discloser = new MockSMailPostingDiscloser();
            discloser.setSubject("Test Subject");
            discloser.setPlainText("Test Content");
    
            String result = notificationHelper.toSlackMessage(discloser);
    
            assertNotNull(result);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  5. cmd/object_api_suite_test.go

    		}
    	}
    
    	for key, value := range objects {
    		var byteBuffer bytes.Buffer
    		err = GetObject(context.Background(), obj, "bucket", key, 0, int64(len(value)), &byteBuffer, "", opts)
    		if err != nil {
    			t.Fatalf("%s: <ERROR> %s", instanceType, err)
    		}
    		if !bytes.Equal(byteBuffer.Bytes(), value) {
    			t.Errorf("%s: Mismatch of GetObject data with the expected one.", instanceType)
    		}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 34.5K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java

            assertSame(component, pooledObject.getObject());
        }
    
        /**
         * Test wrap with null object
         */
        public void test_wrap_nullObject() {
            PooledObject<TestComponent> pooledObject = factory.wrap(null);
    
            assertNotNull(pooledObject);
            assertNull(pooledObject.getObject());
        }
    
        /**
         * Test destroyObject without listener
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  7. cmd/admin-handlers-users_test.go

       "Effect": "Allow",
       "Action": [
        "s3:ListBucket"
       ],
       "Resource": [
        "arn:aws:s3:::%s"
       ]
      },
      {
       "Effect": "Allow",
       "Action": [
        "s3:PutObject",
        "s3:GetObject"
       ],
       "Resource": [
        "arn:aws:s3:::%s/*"
       ]
      }
     ]
    }`, bucket, bucket)
    	err = s.adm.AddCannedPolicy(ctx, policy, policyBytes)
    	if err != nil {
    		c.Fatalf("policy add error: %v", err)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  8. cmd/object-api-interface.go

    }
    
    // GetObject - TODO(aead): This function just acts as an adapter for GetObject tests and benchmarks
    // since the GetObject method of the ObjectLayer interface has been removed. Once, the
    // tests are adjusted to use GetObjectNInfo this function can be removed.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

            }
        }
    
        @Test
        @DisplayName("Protected setSubject: updates subject used by getters")
        void setSubject_updatesSubject() {
            Kerb5Authenticator auth = new Kerb5Authenticator((Subject) null);
            assertNull(auth.getSubject());
            Subject subject = new Subject();
            auth.setSubject(subject);
            assertSame(subject, auth.getSubject());
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            case DEFAULT_WITH_PS: {
                JAASAuthenticator a = new JAASAuthenticator();
                // Provide a preset Subject so the getSubject() path uses the (serviceName, ps, this) constructor
                a.setSubject(new Subject());
                return a;
            }
            case WITH_CONFIG: {
                // Use the constructor that sets a StaticJAASConfiguration to exercise that branch
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
Back to top