Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1281 - 1290 of 3,763 for int (0.04 sec)

  1. src/bytes/reader_test.go

    package bytes_test
    
    import (
    	. "bytes"
    	"fmt"
    	"io"
    	"sync"
    	"testing"
    )
    
    func TestReader(t *testing.T) {
    	r := NewReader([]byte("0123456789"))
    	tests := []struct {
    		off     int64
    		seek    int
    		n       int
    		want    string
    		wantpos int64
    		readerr error
    		seekerr string
    	}{
    		{seek: io.SeekStart, off: 0, n: 20, want: "0123456789"},
    		{seek: io.SeekStart, off: 1, n: 1, want: "1"},
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFile.java

            }
        }
    
    
        SmbFileHandleImpl openUnshared ( int flags, int access, int sharing, int attrs, int options ) throws CIFSException {
            return openUnshared(getUncPath(), flags, access, sharing, attrs, options);
        }
    
    
        SmbFileHandleImpl openUnshared ( String uncPath, int flags, int access, int sharing, int attrs, int options ) throws CIFSException {
            SmbFileHandleImpl fh = null;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/BufferCache.java

    public class BufferCache {
    
        private static final int MAX_BUFFERS = Config.getInt( "jcifs.smb1.smb.maxBuffers", 16 );
    
        static Object[] cache = new Object[MAX_BUFFERS];
        private static int freeBuffers = 0;
    
        static public byte[] getBuffer() {
            synchronized( cache ) {
                byte[] buf;
    
                if (freeBuffers > 0) {
                    for (int i = 0; i < MAX_BUFFERS; i++) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/JdkPattern.java

        }
    
        @Override
        public boolean find(int index) {
          return matcher.find(index);
        }
    
        @Override
        public String replaceAll(String replacement) {
          return matcher.replaceAll(replacement);
        }
    
        @Override
        public int end() {
          return matcher.end();
        }
    
        @Override
        public int start() {
          return matcher.start();
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/AndArtifactFilter.java

            filters.add(artifactFilter);
        }
    
        public List<ArtifactFilter> getFilters() {
            return new ArrayList<>(filters);
        }
    
        @Override
        public int hashCode() {
            int hash = 17;
            hash = hash * 31 + filters.hashCode();
            return hash;
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

        private volatile boolean connected;
    
        protected Scroll scrollForDelete = new Scroll(TimeValue.timeValueMinutes(1));
    
        protected int sizeForDelete = 10;
    
        protected long retryInterval = 3 * 1000L;
    
        protected int maxRetryCount = 5;
    
        protected long connTimeout = 180 * 1000L;
    
        protected String searchPreference;
    
        protected String[] targetIndices;
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

        }
      }
    
      private static int totalSize(Iterable<? extends Entry<?>> entries) {
        int sum = 0;
        for (Entry<?> entry : entries) {
          sum += entry.getCount();
        }
        return sum;
      }
    
      private enum SubMultisetSpec {
        TAIL_CLOSED {
          @Override
          <E> List<Entry<E>> expectedEntries(int targetEntry, List<Entry<E>> entries) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  8. cmd/object-api-datatypes.go

    }
    
    type objectAttributesParts struct {
    	IsTruncated          bool
    	MaxParts             int
    	NextPartNumberMarker int
    	PartNumberMarker     int
    	PartsCount           int
    	Parts                []*objectAttributesPart `xml:"Part"`
    }
    
    type objectAttributesPart struct {
    	PartNumber     int
    	Size           int64
    	ChecksumCRC32  string `xml:",omitempty"`
    	ChecksumCRC32C string `xml:",omitempty"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v2_gen.go

    			zb0005, err = dc.ReadArrayHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "PartNumbers")
    				return
    			}
    			if cap(z.PartNumbers) >= int(zb0005) {
    				z.PartNumbers = (z.PartNumbers)[:zb0005]
    			} else {
    				z.PartNumbers = make([]int, zb0005)
    			}
    			for za0004 := range z.PartNumbers {
    				z.PartNumbers[za0004], err = dc.ReadInt()
    				if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountUnconditionallyTester.java

      void setCountCheckReturnValue(E element, int count) {
        assertEquals(
            "multiset.setCount() should return the old count",
            getMultiset().count(element),
            setCount(element, count));
      }
    
      @Override
      void setCountNoCheckReturnValue(E element, int count) {
        setCount(element, count);
      }
    
      @CanIgnoreReturnValue
      private int setCount(E element, int count) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top