Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 124 for endPos (0.04 sec)

  1. internal/kms/secret-key.go

    		return b, kms.AES256
    	}
    
    	if b[0] == '{' && b[len(b)-1] == '}' { // JSON object
    		var c ciphertext
    		if err := c.UnmarshalJSON(b); err != nil {
    			// It may happen that a random ciphertext starts with '{' and ends with '}'.
    			// In such a case, parsing will fail but we must not return an error. Instead
    			// we return the ciphertext as it is.
    			return b, kms.AES256
    		}
    
    		b = b[:0]
    		b = append(b, c.Bytes...)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Apr 21 16:23:51 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

            if (addr != null) { /* UniAddress calls always use this
                                 * because it specifies addr
                                 */
                request.addr = addr; /* if addr ends with 255 flag it bcast */
                request.isBroadcast = addr.getAddress()[3] == (byte) 0xFF;
    
                n = RETRY_COUNT;
                do {
                    try {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Ints.java

        // (1) "Reversal", the one we have here.
        // (2) "Dolphin". If we're rotating an array a of size n by a distance of d, then element a[0]
        //     ends up at a[d], which in turn ends up at a[2d], and so on until we get back to a[0].
        //     (All indices taken mod n.) If d and n are mutually prime, all elements will have been
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 31.3K bytes
    - Viewed (0)
  4. cmd/metacache-stream.go

    // 2. String. Name of object. Directories contains a trailing slash.
    // 3. Binary. Blob of metadata. Length 0 on directories.
    // ... Next element.
    //
    // Streams can be assumed to be sorted in ascending order.
    // If the stream ends before a false boolean it can be assumed it was truncated.
    
    const metacacheStreamVersion = 2
    
    // metacacheWriter provides a serializer of metacache objects.
    type metacacheWriter struct {
    	streamErr   error
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed May 07 15:37:12 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

            lenient().when(config.getListSize()).thenReturn(4096);
    
            lenient().when(parent.getLocator()).thenReturn(locator);
            lenient().when(locator.getUNCPath()).thenReturn("\\\\SERVER\\Share\\dir\\"); // ends with \\
    
            // Create URL with registered handler
            URL smbUrl = new URL("smb://server/share/dir/");
            lenient().when(locator.getURL()).thenReturn(smbUrl);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ComparisonChain.java

       * </pre>
       *
       * @since 12.0 (present as {@code compare} since 2.0)
       */
      public abstract ComparisonChain compareFalseFirst(boolean left, boolean right);
    
      /**
       * Ends this comparison chain and returns its result: a value having the same sign as the first
       * nonzero comparison result in the chain, or zero if every result was zero.
       */
      public abstract int result();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            // After all data is consumed, next read throws IOException
            assertThrows(IOException.class, () -> sis.read());
        }
    
        @Test
        @DisplayName("EOF handling when stream ends mid-header")
        void eofHandlingMidHeader() throws IOException {
            // Create incomplete header (only 2 bytes instead of 4)
            byte[] incompleteHeader = new byte[] { (byte) SessionServicePacket.SESSION_MESSAGE, 0 };
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/ntlmssp/av/AvPairsTest.java

         * Test with data that has exact boundary conditions
         */
        @Test
        @DisplayName("Handle exact boundary data size")
        void testExactBoundarySize() throws CIFSException {
            // Test with data that ends exactly at the position where EOL should be checked
            byte[] data = new byte[0];
            byte[] avPairData = createAvPairData(AvPair.MsvAvTargetName, data);
            byte[] eolData = createEolData();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

        private final URL url;
    
        private DfsReferralData dfsReferral = null; // For getDfsPath() and getServerWithDfs()
    
        private String unc; // Initially null; set by getUncPath; never ends with '/'
        private String uncBeforeDfsReferal;
        private String canon; // Initially null; set by getUncPath; dir must end with '/'
        private String share; // Can be null
    
        private Address[] addresses;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Range.java

       *
       * @since 14.0
       */
      public static <C extends Comparable<?>> Range<C> singleton(C value) {
        return closed(value, value);
      }
    
      /**
       * Returns the minimal range that {@linkplain Range#contains(Comparable) contains} all of the
       * given values. The returned range is {@linkplain BoundType#CLOSED closed} on both ends.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 28K bytes
    - Viewed (0)
Back to top