Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 1,930 for stort (0.03 sec)

  1. src/main/java/org/codelibs/core/convert/ShortConversionUtil.java

                if (pattern != null) {
                    return Short.valueOf(new SimpleDateFormat(pattern).format(o));
                }
                return (short) ((java.util.Date) o).getTime();
            } else if (o instanceof Boolean) {
                return ((Boolean) o) ? (short) 1 : (short) 0;
            } else {
                return toShort(o.toString());
            }
        }
    
        private static Short toShort(final String s) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

            this.length = dstIndex - start;
    
            if (this.digest != null) {
                this.digest.sign(dst, this.headerStart, this.length, this, this.response);
            }
    
            return this.length;
        }
    
        @Override
        public int decode(final byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
            final int start = this.headerStart = bufferIndex;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java

                bb.putShort((short) 20); // pathConsumed
                bb.putShort((short) 1); // numReferrals
                bb.putShort((short) 15); // tflags
                bb.putShort((short) 0); // tflags high bytes
    
                // Simple v1 referral
                bb.putShort((short) 1); // version
                bb.putShort((short) 16); // size
                bb.putShort((short) 1); // serverType
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/ByteStreams.java

       *
       * @throws IndexOutOfBoundsException if {@code start} is negative or greater than the length of
       *     the array
       */
      @J2ktIncompatible
      public static ByteArrayDataInput newDataInput(byte[] bytes, int start) {
        checkPositionIndex(start, bytes.length);
        return newDataInput(new ByteArrayInputStream(bytes, start, bytes.length - start));
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  5. statement.go

    	}
    
    	if len(stmt.scopes) > 0 {
    		newStmt.scopes = make([]func(*DB) *DB, len(stmt.scopes))
    		copy(newStmt.scopes, stmt.scopes)
    	}
    
    	stmt.Settings.Range(func(k, v interface{}) bool {
    		newStmt.Settings.Store(k, v)
    		return true
    	})
    
    	return newStmt
    }
    
    // SetColumn set column's value
    //
    //	stmt.SetColumn("Name", "jinzhu") // Hooks Method
    //	stmt.SetColumn("Name", "jinzhu", true) // Callbacks Method
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/pac/PacUnicodeStringTest.java

    class PacUnicodeStringTest {
    
        /**
         * Tests the constructor and getter methods.
         */
        @Test
        void testConstructorAndGetters() {
            // Create a new instance with some test data
            short length = 10;
            short maxLength = 20;
            int pointer = 100;
            PacUnicodeString pacString = new PacUnicodeString(length, maxLength, pointer);
    
            // Verify that the object was created
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/testdata/riscv64.s

    	// TLS load with local-exec (LUI + ADDIW + ADD of TP + load)
    	MOV	tls(SB), X5				// b70f00009b8f0f00b38f4f0083b20f00
    	MOVB	tls(SB), X5				// b70f00009b8f0f00b38f4f0083820f00
    
    	// TLS store with local-exec (LUI + ADDIW + ADD of TP + store)
    	MOV	X5, tls(SB)				// b70f00009b8f0f00b38f4f0023b05f00
    	MOVB	X5, tls(SB)				// b70f00009b8f0f00b38f4f0023805f00
    
    	// NOT pseudo-instruction
    	NOT	X5					// 93c2f2ff
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed May 21 14:19:19 UTC 2025
    - 49.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

                    boolean haveResponseCalled = false;
    
                    @Override
                    protected void haveResponse(byte[] buffer, int start, int len) throws SMBProtocolDecodingException {
                        haveResponseCalled = true;
                        super.haveResponse(buffer, start, len);
                    }
                };
    
                byte[] buffer = new byte[256];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java

            InputStream is = new ByteArrayInputStream(input.getBytes(StandardCharsets.UTF_8));
    
            InputStreamThread thread = new InputStreamThread(is, StandardCharsets.UTF_8, 5, null);
            thread.start();
            thread.join(1000);
    
            String output = thread.getOutput();
            assertTrue(output.contains("line1"));
            assertTrue(output.contains("line2"));
            assertTrue(output.contains("line3"));
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/MultiInputStreamTest.java

      private void joinHelper(Integer... spans) throws Exception {
        List<ByteSource> sources = new ArrayList<>();
        int start = 0;
        for (Integer span : spans) {
          sources.add(newByteSource(start, span));
          start += span;
        }
        ByteSource joined = ByteSource.concat(sources);
        assertTrue(newByteSource(0, start).contentEquals(joined));
      }
    
      public void testReadSingleByte() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.6K bytes
    - Viewed (0)
Back to top