Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 336 for stopFn (0.1 sec)

  1. src/packaging/common/scripts/prerm

            exit 1
        ;;
    esac
    
    # Stops the service
    if [ "$STOP_REQUIRED" = "true" ]; then
        echo -n "Stopping fess service..."
        if command -v systemctl >/dev/null; then
            systemctl --no-reload stop fess.service > /dev/null 2>&1 || true
    
        elif [ -x /etc/init.d/fess ]; then
            if command -v invoke-rc.d >/dev/null; then
                invoke-rc.d fess stop || true
            else
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jan 29 07:34:32 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  2. src/packaging/rpm/init.d/fess

    #!/bin/sh
    #
    # fess <summary>
    #
    # chkconfig:   2345 80 20
    # description: Starts and stops a single fess instance on this system 
    #
    
    ### BEGIN INIT INFO
    # Provides: Fess
    # Required-Start: $network $named
    # Required-Stop: $network $named
    # Default-Start: 2 3 4 5
    # Default-Stop: 0 1 6
    # Short-Description: This service manages the fess daemon
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  3. src/bufio/example_test.go

    			return 0, data, bufio.ErrFinalToken
    		}
    		// If the token is "STOP", stop the scanning and ignore the rest.
    		if string(data[:i]) == "STOP" {
    			return i + 1, nil, bufio.ErrFinalToken
    		}
    		// Otherwise, return the token before the comma.
    		return i + 1, data[:i], nil
    	}
    	const input = "1,2,STOP,4,"
    	scanner := bufio.NewScanner(strings.NewReader(input))
    	scanner.Split(onComma)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. src/bufio/scan.go

    //
    // Scanning stops if the function returns an error, in which case some of
    // the input may be discarded. If that error is [ErrFinalToken], scanning
    // stops with no error. A non-nil token delivered with [ErrFinalToken]
    // will be the last token, and a nil token with [ErrFinalToken]
    // immediately stops the scanning.
    //
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 23 09:06:30 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Stopwatch.java

        startTick = ticker.read();
        return this;
      }
    
      /**
       * Stops the stopwatch. Future reads will return the fixed duration that had elapsed up to this
       * point.
       *
       * @return this {@code Stopwatch} instance
       * @throws IllegalStateException if the stopwatch is already stopped.
       */
      @CanIgnoreReturnValue
      public Stopwatch stop() {
        long tick = ticker.read();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  6. internal/event/target/elasticsearch.go

    }
    
    // Close - does nothing and available for interface compatibility.
    func (target *ElasticsearchTarget) Close() error {
    	close(target.quitCh)
    	if target.client != nil {
    		// Stops the background processes that the client is running.
    		target.client.stop()
    	}
    	return nil
    }
    
    func (target *ElasticsearchTarget) checkAndInitClient(ctx context.Context) error {
    	if target.client != nil {
    		return nil
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 15K bytes
    - Viewed (0)
  7. src/builtin/builtin.go

    //
    //	x, ok := <-c
    //
    // will also set ok to false for a closed and empty channel.
    func close(c chan<- Type)
    
    // The panic built-in function stops normal execution of the current
    // goroutine. When a function F calls panic, normal execution of F stops
    // immediately. Any functions whose execution was deferred by F are run in
    // the usual way, and then F returns to its caller. To the caller G, the
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  8. cmd/admin-heal-ops.go

    	defer h.mutex.RUnlock()
    	// background heal never ends
    	if h.clientToken == bgHealingUUID {
    		return false
    	}
    	return !h.endTime.IsZero()
    }
    
    // stops the heal sequence - safe to call multiple times.
    func (h *healSequence) stop() {
    	h.cancelCtx()
    }
    
    // pushHealResultItem - pushes a heal result item for consumption in
    // the heal-status API. It blocks if there are
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  9. cmd/admin-handlers.go

    	timer := time.NewTimer(duration)
    	defer timer.Stop()
    	for {
    		select {
    		case <-ctx.Done():
    			// Stop remote profiles
    			go globalNotificationSys.DownloadProfilingData(GlobalContext, io.Discard)
    
    			// Stop local
    			globalProfilerMu.Lock()
    			defer globalProfilerMu.Unlock()
    			for k, v := range globalProfiler {
    				v.Stop()
    				delete(globalProfiler, k)
    			}
    			return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  10. cmd/erasure-server-pool-rebalance_gen.go

    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "startTs":
    			z.StartTime, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "StartTime")
    				return
    			}
    		case "stopTs":
    			z.EndTime, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "EndTime")
    				return
    			}
    		case "status":
    			{
    				var zb0002 uint8
    				zb0002, err = dc.ReadUint8()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 26.8K bytes
    - Viewed (0)
Back to top