Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Recv (0.01 sec)

  1. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

                when(mockSmbPipeHandleInternal.sendrecv(buf, 0, 50, inB, 4280)).thenReturn(40);
                when(mockSmbPipeHandleInternal.recv(inB, 40, 40)).thenReturn(40);
    
                int result = handle.doSendReceiveFragment(buf, 0, 50, inB);
                assertEquals(80, result);
                verify(mockSmbPipeHandleInternal).recv(inB, 40, 40);
            }
    
            @Test
            @DisplayName("Should throw IOException when handle is stale")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

            // Act
            byte[] buf = new byte[16];
            byte[] recv = new byte[16];
            int r = spyHandle.sendrecv(buf, 2, 4, recv, 16);
    
            // Assert
            assertEquals(7, r);
            verify(mockOut).write(eq(buf), eq(2), eq(4));
            verify(mockIn).read(eq(recv));
        }
    
        @Test
        @DisplayName("recv delegates to input.readDirect with args")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  3. src/cmd/cgo/ast.go

    		case *ast.FuncDecl:
    			// Also, reject attempts to declare methods on C.T or *C.T.
    			// (The generated code would otherwise accept this
    			// invalid input; see issue #57926.)
    			if decl.Recv != nil && len(decl.Recv.List) > 0 {
    				recvType := decl.Recv.List[0].Type
    				if recvType != nil {
    					t := recvType
    					if star, ok := unparen(t).(*ast.StarExpr); ok {
    						t = star.X
    					}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Oct 14 15:47:06 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

            verify(tree).send(captor.capture(), any());
            assertNotNull(captor.getValue());
        }
    
        @Test
        @DisplayName("recv delegates to input.readDirect and returns its value")
        void testRecvDelegation() throws Exception {
            SmbPipeHandleImpl spyTarget = spy(target);
            SmbPipeInputStream in = mock(SmbPipeInputStream.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  5. src/cmd/api/main_test.go

    	sig := f.Signature()
    	if sig.Recv() != nil {
    		panic("method considered a regular function: " + f.String())
    	}
    	if w.isDeprecated(f) {
    		w.emitf("func %s //deprecated", f.Name())
    	}
    	w.emitf("func %s%s", f.Name(), w.signatureString(sig))
    }
    
    func (w *Walker) emitMethod(m *types.Selection) {
    	sig := m.Type().(*types.Signature)
    	recv := sig.Recv().Type()
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Feb 20 03:25:33 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

                Field maxRecvField = DcerpcBind.class.getDeclaredField("max_recv");
                maxRecvField.setAccessible(true);
                assertEquals(maxRecv, maxRecvField.get(bindWithParams), "Max recv should be set");
            }
    
            @Test
            @DisplayName("Package constructor should handle null binding")
            void testPackageConstructorWithNullBinding() throws Exception {
                // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  7. docs/bigdata/README.md

    fs.s3a.max.total.tasks=2048 # Maximum number of parallel tasks
    fs.s3a.multipart.size=512M # Size of each multipart chunk
    fs.s3a.multipart.threshold=512M # Size before using multipart uploads
    fs.s3a.socket.recv.buffer=65536 # Read socket buffer hint
    fs.s3a.socket.send.buffer=65536 # Write socket buffer hint
    fs.s3a.threads.max=2048 # Maximum number of threads for S3A
    ```
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

                final SmbPipeInputStream in = getInput();
                out.write(buf, off, length);
                return in.read(inB);
            }
        }
    
        @Override
        public int recv(final byte[] buf, final int off, final int len) throws IOException {
            return getInput().readDirect(buf, off, len);
    
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  9. api/go1.19.txt

    pkg go/doc/comment, type DocLink struct #51082
    pkg go/doc/comment, type DocLink struct, ImportPath string #51082
    pkg go/doc/comment, type DocLink struct, Name string #51082
    pkg go/doc/comment, type DocLink struct, Recv string #51082
    pkg go/doc/comment, type DocLink struct, Text []Text #51082
    pkg go/doc/comment, type Heading struct #51082
    pkg go/doc/comment, type Heading struct, Text []Text #51082
    pkg go/doc/comment, type Italic string #51082
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Dec 02 16:29:41 UTC 2022
    - 17.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/transport/Transport.java

                        log.trace("Remote closed connection");
                    } else if (timeout) {
                        log.debug("socket timeout in non peek state", ex);
                    } else {
                        log.debug("recv failed", ex);
                    }
    
                    synchronized (this) {
                        try {
                            disconnect(!timeout, false);
                        } catch (final IOException ioe) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
Back to top