Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for cases (0.23 sec)

  1. cmd/object-handlers_test.go

    				switch test.fault {
    				case MissingContentLength:
    					req.ContentLength = -1
    					// Setting the content length to a value greater than the max allowed size of a part.
    					// Used in test case  4.
    				case TooBigObject:
    					req.ContentLength = globalMaxObjectSize + 1
    					// Malformed signature.
    					// Used in test case  6.
    				case BadSignature:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

          switch (state.get()) {
            case SUBSUMED:
              throw new IllegalStateException(
                  "Cannot call finishToFuture() after deriving another step");
    
            case WILL_CREATE_VALUE_AND_CLOSER:
              throw new IllegalStateException(
                  "Cannot call finishToFuture() after calling finishToValueAndCloser()");
    
            case WILL_CLOSE:
            case CLOSING:
            case CLOSED:
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  3. doc/go1.17_spec.html

    </p>
    
    <pre>
    switch tag {
    default: s3()
    case 0, 1, 2, 3: s1()
    case 4, 5, 6, 7: s2()
    }
    
    switch x := f(); {  // missing switch expression means "true"
    case x &lt; 0: return -x
    default: return x
    }
    
    switch {
    case x &lt; y: f1()
    case x &lt; z: f2()
    case x == 4: f3()
    }
    </pre>
    
    <p>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  4. src/main/webapp/js/admin/popper.min.js.map

    function getScrollParent(element) {\n  // Return body, `getScroll` will take care to get the correct `scrollTop` from it\n  if (!element) {\n    return document.body\n  }\n\n  switch (element.nodeName) {\n    case 'HTML':\n    case 'BODY':\n      return element.ownerDocument.body\n    case '#document':\n      return element.body\n  }\n\n  // Firefox want us to check `-x` and `-y` variations as well\n  const { overflow, overflowX, overflowY } = getStyleComputedProperty(element);\n  if (/(auto|scr...
    Plain Text
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Fri Feb 07 10:28:50 GMT 2020
    - 121K bytes
    - Viewed (2)
  5. analysis/analysis-api-fe10/tests-gen/org/jetbrains/kotlin/analysis/api/fe10/test/cases/generated/cases/references/Fe10IdeNormalAnalysisSourceModuleReferenceResolveTestGenerated.java

     * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
     */
    
    package org.jetbrains.kotlin.analysis.api.fe10.test.cases.generated.cases.references;
    
    import com.intellij.testFramework.TestDataPath;
    import org.jetbrains.kotlin.test.util.KtTestUtil;
    import org.jetbrains.annotations.NotNull;
    Java
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Sat Apr 13 09:17:40 GMT 2024
    - 129.5K bytes
    - Viewed (0)
  6. cmd/site-replication.go

    	deleteOp := NoOp
    	if latestID != globalDeploymentID() {
    		return nil
    	}
    	if lastUpdate.Equal(bStatus.DeletedAt) {
    		isMakeBucket = false
    		switch {
    		case len(withB) == numSites && deletedCnt == numSites:
    			deleteOp = NoOp
    		case len(withB) == 0 && len(missingB) == numSites:
    			deleteOp = Purge
    		default:
    			deleteOp = MarkDelete
    		}
    	}
    	if isMakeBucket {
    		var opts MakeBucketOptions
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  7. cmd/bucket-replication.go

    				}
    				traceFn(err)
    				select {
    				case <-ctx.Done():
    					return
    				case <-s.resyncCancelCh:
    					return
    				case resultCh <- st:
    				}
    			}
    		}(ctx, i)
    	}
    	for obj := range objInfoCh {
    		select {
    		case <-s.resyncCancelCh:
    			resyncStatus = ResyncCanceled
    			return
    		case <-ctx.Done():
    			return
    		default:
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  8. src/main/java/jcifs/smb1/smb1/SmbFile.java

            } catch( SmbException se ) {
                switch (se.getNtStatus()) {
                    case NtStatus.NT_STATUS_NO_SUCH_FILE:
                    case NtStatus.NT_STATUS_OBJECT_NAME_INVALID:
                    case NtStatus.NT_STATUS_OBJECT_NAME_NOT_FOUND:
                    case NtStatus.NT_STATUS_OBJECT_PATH_NOT_FOUND:
                        break;
                    default:
                        throw se;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  9. api/maven-api-model/src/main/mdo/maven.mdo

                project. This directory is meant to be different from the sourceDirectory, in that its
                contents will be copied to the output directory in most cases (since scripts are
                interpreted rather than compiled).
                The default value is {@code src/main/scripts}.
              </description>
              <type>String</type>
            </field>
            <field>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 13:29:46 GMT 2024
    - 115.1K bytes
    - Viewed (0)
  10. cmd/server_test.go

    	c.Assert(err, nil)
    
    	// execute the HTTP request to upload the object.
    	response, err = s.client.Do(request)
    	c.Assert(err, nil)
    	c.Assert(response.StatusCode, http.StatusOK)
    
    	// test Cases containing data to make partial range requests.
    	// also has expected response data.
    	testCases := []struct {
    		byteRange      string
    		expectedString string
    	}{
    		// request for byte range 10-11.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
Back to top