Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 610 for skip1 (0.04 sec)

  1. src/main/java/jcifs/smb/SmbFileInputStream.java

            return 0;
        }
    
    
        /**
         * Skip n bytes of data on this stream. This operation will not result
         * in any IO with the server. Unlink <tt>InputStream</tt> value less than
         * the one provided will not be returned if it exceeds the end of the file
         * (if this is a problem let us know).
         */
        @Override
        public long skip ( long n ) throws IOException {
            if ( n > 0 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 08:55:14 UTC 2020
    - 13.2K bytes
    - Viewed (0)
  2. cmd/metacache_gen.go

    				return
    			}
    		case "v":
    			z.dataVersion, err = dc.ReadUint8()
    			if err != nil {
    				err = msgp.WrapError(err, "dataVersion")
    				return
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z *metacache) EncodeMsg(en *msgp.Writer) (err error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Nov 08 18:26:08 UTC 2021
    - 10K bytes
    - Viewed (0)
  3. docs/features/caching.md

    Cache Events are exposed via the EventListener API.  Typical scenarios are below.
    
    ### Cache Hit
    
    In the ideal scenario the cache can fulfill the request without any conditional call to the network.
    This will skip the normal events such as DNS, connecting to the network, and downloading the response body.
    
    As recommended by the HTTP RFC the max age of a document is defaulted to 10% of the 
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  4. cmd/metacache-set.go

    			// Everybody agreed
    			for _, r := range readers {
    				r.skip(1)
    			}
    			if opts.agreed != nil {
    				opts.agreed(current)
    			}
    			continue
    		}
    		if opts.partial != nil {
    			opts.partial(topEntries, errs)
    		}
    		// Skip the inputs we used.
    		for i, r := range readers {
    			if topEntries[i].name != "" {
    				r.skip(1)
    			}
    		}
    	}
    	return nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.java

        DataOutputStream out = new DataOutputStream(baos);
    
        /* Write out various test values NORMALLY */
        out.write(new byte[] {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}); // 10 bytes of junk to skip
        initializeData(out);
    
        byte[] data = baos.toByteArray();
    
        DataInput in = new LittleEndianDataInputStream(new ByteArrayInputStream(data));
        int bytesSkipped = 0;
        while (bytesSkipped < 10) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.java

        DataOutputStream out = new DataOutputStream(baos);
    
        /* Write out various test values NORMALLY */
        out.write(new byte[] {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}); // 10 bytes of junk to skip
        initializeData(out);
    
        byte[] data = baos.toByteArray();
    
        DataInput in = new LittleEndianDataInputStream(new ByteArrayInputStream(data));
        int bytesSkipped = 0;
        while (bytesSkipped < 10) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  7. internal/s3select/simdj/reader_amd64_test.go

    	}
    
    	return js
    }
    
    var testCases = []struct {
    	name  string
    	array bool
    }{
    	{
    		name: "parking-citations-10",
    	},
    }
    
    func TestNDJSON(t *testing.T) {
    	if !simdjson.SupportedCPU() {
    		t.Skip("Unsupported cpu")
    	}
    
    	for _, tt := range testCases {
    		t.Run(tt.name, func(t *testing.T) {
    			ref := loadCompressed(t, tt.name)
    
    			var err error
    			dst := make(chan simdjson.Object, 100)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  8. internal/config/identity/openid/openid.go

    	if err != nil {
    		return c, err
    	}
    
    	for _, cfgName := range openIDTargets {
    		getCfgVal := func(cfgParam string) string {
    			// As parameters are already validated, we skip checking
    			// if the config param was found.
    			val, _, _ := s.ResolveConfigParam(config.IdentityOpenIDSubSys, cfgName, cfgParam, false)
    			return val
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 10 20:16:44 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/hash/HashingInputStreamTest.java

        HashCode expectedHash = Hashing.md5().hashBytes(new byte[] {'m', 's'});
        HashingInputStream in = new HashingInputStream(Hashing.md5(), buffer);
    
        long numOfByteSkipped = in.skip(2);
        assertEquals(2, numOfByteSkipped);
    
        byte[] buf = new byte[4];
        int numOfByteRead = in.read(buf, 0, buf.length);
        assertEquals(2, numOfByteRead);
    
        assertEquals(expectedHash, in.hash());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 02 16:24:50 UTC 2020
    - 5K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

       *
       * We'd just use PackageSanityTests directly, saving us from needing this separate type, but we're
       * currently skipping MediumTests on Android, and we skip them by not making them present at
       * runtime at all. I could just make _this_ test a MediumTest, but then it wouldn't run on
       * Android.... The right long-term fix is probably to get MediumTests running under Android by
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 21:37:55 UTC 2019
    - 5.3K bytes
    - Viewed (0)
Back to top