Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 929 for flen (0.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. internal/hash/reader.go

    		if r.bytesRead > 0 {
    			return nil, errors.New("hash: already read from hash reader")
    		}
    		if len(r.checksum) != 0 && len(MD5) != 0 && !etag.Equal(r.checksum, MD5) {
    			return nil, BadDigest{
    				ExpectedMD5:   r.checksum.String(),
    				CalculatedMD5: md5Hex,
    			}
    		}
    		if len(r.contentSHA256) != 0 && len(SHA256) != 0 && !bytes.Equal(r.contentSHA256, SHA256) {
    			return nil, SHA256Mismatch{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 19 12:59:07 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. internal/logger/logger.go

    	// Copy tags. We hold read lock already.
    	tags := make(map[string]interface{}, len(req.tags))
    	for _, entry := range req.tags {
    		tags[entry.Key] = entry.Val
    	}
    
    	// Get the cause for the Error
    	deploymentID := req.DeploymentID
    	if req.DeploymentID == "" {
    		deploymentID = xhttp.GlobalDeploymentID
    	}
    
    	objects := make([]log.ObjectVersion, 0, len(req.Objects))
    	for _, ov := range req.Objects {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 09:43:48 UTC 2024
    - 12.4K bytes
    - Viewed (0)
Back to top