Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,024 for Start (0.04 sec)

  1. cmd/httprange.go

    		return 0, 0, err
    	}
    
    	start = h.Start
    	if h.IsSuffixLength {
    		start = resourceSize + h.Start
    		if start < 0 {
    			start = 0
    		}
    	}
    	return start, length, nil
    }
    
    // Parse a HTTP range header value into a HTTPRangeSpec
    func parseRequestRangeSpec(rangeString string) (hrange *HTTPRangeSpec, err error) {
    	// Return error if given range string doesn't start with byte range prefix.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 09 08:44:07 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/StopwatchTest.java

      }
    
      public void testStart() {
        assertSame(stopwatch, stopwatch.start());
        assertTrue(stopwatch.isRunning());
      }
    
      public void testStart_whileRunning() {
        stopwatch.start();
        assertThrows(IllegalStateException.class, stopwatch::start);
        assertTrue(stopwatch.isRunning());
      }
    
      public void testStop() {
        stopwatch.start();
        assertSame(stopwatch, stopwatch.stop());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ComparisonChainTest.java

        assertThat(ComparisonChain.start().compareFalseFirst(false, true).result()).isLessThan(0);
        assertThat(ComparisonChain.start().compareFalseFirst(false, false).result()).isEqualTo(0);
      }
    
      public void testCompareTrueFirst() {
        assertThat(ComparisonChain.start().compareTrueFirst(true, true).result()).isEqualTo(0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 13:27:08 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

                andx = null;
    
                dst[start + ANDX_COMMAND_OFFSET] = (byte)0xFF;
                dst[start + ANDX_RESERVED_OFFSET] = (byte)0x00;
    //            dst[start + ANDX_OFFSET_OFFSET] = (byte)0x00;
    //            dst[start + ANDX_OFFSET_OFFSET + 1] = (byte)0x00;
                dst[start + ANDX_OFFSET_OFFSET] = (byte)0xde;
                dst[start + ANDX_OFFSET_OFFSET + 1] = (byte)0xde;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/netbios/NameServicePacket.java

            writeInt2(this.questionCount, dst, start + QUESTION_OFFSET);
            writeInt2(this.answerCount, dst, start + ANSWER_OFFSET);
            writeInt2(this.authorityCount, dst, start + AUTHORITY_OFFSET);
            writeInt2(this.additionalCount, dst, start + ADDITIONAL_OFFSET);
            return HEADER_LENGTH;
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/netbios/NameServicePacket.java

                            ( resultCode & 0x0F ));
            writeInt2( questionCount, dst, start + QUESTION_OFFSET );
            writeInt2( answerCount, dst, start + ANSWER_OFFSET );
            writeInt2( authorityCount, dst, start + AUTHORITY_OFFSET );
            writeInt2( additionalCount, dst, start + ADDITIONAL_OFFSET );
            return HEADER_LENGTH;
        }
        int readHeaderWireFormat( byte[] src, int srcIndex ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 12.4K bytes
    - Viewed (0)
  7. src/bytes/iter.go

    		start := -1
    		for i := 0; i < len(s); {
    			size := 1
    			r := rune(s[i])
    			if r >= utf8.RuneSelf {
    				r, size = utf8.DecodeRune(s[i:])
    			}
    			if f(r) {
    				if start >= 0 {
    					if !yield(s[start:i:i]) {
    						return
    					}
    					start = -1
    				}
    			} else if start < 0 {
    				start = i
    			}
    			i += size
    		}
    		if start >= 0 {
    			yield(s[start:len(s):len(s)])
    		}
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:23:13 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/StopwatchTest.java

      }
    
      public void testStart() {
        assertSame(stopwatch, stopwatch.start());
        assertTrue(stopwatch.isRunning());
      }
    
      public void testStart_whileRunning() {
        stopwatch.start();
        assertThrows(IllegalStateException.class, stopwatch::start);
        assertTrue(stopwatch.isRunning());
      }
    
      public void testStop() {
        stopwatch.start();
        assertSame(stopwatch, stopwatch.stop());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. internal/s3select/select.go

    		if start < 0 {
    			return 0, 0, errors.New("ScanRange: Start after EOF")
    		}
    		return start, -1, nil
    	}
    	if s.Start == nil {
    		// Suffix length
    		end := int64(*s.End)
    		if end < 0 {
    			return 0, 0, errors.New("ScanRange: End bigger than file")
    		}
    		// Suffix length
    		return -end, -1, nil
    	}
    	start = int64(*s.Start)
    	end := int64(*s.End)
    	return start, end - start + 1, nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  10. internal/bucket/bandwidth/monitor_test.go

    	type fields struct {
    		activeBuckets map[BucketOptions]*bucketMeasurement
    		endTime       time.Time
    		update2       uint64
    		endTime2      time.Time
    	}
    	start := time.Now()
    	m0 := newBucketMeasurement(start)
    	m0.incrementBytes(0)
    	m1MiBPS := newBucketMeasurement(start)
    	m1MiBPS.incrementBytes(oneMiB)
    
    	test1Want := make(map[BucketOptions]Details)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 06 03:21:59 UTC 2023
    - 4.3K bytes
    - Viewed (0)
Back to top