Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 298 for stopfn (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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)
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Nov 01 21:52:12 GMT 2024
    - 5.5K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerAction.java

        }
    
        /**
         * Stops a scheduled job by ID.
         *
         * @param id the ID of the scheduled job to stop
         * @return JSON response indicating success or failure
         */
        // PUT /api/admin/scheduler/{id}/stop
        @Execute(urlPattern = "{}/@word")
        public JsonResponse<ApiResult> put$stop(final String id) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sun Nov 23 12:34:02 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/SmbCopyUtilTest.java

            verify(out, timeout(1000)).write(payload, 0, 3);
    
            // Stop the thread by sending n = -1
            synchronized (w) {
                w.write(new byte[0], -1, out);
            }
    
            w.join(2000);
            assertFalse(w.isAlive(), "WriterThread should stop after -1 sentinel");
        }
    
        @Test
        @DisplayName("WriterThread surfaces SmbException via checkException")
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

            }
        }
    
        /**
         * Forces all crawlers to stop immediately.
         * Sets the force stop flag and stops all active crawler instances.
         */
        private void forceStop() {
            systemHelper.setForceStop(true);
            if (crawlerList != null) {
                for (final Crawler crawler : crawlerList) {
                    crawler.stop();
                }
            }
        }
    
        /**
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 32.9K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/scheduler/AdminSchedulerAction.java

            });
            return redirect(getClass());
        }
    
        /**
         * Stops a running scheduled job.
         *
         * @param form the edit form containing the ID of the job to stop
         * @return HTML response redirecting to the list page after stopping
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse stop(final EditForm form) {
            verifyCrudMode(form.crudMode, CrudMode.DETAILS, this::asListHtml);
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 21.8K bytes
    - Click Count (0)
  6. 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
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Dec 30 23:59:23 GMT 2024
    - 12.8K bytes
    - Click Count (0)
  7. 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
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/witness/WitnessClient.java

                }
            }, scheduler);
    
            asyncNotifyTasks.put(registrationId, asyncTask);
            log.debug("Started async notification monitoring for {}", registrationId);
        }
    
        /**
         * Stops asynchronous notification monitoring for a registration.
         *
         * @param registrationId the registration ID
         */
        private void stopAsyncNotificationMonitoring(String registrationId) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 20.8K bytes
    - Click Count (0)
  9. 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
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 15K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

                return finished;
            }
    
            /**
             * Stops the crawling operation gracefully.
             * If a data store is currently active, this method calls
             * its stop method to halt the crawling process.
             */
            public void stopCrawling() {
                if (dataStore != null) {
                    dataStore.stop();
                }
            }
    
            /**
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 19K bytes
    - Click Count (0)
Back to Top