Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 544 for reading5 (0.04 sec)

  1. src/main/java/jcifs/smb1/netbios/NameQueryResponse.java

                return 0;
            }
            final boolean groupName = ((src[srcIndex] & 0x80) == 0x80) == true;
            final int nodeType = (src[srcIndex] & 0x60) >> 5;
            srcIndex += 2;
            final int address = readInt4(src, srcIndex);
            if (address != 0) {
                addrEntry[addrIndex] = new NbtAddress(recordName, address, groupName, nodeType);
            } else {
                addrEntry[addrIndex] = null;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/Smb2EchoResponse.java

         */
        @Override
        protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
            final int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if (structureSize != 4) {
                throw new SMBProtocolDecodingException("Expected structureSize = 4");
            }
            return bufferIndex - start;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/com/SmbComWriteResponseTest.java

        }
    
        @Test
        public void testReadParameterWordsUpdatesCount() {
            // create a buffer with count = 0x1234 (4660 decimal)
            // Using little-endian byte order as per SMBUtil.readInt2
            byte[] buf = new byte[12];
            buf[0] = 0x34; // Low byte
            buf[1] = 0x12; // High byte
            int written = resp.readParameterWordsWireFormat(buf, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/thirdparty/publicsuffix/TrieParser.java

       *     the stack is in reverse order.
       * @param encoded The serialized trie.
       * @param start An index in the encoded serialized trie to begin reading characters from.
       * @param builder A map builder to which all entries will be added.
       * @return The number of characters consumed from {@code encoded}.
       */
      private static int doParseTrieToBuilder(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4K bytes
    - Viewed (0)
  5. docs/debugging/xattr/main.go

    		if err := setxattr(path, name, value); err != nil {
    			log.Fatalln(fmt.Errorf("setting attribute %s failed with: %v", name, err))
    		}
    	} else {
    		if name == "" {
    			log.Fatalln("you must specify an attribute name for reading")
    		}
    		var names []string
    		if name == "." {
    			attrs, err := listxattr(path)
    			if err != nil {
    				log.Fatalln(fmt.Errorf("listing attributes failed with: %v", err))
    			}
    			names = append(names, attrs...)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Dec 29 23:52:41 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  6. docs/sts/ldap.go

    		if f, err := os.Open(sessionPolicyFile); err != nil {
    			log.Fatalf("Unable to open session policy file %s: %v", sessionPolicyFile, err)
    		} else {
    			bs, err := io.ReadAll(f)
    			if err != nil {
    				log.Fatalf("Error reading session policy file: %v", err)
    			}
    			policy = string(bs)
    		}
    		ldapOpts = append(ldapOpts, cr.LDAPIdentityPolicyOpt(policy))
    	}
    	if expiryDuration != 0 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Aug 07 12:59:47 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java

            assertEquals(SmbComTransaction.TRANS_TRANSACT_NAMED_PIPE, dst[0]);
            assertEquals(0x00, dst[1]);
    
            // Verify FID is written correctly (little-endian)
            int writtenFid = SMBUtil.readInt2(dst, 2);
            assertEquals(TEST_FID, writtenFid);
        }
    
        @Test
        @DisplayName("Test writeDataWireFormat with sufficient buffer")
        void testWriteDataWireFormatSufficientBuffer() {
            // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java

                        // Take out basedir expression and the leading slash
                        s = chopLeadingFileSeparator(s.substring(basedirExpr.length()));
                    } else {
                        s = ".";
                    }
                }
            }
    
            return s;
        }
    
        /**
         * Removes the leading directory separator from the specified filesystem path (if any). For platform-independent
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/session/Smb2LogoffResponse.java

         */
        @Override
        protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) throws SMBProtocolDecodingException {
            final int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if (structureSize != 4) {
                throw new SMBProtocolDecodingException("Structure size is not 4");
            }
            return 4;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/io/Smb2FlushResponse.java

         */
        @Override
        protected int readBytesWireFormat(final byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
            final int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if (structureSize != 4) {
                throw new SMBProtocolDecodingException("Expected structureSize = 4");
            }
            bufferIndex += 4;
    
            return bufferIndex - start;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
Back to top