Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 247 for msglen (0.12 sec)

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

                                                src[srcIndex + len + 1] != (byte)0x00 ) {
                        len += 2;
                        if( len > maxLen ) {
    if( log.level > 0 )
    Hexdump.hexdump( System.err, src, srcIndex, maxLen < 128 ? maxLen + 8 : 128 );
                            throw new RuntimeException( "zero termination not found" );
                        }
                    }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 21K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/net/http2/hpack/huffman.go

    // Huffman-encoded strings.
    var ErrInvalidHuffman = errors.New("hpack: invalid Huffman-encoded data")
    
    // huffmanDecode decodes v to buf.
    // If maxLen is greater than 0, attempts to write more to buf than
    // maxLen bytes will return ErrStringLength.
    func huffmanDecode(buf *bytes.Buffer, maxLen int, v []byte) error {
    	rootHuffmanNode := getRootHuffmanNode()
    	n := rootHuffmanNode
    	// cur is the bit buffer that has not been fed into n.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 05 19:54:32 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  3. src/internal/bytealg/index_amd64.go

    // license that can be found in the LICENSE file.
    
    package bytealg
    
    import "internal/cpu"
    
    const MaxBruteForce = 64
    
    func init() {
    	if cpu.X86.HasAVX2 {
    		MaxLen = 63
    	} else {
    		MaxLen = 31
    	}
    }
    
    // Cutover reports the number of failures of IndexByte we should tolerate
    // before switching over to Index.
    // n is the number of bytes processed so far.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Mar 04 19:49:44 UTC 2018
    - 617 bytes
    - Viewed (0)
  4. src/internal/bytealg/index_native.go

    package bytealg
    
    // Index returns the index of the first instance of b in a, or -1 if b is not present in a.
    // Requires 2 <= len(b) <= MaxLen.
    //
    //go:noescape
    func Index(a, b []byte) int
    
    // IndexString returns the index of the first instance of b in a, or -1 if b is not present in a.
    // Requires 2 <= len(b) <= MaxLen.
    //
    //go:noescape
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 02 22:56:35 UTC 2023
    - 590 bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/NamingTest.java

    
        private static String[] splitString ( String str, int maxLen ) {
            int num = str.length() / maxLen;
            if ( str.length() % maxLen != 0 ) {
                num++;
            }
            String strings[] = new String[num];
            for ( int i = 0; i < num; i++ ) {
                strings[ i ] = str.substring(i * maxLen, Math.min(str.length() - 1, ( i + 1 ) * maxLen));
            }
            return strings;
        }
    
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sat Jun 06 10:48:05 UTC 2020
    - 7K bytes
    - Viewed (0)
  6. src/internal/bytealg/bytealg.go

    	offsetS390xHasVX = unsafe.Offsetof(cpu.S390X.HasVX)
    
    	offsetPPC64HasPOWER9 = unsafe.Offsetof(cpu.PPC64.IsPOWER9)
    )
    
    // MaxLen is the maximum length of the string to be searched for (argument b) in Index.
    // If MaxLen is not 0, make sure MaxLen >= 4.
    var MaxLen int
    
    // PrimeRK is the prime base used in Rabin-Karp algorithm.
    const PrimeRK = 16777619
    
    // HashStr returns the hash and the appropriate multiplicative
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 19 19:51:15 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                            break;
                        }
                    }
                }
                sorted.add( j, dirents[i] );
            }
            if( maxLen > 50 ) {
                maxLen = 50;
            }
            maxLen *= 9; /* convert to px */
    
            out = resp.getWriter();
    
            resp.setContentType( "text/html" );
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Wed Jan 22 03:57:31 UTC 2020
    - 19.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/http/NetworkExplorer.java

                            break;
                        }
                    }
                }
                sorted.add(j, dirents[ i ]);
            }
            if ( maxLen > 50 ) {
                maxLen = 50;
            }
            maxLen *= 9; /* convert to px */
    
            resp.setContentType("text/html");
    
            out.println("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">");
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 21.3K bytes
    - Viewed (0)
  9. src/runtime/os_freebsd.go

    	oid := [2]uint32{_CTL_QUERY, _CTL_QUERY_MIB}
    	miblen := uintptr(_CTL_MAXNAME)
    	if sysctl(&oid[0], 2, (*byte)(unsafe.Pointer(mib)), &miblen, (*byte)(unsafe.Pointer(&name[0])), (uintptr)(len(name))) < 0 {
    		return 0
    	}
    	miblen /= unsafe.Sizeof(uint32(0))
    	if miblen <= 0 {
    		return 0
    	}
    	return uint32(miblen)
    }
    
    const (
    	_CPU_CURRENT_PID = -1 // Current process ID.
    )
    
    //go:noescape
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  10. src/cmd/internal/objabi/flag.go

    			fmt.Print(debugHelpHeader)
    			maxLen, names := 0, []string{}
    			if f.debugSSA != nil {
    				maxLen = len("ssa/help")
    			}
    			for name := range f.tab {
    				if len(name) > maxLen {
    					maxLen = len(name)
    				}
    				names = append(names, name)
    			}
    			sort.Strings(names)
    			// Indent multi-line help messages.
    			nl := fmt.Sprintf("\n\t%-*s\t", maxLen, "")
    			for _, name := range names {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 10 23:08:09 UTC 2023
    - 9.5K bytes
    - Viewed (0)
Back to top