Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 512 for nlen (1.85 sec)

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

        @Override
        public void write(final byte[] b, final int off, int len) throws IOException {
            if (len < 0) {
                len = 0;
            }
    
            if ((pipe.pipeType & SmbNamedPipe.PIPE_TYPE_CALL) == SmbNamedPipe.PIPE_TYPE_CALL) {
                pipe.send(new TransWaitNamedPipe(path), new TransWaitNamedPipeResponse());
                pipe.send(new TransCallNamedPipe(path, b, off, len), new TransCallNamedPipeResponse(pipe));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/TransCallNamedPipeResponse.java

        int readSetupWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            return 0;
        }
    
        @Override
        int readParametersWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            return 0;
        }
    
        @Override
        int readDataWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            if (pipe.pipeIn != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  3. cmd/xl-storage-format_test.go

    	}
    	if len(unMarshalXLMeta.Erasure.Distribution) != len(jsoniterXLMeta.Erasure.Distribution) {
    		t.Errorf("Expected the size of Erasure Distribution to be %d, but got %d.", len(unMarshalXLMeta.Erasure.Distribution), len(jsoniterXLMeta.Erasure.Distribution))
    	} else {
    		for i := 0; i < len(unMarshalXLMeta.Erasure.Distribution); i++ {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  4. cmd/erasure-object.go

    	metadataArray := make([]*xlMetaV2, len(rawFileInfos))
    	metaFileInfos := make([]FileInfo, len(rawFileInfos))
    	metadataShallowVersions := make([][]xlMetaV2ShallowVersion, len(rawFileInfos))
    	var v2bufs [][]byte
    	if !readData {
    		v2bufs = make([][]byte, len(rawFileInfos))
    	}
    
    	// Read `xl.meta` in parallel across disks.
    	for index := range rawFileInfos {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 80.4K bytes
    - Viewed (0)
  5. clause/group_by.go

    		}
    
    		builder.WriteQuoted(column)
    	}
    
    	if len(groupBy.Having) > 0 {
    		builder.WriteString(" HAVING ")
    		Where{Exprs: groupBy.Having}.Build(builder)
    	}
    }
    
    // MergeClause merge group by clause
    func (groupBy GroupBy) MergeClause(clause *Clause) {
    	if v, ok := clause.Expression.(GroupBy); ok {
    		copiedColumns := make([]Column, len(v.Columns))
    		copy(copiedColumns, v.Columns)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Mar 30 10:28:09 UTC 2021
    - 1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2Response.java

                     * one might be able to reduce this.
                     */
    
                    if (len > 0 && src[srcIndex + len - 1] == '\0') {
                        len--;
                    }
                    str = new String(src, srcIndex, len, SmbConstants.OEM_ENCODING);
                }
            } catch (final UnsupportedEncodingException uee) {
                if (LogStream.level > 1) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  7. cmd/erasure-utils.go

    		if offset >= int64(len(block)) {
    			// Decrement offset.
    			offset -= int64(len(block))
    			continue
    		}
    
    		// Skip until offset.
    		block = block[offset:]
    
    		// Reset the offset for next iteration to read everything
    		// from subsequent blocks.
    		offset = 0
    
    		// We have written all the blocks, write the last remaining block.
    		if write < int64(len(block)) {
    			n, err := dst.Write(block[:write])
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. cmd/metrics-realtime.go

    		} else {
    			// not collecting per-cpu stats, so there will be only one element
    			if len(cm) == 1 {
    				m.Aggregated.CPU.TimesStat = &cm[0]
    			} else {
    				m.Errors = append(m.Errors, fmt.Sprintf("%s: Expected one CPU stat, got %d", byHostName, len(cm)))
    			}
    		}
    		cpuCount, err := c.Counts(true)
    		if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Jun 01 05:16:24 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. cmd/mrf.go

    func (m *mrfState) shutdown() {
    	atomic.StoreInt32(&m.closing, 1)
    	m.wg.Wait()
    	close(m.opCh)
    	atomic.StoreInt32(&m.closed, 1)
    
    	if len(m.opCh) > 0 {
    		healingLogEvent(context.Background(), "Saving MRF healing data (%d entries)", len(m.opCh))
    	}
    
    	newReader := func() io.ReadCloser {
    		r, w := io.Pipe()
    		go func() {
    			// Initialize MRF meta header.
    			var data [4]byte
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/http/NetworkExplorer.java

            final char[] out = new char[256];
            char ch;
            int len, p, i;
    
            if (pathInfo == null) {
                return null;
            }
            len = pathInfo.length();
    
            p = i = 0;
            while (p < len && pathInfo.charAt(p) == '/') {
                p++;
            }
            if (p == len) {
                return null;
            }
    
            /* collect server name */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
Back to top