Search Options

Results per page
Sort
Preferred Languages
Advance

Results 531 - 540 of 1,333 for CASE (0.02 sec)

  1. internal/s3select/csv/reader.go

    		for {
    			q := queueItem{
    				input: next,
    				dst:   make(chan [][]string, 1),
    				err:   nextErr,
    			}
    			select {
    			case <-r.close:
    				return
    			case r.queue <- &q:
    			}
    
    			select {
    			case <-r.close:
    				return
    			case r.input <- &q:
    			}
    			if nextErr != nil {
    				// Exit on any error.
    				return
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. internal/event/targetlist.go

    			}
    		}(id, target)
    	}
    	wg.Wait()
    	list.totalEvents.Add(1)
    }
    
    func (list *TargetList) sendAsync(event Event, targetIDset TargetIDSet) {
    	select {
    	case list.queue <- asyncEvent{
    		ev:        event,
    		targetSet: targetIDset.Clone(),
    	}:
    	case <-list.ctx.Done():
    		list.eventsSkipped.Add(int64(len(list.queue)))
    		return
    	default:
    		list.eventsSkipped.Add(1)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. internal/grid/README.md

            fmt.Println("Subroute:", GetSubroute(ctx))
            for {
                select {
                case <-ctx.Done():
                    return nil
                case req, ok := <-in:
                    if !ok {
                        break
                    }           
                    // Do something with payload
                    out <- []byte("response")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.4K 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  5. cmd/xl-storage-free-version.go

    		tierObjKey := ReservedMetadataPrefixLower + TransitionedObjectName
    		tierObjVIDKey := ReservedMetadataPrefixLower + TransitionedVersionID
    
    		for k, v := range j.MetaSys {
    			switch k {
    			case tierKey, tierObjKey, tierObjVIDKey:
    				freeEntry.DeleteMarker.MetaSys[k] = v
    			}
    		}
    		return freeEntry, true
    	}
    	return xlMetaV2Version{}, false
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Mar 02 05:11:03 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. internal/event/target/kafka_scram_client_contrib.go

    )
    
    func initScramClient(args KafkaArgs, config *sarama.Config) {
    	switch strings.ToLower(args.SASL.Mechanism) {
    	case "sha512":
    		config.Net.SASL.SCRAMClientGeneratorFunc = func() sarama.SCRAMClient { return &XDGSCRAMClient{HashGeneratorFcn: KafkaSHA512} }
    		config.Net.SASL.Mechanism = sarama.SASLMechanism(sarama.SASLTypeSCRAMSHA512)
    	case "sha256":
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Nov 09 04:04:01 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbException.java

     * The jCIFS client maps DOS error codes to NTSTATUS codes. This means that
     * the user may recieve a different error from a legacy server than that of
     * a newer varient such as Windows NT and above. If you should encounter
     * such a case, please report it to jcifs at samba dot org and we will
     * change the mapping.
     */
    
    public class SmbException extends IOException implements NtStatus, DosError, WinError {
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.5K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolver.java

         * The returned list of versions is only dependent on the configured repositories and their contents.
         * The supplied request may also refer to a single concrete version rather than a version range.
         * In this case though, the result contains simply the (parsed) input version, regardless of the
         * repositories and their contents.
         *
         * @param session the session to use
         * @param artifactCoordinates t
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Sep 12 06:19:14 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. internal/s3select/jstream/scanner_test.go

    		}
    	})
    }
    
    func benchmarkBufioReader(b []byte) {
    	br := bufio.NewReader(bytes.NewReader(b))
    loop:
    	for {
    		_, err := br.ReadByte()
    		switch err {
    		case nil:
    			continue loop
    		case io.EOF:
    			break loop
    		default:
    			panic(err)
    		}
    	}
    }
    
    func BenchmarkScanner(b *testing.B) {
    	b.Run("small", func(b *testing.B) {
    		for i := 0; i < b.N; i++ {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/graph/FilteredProjectDependencyGraph.java

         * Assume we have all projects {@code a, b, c} while active are {@code a, c} and relation among all projects
         * is {@code a -> b -> c}. This method handles well the case for transitive list. But, for non-transitive we need
         * to "pull in" transitive dependencies of eliminated projects, as for case above, the properly filtered list would
         * be {@code a -> c}.
         * <p>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top