Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 788 for lencode (0.06 sec)

  1. src/main/java/jcifs/internal/smb2/ioctl/QueryNetworkInterfaceInfoRequest.java

         */
        public int size() {
            return 0;
        }
    
        /**
         * Encode this request (no-op since there's no data)
         *
         * @param dst destination buffer
         * @param dstIndex starting offset
         * @return number of bytes written (always 0)
         */
        public int encode(byte[] dst, int dstIndex) {
            // No data to encode
            return 0;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/ndr/NdrHyperTest.java

        }
    
        @Test
        void testEncode() throws NdrException {
            // Test the encode method
            long testValue = 987654321098765L;
            NdrHyper ndrHyper = new NdrHyper(testValue);
    
            // Call the encode method with the mocked NdrBuffer
            ndrHyper.encode(mockNdrBuffer);
    
            // Verify that enc_ndr_hyper was called exactly once with the correct value
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java

            when(mockInputData.encode(any(byte[].class), anyInt())).thenReturn(100);
            request.setInputData(mockInputData);
            byte[] buffer = new byte[1024];
    
            int written = request.writeBytesWireFormat(buffer, 0);
    
            assertTrue(written > 57);
            verify(mockInputData).encode(any(byte[].class), anyInt());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  4. cmd/postpolicyform.go

    						// Reject duplicate conditions or expiration.
    						return nil, fmt.Errorf("input policy has multiple %s, please fix your client code", kv.Key)
    					}
    					sset.Add(kv.Key)
    				}
    			}
    			e.Encode(kvs)
    		}
    	}
    	return &buf, d.Err()
    }
    
    // parsePostPolicyForm - Parse JSON policy string into typed PostPolicyForm structure.
    func parsePostPolicyForm(r io.Reader) (PostPolicyForm, error) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/elevateword/AdminElevatewordAction.java

                final PermissionHelper permissionHelper = ComponentUtil.getPermissionHelper();
                entity.setPermissions(split(form.permissions, "\n").get(
                        stream -> stream.map(permissionHelper::encode).filter(StringUtil::isNotBlank).distinct().toArray(n -> new String[n])));
                return entity;
            });
        }
    
        /**
         * Registers label type data for rendering in the view.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopy.java

            this.sourceKey = sourceKey;
            this.chunks = chunks;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#encode(byte[], int)
         */
        @Override
        public int encode(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            System.arraycopy(this.sourceKey, 0, dst, dstIndex, 24);
            dstIndex += 24;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/ntlmssp/av/AvTargetName.java

        }
    
        /**
         * Constructs an AvTargetName with the specified target name
         *
         * @param targetName the target name string to encode
         */
        public AvTargetName(final String targetName) {
            this(encode(targetName));
        }
    
        /**
         * Gets the target name from this AV pair
         *
         * @return the target name
         */
        public String getTargetName() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/custom-response.md

    This is because by default, FastAPI will inspect every item inside and make sure it is serializable as JSON, using the same [JSON Compatible Encoder](../tutorial/encoder.md){.internal-link target=_blank} explained in the tutorial. This is what allows you to return **arbitrary objects**, for example database models.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/labeltype/AdminLabeltypeAction.java

                final PermissionHelper permissionHelper = ComponentUtil.getPermissionHelper();
                entity.setPermissions(split(form.permissions, "\n").get(stream -> stream.map(s -> permissionHelper.encode(s))
                        .filter(StringUtil::isNotBlank)
                        .distinct()
                        .toArray(n -> new String[n])));
                return entity;
            });
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  10. cmd/callhome.go

    	}{Version: healthInfo.Version}
    
    	enc := json.NewEncoder(gzWriter)
    	if e := enc.Encode(header); e != nil {
    		internalLogIf(ctx, fmt.Errorf("Could not encode health info header: %w", e))
    		return nil
    	}
    
    	if e := enc.Encode(healthInfo); e != nil {
    		internalLogIf(ctx, fmt.Errorf("Could not encode health info: %w", e))
    		return nil
    	}
    
    	gzWriter.Flush()
    	gzWriter.Close()
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
Back to top