Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 2,144 for Case (0.02 sec)

  1. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

            switch (contextName) {
            case LeaseV1CreateContextRequest.CONTEXT_NAME: // "RqLs"
                return new LeaseV1CreateContextResponse();
            case LeaseV2CreateContextRequest.CONTEXT_NAME: // "RqL2"
                return new LeaseV2CreateContextResponse();
            case "DHnQ": // Durable Handle Request/Response
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  2. cmd/erasure-sets.go

    	defer timer.Stop()
    
    	for {
    		select {
    		case <-ctx.Done():
    			return
    		case <-timer.C:
    			var wg sync.WaitGroup
    			for _, set := range s.sets {
    				wg.Add(1)
    				go func(set *erasureObjects) {
    					defer wg.Done()
    					if set == nil {
    						return
    					}
    					set.cleanupStaleUploads(ctx)
    				}(set)
    			}
    			wg.Wait()
    		case <-staleUploadsCleanupIntervalChangedCh:
    		}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37K bytes
    - Viewed (1)
  3. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

            do {
                final char ch = arr[si];
    
                switch (state) {
                case 0:
                    if (ch == ':') {
                        proto = str.substring(mark, si);
                        mark = si + 1;
                        state = 1;
                    }
                    break;
                case 1:
                    if (ch == '\\') {
                        mark = si + 1;
                        break;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  4. cmd/admin-handlers_test.go

    func (c cmdType) toServiceSignal() serviceSignal {
    	switch c {
    	case restartCmd:
    		return serviceRestart
    	case stopCmd:
    		return serviceStop
    	}
    	return serviceRestart
    }
    
    func (c cmdType) toServiceAction() madmin.ServiceAction {
    	switch c {
    	case restartCmd:
    		return madmin.ServiceActionRestart
    	case stopCmd:
    		return madmin.ServiceActionStop
    	}
    	return madmin.ServiceActionRestart
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  5. src/archive/tar/strconv.go

    			return 0
    		}
    		if inv == 0xff {
    			return ^int64(x)
    		}
    		return int64(x)
    	}
    
    	// Normal case is base-8 (octal) format.
    	return p.parseOctal(b)
    }
    
    // formatNumeric encodes x into b using base-8 (octal) encoding if possible.
    // Otherwise it will attempt to use base-256 (binary) encoding.
    func (f *formatter) formatNumeric(b []byte, x int64) {
    	if fitsInOctal(len(b), x) {
    		f.formatOctal(b, x)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/mdo/paramdoc.mdo

              <description>A preferred alternative to this expression, in the case where it's deprecated.</description>
              <type>String</type>
            </field>
            <field>
              <version>1.0.0</version>
              <name>ban</name>
              <description>A preferred alternative to this expression, in the case where it's banned from use.</description>
              <type>String</type>
            </field>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. docs/smb3-features/02-persistent-handles-design.md

        switch (type) {
            case DURABLE_V1:
                addCreateContext(new DurableHandleRequest());
                break;
                
            case DURABLE_V2:
                addCreateContext(new DurableHandleV2Request(timeout, false));
                break;
                
            case PERSISTENT:
                addCreateContext(new DurableHandleV2Request(0, true));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/pac/PacCredentialTypeTest.java

         */
        @Test
        void testIsCredentialTypeCorrectWithNullData() {
            // The constructor check `if (!isCredentialTypeCorrect())` handles the null case.
            // We verify that the constructor throws an exception, which indirectly tests the desired logic.
            assertThrows(PACDecodingException.class, () -> new PacCredentialType(null));
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/advanced-dependencies.md

    Not the class itself (which is already a callable), but an instance of that class.
    
    To do that, we declare a method `__call__`:
    
    {* ../../docs_src/dependencies/tutorial011_an_py39.py hl[12] *}
    
    In this case, this `__call__` is what **FastAPI** will use to check for additional parameters and sub-dependencies, and this is what will be called to pass a value to the parameter in your *path operation function* later.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  10. cmd/object-handlers.go

    		var targetSize int64
    
    		switch {
    		case isDstCompressed:
    			targetSize = -1
    		case !isSourceEncrypted && !isTargetEncrypted:
    			targetSize, _ = srcInfo.GetActualSize()
    		case isSourceEncrypted && isTargetEncrypted:
    			objInfo := ObjectInfo{Size: actualSize}
    			targetSize = objInfo.EncryptedSize()
    		case !isSourceEncrypted && isTargetEncrypted:
    			targetSize = srcInfo.EncryptedSize()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 120.6K bytes
    - Viewed (0)
Back to top