Search Options

Results per page
Sort
Preferred Languages
Advance

Results 521 - 530 of 1,107 for Len (0.01 sec)

  1. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

        @Override
        protected void haveResponse ( byte[] buffer, int start, int len ) throws SMBProtocolDecodingException {
            if ( isRetainPayload() ) {
                byte[] payload = new byte[len];
                System.arraycopy(buffer, start, payload, 0, len);
                setRawPayload(payload);
            }
    
            if ( !verifySignature(buffer, start, len) ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 7.4K bytes
    - Viewed (0)
  2. src/archive/zip/reader_test.go

    	}
    	r.Close()
    
    	if g := uint64(b.Len()); g != size {
    		t.Errorf("%v: read %v bytes but f.UncompressedSize == %v", f.Name, g, size)
    	}
    
    	var c []byte
    	if ft.Content != nil {
    		c = ft.Content
    	} else if c, err = os.ReadFile("testdata/" + ft.File); err != nil {
    		t.Error(err)
    		return
    	}
    
    	if b.Len() != len(c) {
    		t.Errorf("%s: len=%d, want %d", f.Name, b.Len(), len(c))
    		return
    	}
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 55.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/NetServerEnum2Response.java

            return 0;
        }
        int writeDataWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
        int readSetupWireFormat( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
        int readParametersWireFormat( byte[] buffer, int bufferIndex, int len ) {
            int start = bufferIndex;
    
            status = readInt2( buffer, bufferIndex );
            bufferIndex += 2;
            converter = readInt2( buffer, bufferIndex );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.4K bytes
    - Viewed (0)
  4. cmd/prepare-storage.go

    			logger.Info("Waiting for a minimum of %d drives to come online (elapsed %s)\n",
    				len(endpoints)/2, getElapsedTime())
    		case errors.Is(err, errErasureWriteQuorum):
    			// no quorum available continue to wait for minimum number of servers.
    			logger.Info("Waiting for a minimum of %d drives to come online (elapsed %s)\n",
    				(len(endpoints)/2)+1, getElapsedTime())
    		case errors.Is(err, errErasureV3ThisEmpty):
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 11.1K bytes
    - Viewed (1)
  5. misc/linkcheck/linkcheck.go

    		return errors.New(res.Status)
    	}
    	slurp, err := io.ReadAll(res.Body)
    	res.Body.Close()
    	if err != nil {
    		log.Fatalf("Error reading %s body: %v", url, err)
    	}
    	if *verbose {
    		log.Printf("Len of %s: %d", url, len(slurp))
    	}
    	body := string(slurp)
    	for _, ref := range localLinks(body) {
    		if *verbose {
    			log.Printf("  links to %s", ref)
    		}
    		dest := *root + ref
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 06 15:53:04 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/pac/Pac.java

                            if ( log.isDebugEnabled() ) {
                                log.debug(
                                    String.format("Server signature is type %d @ %d len %d", this.serverSignature.getType(), bufferOffset, bufferSize));
                            }
                            // Clear signature from checksum copy
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/CharSequenceReader.java

      }
    
      @Override
      public synchronized int read(char[] cbuf, int off, int len) throws IOException {
        checkPositionIndexes(off, off + len, cbuf.length);
        checkOpen();
        requireNonNull(seq); // safe because of checkOpen
        if (!hasRemaining()) {
          return -1;
        }
        int charsToRead = min(len, remaining());
        for (int i = 0; i < charsToRead; i++) {
          cbuf[off + i] = seq.charAt(pos++);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/CharSequenceReader.java

      }
    
      @Override
      public synchronized int read(char[] cbuf, int off, int len) throws IOException {
        checkPositionIndexes(off, off + len, cbuf.length);
        checkOpen();
        requireNonNull(seq); // safe because of checkOpen
        if (!hasRemaining()) {
          return -1;
        }
        int charsToRead = min(len, remaining());
        for (int i = 0; i < charsToRead; i++) {
          cbuf[off + i] = seq.charAt(pos++);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. cmd/server_test.go

    	err = xml.Unmarshal(delRespBytes, &deleteResp)
    	c.Assert(err, nil)
    	c.Assert(len(deleteResp.DeletedObjects), len(delObjReq.Objects))
    	for i := 0; i < 10; i++ {
    		c.Assert(deleteResp.DeletedObjects[i], DeletedObject{
    			ObjectName: delObjReq.Objects[i].ObjectName,
    			VersionID:  delObjReq.Objects[i].VersionID,
    		})
    	}
    	c.Assert(len(deleteResp.Errors), 0)
    }
    
    // Tests delete object responses and success.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SSPContext.java

         */
        boolean isEstablished ();
    
    
        /**
         * @param token
         * @param off
         * @param len
         * @return result token
         * @throws SmbException
         * @throws CIFSException
         */
        byte[] initSecContext ( byte[] token, int off, int len ) throws CIFSException;
    
    
        /**
         * @return the name of the remote endpoint
         */
        String getNetbiosName ();
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.6K bytes
    - Viewed (0)
Back to top