Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 1,333 for CASE (0.04 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

          switch (input) {
            case VALID_INPUT_DATA:
              outputFuture.set(RESULT_DATA);
              break;
            case SLOW_OUTPUT_VALID_INPUT_DATA:
              break; // do nothing to the result
            case SLOW_FUNC_VALID_INPUT_DATA:
              funcIsWaitingLatch.countDown();
              awaitUninterruptibly(funcCompletionLatch);
              break;
            case EXCEPTION_DATA:
              throw EXCEPTION;
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

          switch (input) {
            case VALID_INPUT_DATA:
              outputFuture.set(RESULT_DATA);
              break;
            case SLOW_OUTPUT_VALID_INPUT_DATA:
              break; // do nothing to the result
            case SLOW_FUNC_VALID_INPUT_DATA:
              funcIsWaitingLatch.countDown();
              awaitUninterruptibly(funcCompletionLatch);
              break;
            case EXCEPTION_DATA:
              throw EXCEPTION;
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. cmd/background-heal-ops.go

    func (h *healRoutine) AddWorker(ctx context.Context, objAPI ObjectLayer, bgSeq *healSequence) {
    	for {
    		select {
    		case task, ok := <-h.tasks:
    			if !ok {
    				return
    			}
    
    			var res madmin.HealResultItem
    			var err error
    			switch task.bucket {
    			case nopHeal:
    				err = errSkipFile
    			case SlashSeparator:
    				res, err = healDiskFormat(ctx, objAPI, task.opts)
    			default:
    				if task.object == "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. internal/dsync/dsync-client_test.go

    	errLockNotFound = errors.New("lock not found")
    )
    
    func toLockError(err error) error {
    	if err == nil {
    		return nil
    	}
    
    	switch err.Error() {
    	case errLockConflict.Error():
    		return errLockConflict
    	case errLockNotFound.Error():
    		return errLockNotFound
    	}
    	return err
    }
    
    // Call makes a REST call to the remote endpoint using the msgp codec
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 20 17:36:09 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/AbstractMavenLifecycleParticipant.java

         * before they are sorted and actual build execution starts.
         *
         * @param session the Maven session
         * @throws MavenExecutionException in case of issue
         */
        public void afterProjectsRead(MavenSession session) throws MavenExecutionException {
            // do nothing
        }
    
        /**
         * Invoked after MavenSession instance has been created.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. cmd/copy-part-range.go

    )
    
    // Writes S3 compatible copy part range error.
    func writeCopyPartErr(ctx context.Context, w http.ResponseWriter, err error, url *url.URL) {
    	switch err {
    	case errInvalidRange:
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidCopyPartRange), url)
    		return
    	case errInvalidRangeSource:
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidCopyPartRangeSource), url)
    		return
    	default:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 18 03:27:04 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  7. internal/s3select/json/args.go

    	type subWriterArgs WriterArgs
    	parsedArgs := subWriterArgs{}
    	if err := d.DecodeElement(&parsedArgs, &start); err != nil {
    		return err
    	}
    
    	switch len(parsedArgs.RecordDelimiter) {
    	case 0:
    		parsedArgs.RecordDelimiter = defaultRecordDelimiter
    	case 1, 2:
    	default:
    		return fmt.Errorf("invalid RecordDelimiter '%v'", parsedArgs.RecordDelimiter)
    	}
    
    	*args = WriterArgs(parsedArgs)
    	args.unmarshaled = true
    	return nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  8. cmd/peer-rest-client.go

    		select {
    		case listenCh <- *b:
    		default:
    			// Do not block on slow receivers.
    			b.Recycle()
    		}
    		return nil
    	})
    }
    
    // Listen - listen on peers.
    func (client *peerRESTClient) Listen(ctx context.Context, listenCh chan<- []byte, v url.Values) {
    	go func() {
    		for {
    			client.doListen(ctx, listenCh, v)
    			select {
    			case <-ctx.Done():
    				return
    			default:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  9. .github/ISSUE_TEMPLATE/feature_enhancement_request.yaml

            that it's for a use case that actually comes up in the real world. We want to hear the
            real-world use case so the community can discuss and debate whether this feature is actually
            the *best* way to address the real use case, or whether or not a different approach might be
            more appropriate.
    
    
            It's okay if you can't provide complete context on a use case. We understand if you are not
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Nov 17 18:47:47 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  10. cmd/mrf.go

    		}
    		// Read resync meta header
    		switch binary.LittleEndian.Uint16(data[0:2]) {
    		case healMRFMetaFormat:
    		default:
    			return fmt.Errorf("heal mrf: unknown format: %d", binary.LittleEndian.Uint16(data[0:2]))
    		}
    		switch binary.LittleEndian.Uint16(data[2:4]) {
    		case healMRFMetaVersionV1:
    		default:
    			return fmt.Errorf("heal mrf: unknown version: %d", binary.LittleEndian.Uint16(data[2:4]))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:26:05 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top