Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 513 for done (0.23 sec)

  1. .github/actions/notify-translations/app/main.py

    def get_graphql_response(
        *,
        settings: Settings,
        query: str,
        after: Union[str, None] = None,
        category_id: Union[str, None] = None,
        discussion_number: Union[int, None] = None,
        discussion_id: Union[str, None] = None,
        comment_id: Union[str, None] = None,
        body: Union[str, None] = None,
    ) -> Dict[str, Any]:
        headers = {"Authorization": f"token {settings.input_token.get_secret_value()}"}
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Sep 27 23:01:46 GMT 2023
    - 12.4K bytes
    - Viewed (0)
  2. cmd/xl-storage-disk-id-check.go

    	ctx, done, err := p.TrackDiskHealth(ctx, storageMetricListVols, "/")
    	if err != nil {
    		return nil, err
    	}
    	defer done(&err)
    
    	return p.storage.ListVols(ctx)
    }
    
    func (p *xlStorageDiskIDCheck) StatVol(ctx context.Context, volume string) (vol VolInfo, err error) {
    	ctx, done, err := p.TrackDiskHealth(ctx, storageMetricStatVol, volume)
    	if err != nil {
    		return vol, err
    	}
    	defer done(&err)
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  3. cmd/batch-expire.go

    				xfer := make([]expireObjInfo, len(toDel))
    				copy(xfer, toDel)
    
    				var done bool
    				select {
    				case <-ctx.Done():
    					done = true
    				case expireCh <- xfer:
    					toDel = toDel[:0] // resetting toDel
    				}
    				if done {
    					break
    				}
    			}
    			var match BatchJobExpireFilter
    			var found bool
    			for _, rule := range r.Rules {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  4. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

        @Override
        public void run() {}
      }
      // The thread executing the task publishes itself to the superclass' reference and the thread
      // interrupting sets DONE when it has finished interrupting.
      private static final Runnable DONE = new DoNothingRunnable();
      private static final Runnable PARKED = new DoNothingRunnable();
      // Why 1000?  WHY NOT!
      private static final int MAX_BUSY_WAIT_SPINS = 1000;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Sep 29 21:34:48 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  5. cmd/storage-rest-server.go

    	rc   io.ReadCloser
    	done chan struct{}
    }
    
    func (c *closeNotifier) Read(p []byte) (n int, err error) {
    	n, err = c.rc.Read(p)
    	if err != nil {
    		if c.done != nil {
    			xioutil.SafeClose(c.done)
    			c.done = nil
    		}
    	}
    	return n, err
    }
    
    func (c *closeNotifier) Close() error {
    	if c.done != nil {
    		xioutil.SafeClose(c.done)
    		c.done = nil
    	}
    	return c.rc.Close()
    }
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  6. internal/dsync/drwmutex.go

    					done = true
    				}
    			}
    		case <-ctx.Done():
    			// Capture timedout locks as failed or took too long
    			locksFailed++
    			if locksFailed > tolerance {
    				// We know that we are not going to get the lock anymore,
    				// so exit out and release any locks that did get acquired
    				done = true
    			}
    		}
    
    		if done {
    			break
    		}
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  7. common/scripts/kind_provisioner.sh

      while read -r value; do
        CLUSTER_NAMES+=("$value")
      done < <(echo "${KUBE_CLUSTERS}" | jq -r '.cluster_name // .clusterName')
    
      while read -r value; do
        CLUSTER_POD_SUBNETS+=("$value")
      done < <(echo "${KUBE_CLUSTERS}" | jq -r '.pod_subnet // .podSubnet')
    
      while read -r value; do
        CLUSTER_SVC_SUBNETS+=("$value")
      done < <(echo "${KUBE_CLUSTERS}" | jq -r '.svc_subnet // .svcSubnet')
    
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Apr 08 19:12:55 GMT 2024
    - 17.3K bytes
    - Viewed (1)
  8. cmd/notification.go

    		wg.Add(1)
    		go func(ctx context.Context, peerChannel <-chan MetricV2, wg *sync.WaitGroup) {
    			defer wg.Done()
    			for {
    				select {
    				case m, ok := <-peerChannel:
    					if !ok {
    						return
    					}
    					select {
    					case ch <- m:
    					case <-ctx.Done():
    						return
    					}
    				case <-ctx.Done():
    					return
    				}
    			}
    		}(ctx, peerChannels[index], &wg)
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  9. cmd/metacache-walk.go

    		return err
    	}
    	ctx, done, err := p.TrackDiskHealth(ctx, storageMetricWalkDir, opts.Bucket, opts.BaseDir)
    	if err != nil {
    		return err
    	}
    	defer done(&err)
    
    	return p.storage.WalkDir(ctx, opts, wr)
    }
    
    // WalkDir will traverse a directory and return all entries found.
    // On success a meta cache stream will be returned, that should be closed when done.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  10. internal/grid/muxclient.go

    			}()
    			return
    		}
    		select {
    		case <-m.ctx.Done():
    			if debugPrint {
    				fmt.Println("Client sending disconnect to mux", m.MuxID)
    			}
    			m.addErrorNonBlockingClose(internalResp, context.Cause(m.ctx))
    			errState = true
    			continue
    		case req, ok := <-requests:
    			if !ok {
    				// Done send EOF
    				if debugPrint {
    					fmt.Println("Client done, sending EOF to mux", m.MuxID)
    				}
    				msg := message{
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
Back to top