Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 1,333 for CASE (0.03 sec)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenPropertiesLoader.java

                    switch (tok) {
                        case "\"":
                            inQuote = !inQuote;
                            if (inQuote) {
                                tokenList = "\"";
                            } else {
                                tokenList = "\" ";
                            }
                            break;
                        case ",":
                            if (tokStarted) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. internal/lock/lock_test.go

    			t.Error(blerr)
    			return
    		}
    	}()
    
    	select {
    	case <-locked:
    		t.Error("unexpected unblocking")
    	case <-time.After(100 * time.Millisecond):
    	}
    
    	// unlock
    	if err = dupl.Close(); err != nil {
    		t.Fatal(err)
    	}
    
    	// the previously blocked routine should be unblocked
    	select {
    	case <-locked:
    	case <-time.After(1 * time.Second):
    		t.Error("unexpected blocking")
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  3. cmd/auth-handler.go

    	var cred auth.Credentials
    	var owner bool
    	switch getRequestAuthType(r) {
    	case authTypeUnknown, authTypeStreamingSigned:
    		return ErrSignatureVersionNotSupported
    	case authTypePresignedV2, authTypeSignedV2:
    		if s3Err = isReqAuthenticatedV2(r); s3Err != ErrNone {
    			return s3Err
    		}
    		cred, owner, s3Err = getReqAccessKeyV2(r)
    	case authTypeSigned, authTypePresigned:
    		region := globalSite.Region()
    		switch action {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponse.java

            FileInformation inf;
            switch ( this.informationLevel ) {
            case FileInformation.FILE_BASIC_INFO:
                inf = new FileBasicInfo();
                break;
            case FileInformation.FILE_STANDARD_INFO:
                inf = new FileStandardInfo();
                break;
            case FileInformation.FILE_INTERNAL_INFO:
                inf = new FileInternalInfo();
                break;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4K bytes
    - Viewed (0)
  5. src/cmd/asm/main.go

    	switch *flags.Spectre {
    	default:
    		log.Printf("unknown setting -spectre=%s", *flags.Spectre)
    		os.Exit(2)
    	case "":
    		// nothing
    	case "index":
    		// known to compiler; ignore here so people can use
    		// the same list with -gcflags=-spectre=LIST and -asmflags=-spectrre=LIST
    	case "all", "ret":
    		ctxt.Retpoline = true
    	}
    
    	ctxt.Bso = bufio.NewWriter(os.Stdout)
    	defer ctxt.Bso.Flush()
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Jun 21 19:58:04 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. internal/logger/target/http/http.go

    	for {
    		var (
    			ok    bool
    			entry any
    		)
    
    		if count < h.batchSize {
    			tickered := false
    			select {
    			case _ = <-ticker.C:
    				tickered = true
    			case entry, _ = <-globalBuffer:
    			case entry, ok = <-h.logCh:
    				if !ok {
    					return
    				}
    			case <-ctx.Done():
    				return
    			}
    
    			if !tickered {
    				h.totalMessages.Add(1)
    				if !isDirQueue {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 11 22:20:42 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  7. ci/official/utilities/windows.sh

    #
    
    # Docker on Windows has difficulty using volumes other than C:\, when it comes
    # to setting up up volume mappings.
    # Thus, the drive letter is replaced with C:\, in case it's
    # something else (ex. T:), which is frequently the case inside Kokoro jobs.
    function replace_drive_letter_with_c () {
      sed -E "s|^[a-zA-Z]:|C:|g" <<< $1
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Aug 07 23:01:25 UTC 2024
    - 1K bytes
    - Viewed (0)
  8. internal/s3select/select.go

    	// fmt.Printf("actual: %v offset: %v (%v) whence: %v\n", rsc.size, offset, rsc.offset, whence)
    	switch whence {
    	case io.SeekStart:
    		rsc.offset = offset
    	case io.SeekCurrent:
    		rsc.offset += offset
    	case io.SeekEnd:
    		rsc.offset = rsc.size + offset
    	}
    	if rsc.offset < 0 {
    		return rsc.offset, errors.New("seek to invalid negative offset")
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  9. cmd/metacache.go

    func (m *metacache) worthKeeping() bool {
    	if m == nil {
    		return false
    	}
    	cache := m
    	switch {
    	case !cache.finished() && time.Since(cache.lastUpdate) > metacacheMaxRunningAge:
    		// Not finished and update for metacacheMaxRunningAge, discard it.
    		return false
    	case cache.finished() && time.Since(cache.lastHandout) > 5*metacacheMaxClientWait:
    		// Keep for 15 minutes after we last saw the client.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/events.md

    ## Use Case
    
    Let's start with an example **use case** and then see how to solve it with this.
    
    Let's imagine that you have some **machine learning models** that you want to use to handle requests. 🤖
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:36:22 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top