Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 10 for urlopen (0.09 seconds)

  1. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

                });
                fail("Should have thrown exception");
            } catch (CIFSException e) {
                // Expected - failure in HALF_OPEN should reopen circuit
            }
    
            assertEquals(State.OPEN, circuitBreaker.getState(), "Circuit should reopen after failure in HALF_OPEN");
        }
    
        @Test
        public void testStateTransitionMetrics() throws Exception {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 23.2K bytes
    - Click Count (0)
  2. docs/tr/docs/advanced/behind-a-proxy.md

    Şuradan kontrol edebilirsiniz: [http://127.0.0.1:8000/docs](http://127.0.0.1:8000/docs):
    
    <img src="/img/tutorial/behind-a-proxy/image01.png">
    
    Ancak docs UI'yi proxy üzerinden, `9999` portuyla, `/api/v1/docs` altında "resmi" URL'den açarsak doğru çalışır! 🎉
    
    Şuradan kontrol edebilirsiniz: [http://127.0.0.1:9999/api/v1/docs](http://127.0.0.1:9999/api/v1/docs):
    
    <img src="/img/tutorial/behind-a-proxy/image02.png">
    
    Tam istediğimiz gibi. ✔️
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 16.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

            verify(tree, atLeastOnce()).release();
    
            // Re-prepare state for second branch: not open but handle set
            when(fileHandle.isValid()).thenReturn(false);
            // Need to reopen logic to set handle again
            // Reset open flag by reconstructing target
            target = new SmbPipeHandleImpl(pipe);
    
            target.ensureOpen(); // handle present but invalid per isValid=false
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  4. src/test/java/jcifs/util/SimpleCircuitBreakerTest.java

            // Open the circuit
            circuitBreaker.tripBreaker();
    
            // Wait for timeout
            Thread.sleep(150);
    
            // Single failure in HALF_OPEN should reopen
            try {
                circuitBreaker.call(() -> {
                    throw new RuntimeException("Test failure");
                });
            } catch (Exception e) {
                // Expected
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/SmbFileOutputStreamTest.java

            when(mockFileHandle.getFileId()).thenReturn(new byte[16]);
            when(mockFileHandle.acquire()).thenReturn(mockFileHandle);
    
            // Mock for ensureOpen to reopen file
            when(mockFile.openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt())).thenReturn(mockFileHandle);
    
            when(mockTreeHandle.send(any(Smb2WriteRequest.class), any())).thenReturn(mockWriteResponse);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/SmbCopyUtil.java

                                ioff += maxChunkSize;
                            }
    
                            if (dfd == null || !dfd.isValid()) {
                                // don't reopen the file for every round if it's not necessary, keep the lock
                                dfd = openCopyTargetFile(dest, src.getAttributes(), !write);
                            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

            }
            file.open(openFlags, access | SmbConstants.FILE_WRITE_DATA, SmbFile.ATTR_NORMAL, 0);
            this.openFlags &= ~(SmbFile.O_CREAT | SmbFile.O_TRUNC); /* in case close and reopen */
            writeSize = file.tree.session.transport.snd_buf_size - 70;
    
            useNTSmbs = file.tree.session.transport.hasCapability(SmbConstants.CAP_NT_SMBS);
            if (useNTSmbs) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/SmbFileOutputStream.java

                this.writeSizeFile = sendBufferSize;
                return;
            }
    
            this.openFlags &= ~(SmbConstants.O_CREAT | SmbConstants.O_TRUNC); /* in case we close and reopen */
            this.writeSize = sendBufferSize - 70;
    
            this.useNTSmbs = th.hasCapability(SmbConstants.CAP_NT_SMBS);
            if (!this.useNTSmbs) {
                log.debug("No support for NT SMBs");
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  9. docs/smb3-features/02-persistent-handles-design.md

                    // Create reconnect context
                    DurableHandleReconnect reconnectCtx = 
                        new DurableHandleReconnect(info.fileId);
                    
                    // Attempt to reopen with reconnect context
                    Smb2CreateRequest createReq = new Smb2CreateRequest();
                    createReq.setPath(info.path);
                    createReq.addCreateContext(reconnectCtx);
                    
    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)
  10. docs/tr/docs/index.md

    Deploying to FastAPI Cloud...
    
    ✅ Deployment successful!
    
    🐔 Ready the chicken! Your app is ready at https://myapp.fastapicloud.dev
    ```
    
    </div>
    
    Hepsi bu! Artık uygulamanıza bu URL'den erişebilirsiniz. ✨
    
    #### FastAPI Cloud hakkında { #about-fastapi-cloud }
    
    **[FastAPI Cloud](https://fastapicloud.com)**, **FastAPI**'ın arkasındaki aynı yazar ve ekip tarafından geliştirilmiştir.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 23.2K bytes
    - Click Count (0)
Back to Top