Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 251 - 260 of 2,497 for Case (0.02 seconds)

  1. internal/etag/etag.go

    //   - The object is a multipart object. In this case,
    //     Format returns the ETag unmodified.
    //   - The object is a SSE-KMS or SSE-C encrypted single-
    //     part object. In this case, Format returns the last
    //     16 bytes of the encrypted ETag which will be a random
    //     value.
    //   - The object is a SSE-S3 encrypted single-part object.
    //     In this case, the caller has to decrypt the ETag first
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri May 16 14:27:42 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  2. cmd/bucket-metadata-sys.go

    	updatedAt = UTCNow()
    	switch configFile {
    	case bucketPolicyConfig:
    		meta.PolicyConfigJSON = configData
    		meta.PolicyConfigUpdatedAt = updatedAt
    	case bucketNotificationConfig:
    		meta.NotificationConfigXML = configData
    		meta.NotificationConfigUpdatedAt = updatedAt
    	case bucketLifecycleConfig:
    		meta.LifecycleConfigXML = configData
    		meta.LifecycleConfigUpdatedAt = updatedAt
    	case bucketSSEConfig:
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 20.4K bytes
    - Click Count (0)
  3. internal/bucket/replication/rule_test.go

    import (
    	"bytes"
    	"fmt"
    	"testing"
    )
    
    func TestMetadataReplicate(t *testing.T) {
    	testCases := []struct {
    		inputConfig    string
    		opts           ObjectOpts
    		expectedResult bool
    	}{
    		// case 1 - rule with replica modification enabled; not a replica
    		{
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancer.java

            }
    
            switch (strategy) {
            case ROUND_ROBIN:
                return selectRoundRobin(availableChannels);
    
            case LEAST_LOADED:
                return selectLeastLoaded(availableChannels);
    
            case WEIGHTED_RANDOM:
                return selectWeightedRandom(availableChannels);
    
            case AFFINITY_BASED:
                return selectWithAffinity(message, availableChannels);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  5. cmd/erasure-decode.go

    			p.buf[bufIdx] = p.buf[bufIdx][:p.shardSize]
    			n, err := rr.ReadAt(p.buf[bufIdx], p.offset)
    			if err != nil {
    				switch {
    				case errors.Is(err, errFileNotFound):
    					atomic.StoreInt32(&missingPartsHeal, 1)
    				case errors.Is(err, errFileCorrupt):
    					atomic.StoreInt32(&bitrotHeal, 1)
    				case errors.Is(err, errDiskNotFound):
    					atomic.AddInt32(&disksNotFound, 1)
    				}
    
    				// This will be communicated upstream.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Aug 29 01:40:52 GMT 2024
    - 9.5K bytes
    - Click Count (0)
  6. impl/maven-core/src/test/projects/lifecycle-executor/project-with-additional-lifecycle-elements/src/test/java/org/apache/maven/lifecycle/test/AppTest.java

    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Unit test for simple App.
     */
    public class AppTest
        extends TestCase
    {
        /**
         * Create the test case
         *
         * @param testName name of the test case
         */
        public AppTest( String testName )
        {
            super( testName );
        }
    
        /**
         * @return the suite of tests being tested
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 657 bytes
    - Click Count (0)
  7. src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java

        @BeforeEach
        void setUp() {
            // Reset mocks before each test
            reset(mockHandle);
        }
    
        @Test
        void testConstructor_SuccessfulConnect4() throws IOException {
            // Test case: Constructor with successful MsrpcSamrConnect4
            String server = "testServer";
            int access = 123;
    
            // No exception thrown by sendrecv for MsrpcSamrConnect4
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  8. schema/utils.go

    			if _, isZero := rel.Field.ValueOf(ctx, value); !isZero {
    				result := reflect.Indirect(rel.Field.ReflectValueOf(ctx, value))
    				switch result.Kind() {
    				case reflect.Struct:
    					reflectResults = reflect.Append(reflectResults, result.Addr())
    				case reflect.Slice, reflect.Array:
    					for i := 0; i < result.Len(); i++ {
    						if elem := result.Index(i); elem.Kind() == reflect.Ptr {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Oct 30 11:15:36 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/curl/CurlTest.java

                switch (method) {
                case GET:
                    hasGet = true;
                    break;
                case POST:
                    hasPost = true;
                    break;
                case PUT:
                    hasPut = true;
                    break;
                case DELETE:
                    hasDelete = true;
                    break;
                case HEAD:
                    hasHead = true;
    Created: Sat Dec 20 09:13:53 GMT 2025
    - Last Modified: Thu Nov 20 13:34:13 GMT 2025
    - 16.3K bytes
    - Click Count (0)
  10. cmd/prepare-storage.go

    				(len(endpoints)/2)+1, getElapsedTime())
    		case errors.Is(err, errErasureV3ThisEmpty):
    			// need to wait for this error to be healed, so continue.
    		default:
    			// For all other unhandled errors we exit and fail.
    			return nil, nil, err
    		}
    
    		select {
    		case <-ticker.C:
    		case <-globalOSSignalCh:
    			return nil, nil, fmt.Errorf("Initializing data volumes gracefully stopped")
    		}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Jul 12 20:51:54 GMT 2024
    - 11.1K bytes
    - Click Count (1)
Back to Top