Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 8 of 8 for run_sync (0.06 seconds)

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

  1. scripts/translate.py

        MAX_ATTEMPTS = 3
        for attempt_no in range(1, MAX_ATTEMPTS + 1):
            print(f"Running agent for {out_path} (attempt {attempt_no}/{MAX_ATTEMPTS})")
            result = agent.run_sync(prompt)
            out_content = f"{result.output.strip()}\n"
            try:
                check_translation(
                    doc_lines=out_content.splitlines(),
                    en_doc_lines=original_content.splitlines(),
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:37:41 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/witness/WitnessClient.java

         * @return a future that completes when unregistration is done
         */
        public CompletableFuture<Void> unregister(WitnessRegistration registration) {
            return CompletableFuture.runAsync(() -> {
                try {
                    registration.setState(WitnessRegistrationState.UNREGISTERING);
    
                    WitnessUnregisterRequest request = new WitnessUnregisterRequest();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 20.8K bytes
    - Click Count (0)
  3. docs/smb3-features/06-witness-protocol-design.md

                    throw new RuntimeException(e);
                }
            });
        }
        
        public CompletableFuture<Void> unregister(WitnessRegistration registration) {
            return CompletableFuture.runAsync(() -> {
                try {
                    registration.setState(WitnessRegistrationState.UNREGISTERING);
                    
                    WitnessUnregisterRequest request = new WitnessUnregisterRequest();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 42K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

         *
         * @param handle notification handle
         */
        private void startAsyncNotification(ChangeNotificationHandle handle) {
            CompletableFuture<Void> future = CompletableFuture.runAsync(() -> {
                while (handle.isActive()) {
                    try {
                        // Note: Actual SMB2 Change Notify implementation would go here
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  5. docs/smb3-features/04-directory-leasing-design.md

                // Cancel any pending notifications
                cancelNotification(handle);
            }
        }
        
        private void startAsyncNotification(ChangeNotificationHandle handle) {
            CompletableFuture.runAsync(() -> {
                while (handle.active) {
                    try {
                        // Send SMB2 Change Notify request
                        Smb2ChangeNotifyRequest request = new Smb2ChangeNotifyRequest();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 36.2K bytes
    - Click Count (0)
  6. docs/smb3-features/01-smb3-lease-design.md

    ## 10. Error Handling
    
    ### 10.1 Lease Break Timeout
    ```java
    public void handleLeaseBreakWithTimeout(Smb2LeaseKey key, int newState) {
        CompletableFuture<Void> future = CompletableFuture.runAsync(() -> {
            handleLeaseBreak(key, newState);
        });
        
        try {
            future.get(5, TimeUnit.SECONDS);  // 5 second timeout
        } catch (TimeoutException e) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 22K bytes
    - Click Count (0)
  7. docs/smb3-features/02-persistent-handles-design.md

            List<CompletableFuture<Void>> futures = new ArrayList<>();
            
            for (HandleInfo handle : handles) {
                futures.add(CompletableFuture.runAsync(() -> {
                    try {
                        reconnectHandle(handle);
                    } catch (Exception e) {
                        log.error("Failed to reconnect handle: " + handle.path, e);
                    }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 31.6K bytes
    - Click Count (0)
  8. docs/smb3-features/03-multi-channel-design.md

            final int chunkLength = (i == channelCount - 1) ? 
                length - chunkOffset : chunkSize;
            final ChannelInfo channel = channels.get(i);
            
            CompletableFuture<Void> future = CompletableFuture.runAsync(() -> {
                try {
                    Smb2ReadRequest request = new Smb2ReadRequest();
                    request.setFileId(this.fileId);
                    request.setOffset(offset + chunkOffset);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 39.6K bytes
    - Click Count (0)
Back to Top