Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 78 for SetBytes (0.2 sec)

  1. src/main/java/jcifs/smb1/smb1/SigningDigest.java

                update(data, offset, length);
                System.arraycopy(digest(), 0, data, index, 8);
                if (bypass) {
                    bypass = false;
                    System.arraycopy("BSRSPYL ".getBytes(), 0, data, index, 8);
                }
            } catch (Exception ex) {
                if( log.level > 0 )
                    ex.printStackTrace( log );
            } finally {
                signSequence += 2;
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/spnego/NegTokenInit.java

                            break;
                        case 1:
                            ASN1BitString ctxFlags = DERBitString.getInstance(tagged, true);
                            setContextFlags(ctxFlags.getBytes()[ 0 ] & 0xff);
                            break;
                        case 2:
                            ASN1OctetString mechanismToken = ASN1OctetString.getInstance(tagged, true);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Oct 01 12:01:17 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiFileTest.java

            FileUtil.write(
                    file1.getAbsolutePath(),
                    "token1,seg1,reading1,pos1\ntoken2,seg2,reading2,pos2\ntoken3,seg3,reading3,pos3"
                            .getBytes(Constants.UTF_8));
        }
    
        @Override
        protected void tearDown() throws Exception {
            file1.delete();
        }
        */
    
        @Override
        public void setUp() throws Exception {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/io/InputStreamUtilTest.java

            final InputStream is = ResourceUtil.getResourceAsStream(StringUtil.replace(getClass().getName(), ".", "/") + ".class");
            try {
                assertNotNull("1", InputStreamUtil.getBytes(is));
            } finally {
                is.close();
            }
        }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/Name.java

        }
    
        int writeWireFormat( byte[] dst, int dstIndex ) {
            // write 0x20 in first byte
            dst[dstIndex] = 0x20;
    
            // write name
            try {
                byte tmp[] = name.getBytes( Name.OEM_ENCODING );
                int i;
                for( i = 0; i < tmp.length; i++ ) {
                    dst[dstIndex + ( 2 * i + 1 )] = (byte)((( tmp[i] & 0xF0 ) >> 4 ) + 0x41 );
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 6.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/ntlmssp/av/AvTargetName.java

            return new String(getRaw(), UTF16LE);
        }
    
    
        /**
         * @param targetName
         * @return
         */
        private static byte[] encode ( String targetName ) {
            return targetName.getBytes(UTF16LE);
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/convert/BinaryConversionUtilTest.java

            final byte[] b = { 0x00, 0x01 };
            assertThat(BinaryConversionUtil.toBinary(b), is(b));
            assertThat(BinaryConversionUtil.toBinary("hoge"), is("hoge".getBytes()));
        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.convert.BinaryConversionUtil#toBinary(java.lang.Object)}
         * .
         */
        @Test
        public void testToBinaryException() {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/cache/CacheAction.java

            }
    
            final StreamResponse response = asStream(DocumentUtil.getValue(doc, fessConfig.getIndexFieldDocId(), String.class))
                    .contentType("text/html; charset=UTF-8").data(content.getBytes(Constants.CHARSET_UTF_8));
            response.headerContentDispositionInline(); // TODO will be fixed in lastaflute
            return response;
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/net/NetShareEnum.java

        }
    
    
        @Override
        protected int writeParametersWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
            byte[] descr;
    
            try {
                descr = DESCR.getBytes("ASCII");
            }
            catch ( UnsupportedEncodingException uee ) {
                return 0;
            }
    
            SMBUtil.writeInt2(NET_SHARE_ENUM, dst, dstIndex);
            dstIndex += 2;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/net/NetServerEnum2.java

            int start = dstIndex;
            byte[] descr;
            int which = getSubCommand() == NET_SERVER_ENUM2 ? 0 : 1;
    
            try {
                descr = DESCR[ which ].getBytes("ASCII");
            }
            catch ( UnsupportedEncodingException uee ) {
                return 0;
            }
    
            SMBUtil.writeInt2(getSubCommand() & 0xFF, dst, dstIndex);
            dstIndex += 2;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4K bytes
    - Viewed (0)
Back to top