Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 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/main/java/jcifs/dcerpc/DcerpcPipeHandle.java

            if (fraglen > getMaxRecv()) {
                throw new IOException("Unexpected fragment length: " + fraglen);
            }
    
            while (have < fraglen) {
                final int r = this.handle.recv(inB, have, fraglen - have);
                if (r == 0) {
                    throw new IOException("Unexpected EOF");
                }
                have += r;
            }
    
            return have;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. 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)
  4. ci/official/containers/ml_build_arm64/setup.sources.sh

    # Set up shared custom sources
    apt-get update
    apt-get install -y gnupg ca-certificates
    
    # Deadsnakes: https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa
    apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F23C5A6CF475977595C89F51BA6932366A755776
    
    # LLVM/Clang: https://apt.llvm.org/
    apt-key adv --fetch-keys https://apt.llvm.org/llvm-snapshot.gpg.key
    
    # Set up custom sources
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Nov 11 19:25:56 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. src/main/java/jcifs/smb/SmbPipeHandleInternal.java

         * @param off offset in the buffer
         * @param length maximum length to receive
         * @return number of bytes received
         * @throws IOException if an I/O error occurs
         */
        int recv(byte[] buf, int off, int length) throws IOException;
    
        /**
         * Send data to the pipe
         *
         * @param buf buffer containing data to send
         * @param off offset in the buffer
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  9. ci/official/containers/ml_build/setup.sources.sh

    # Set up shared custom sources
    apt-get update
    apt-get install -y gnupg ca-certificates
    
    # Deadsnakes: https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa
    apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F23C5A6CF475977595C89F51BA6932366A755776
    
    # LLVM/Clang: https://apt.llvm.org/
    apt-key adv --fetch-keys https://apt.llvm.org/llvm-snapshot.gpg.key
    
    # Set up custom sources
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Oct 03 21:13:05 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. 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)
Back to top