Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 256 for 1024 (0.12 sec)

  1. src/main/java/jcifs/smb1/http/NetworkExplorer.java

        private String realm, defaultDomain;
    
        public void init() throws ServletException {
            InputStream is;
            StringBuffer sb = new StringBuffer();
            byte[] buf = new byte[1024];
            int n, level;
            String name;
    
            Config.setProperty( "jcifs.smb1.smb.client.soTimeout", "600000" );
            Config.setProperty( "jcifs.smb1.smb.client.attrExpirationPeriod", "300000" );
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 22 03:57:31 GMT 2020
    - 19.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/AbstractSequentialIteratorTest.java

            .containsExactly(
                1,
                2,
                4,
                8,
                16,
                32,
                64,
                128,
                256,
                512,
                1024,
                2048,
                4096,
                8192,
                16384,
                32768,
                65536,
                131072,
                262144,
                524288,
                1048576,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 17:19:08 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

        this.isUserTypeFast = isUserTypeFast;
        this.random = checkNotNull(random);
        this.hitRate = hitRate;
        this.size = size;
    
        this.valuesInSet = createData();
        this.queries = createQueries(valuesInSet, 1024);
      }
    
      Set<Element> getValuesInSet() {
        return valuesInSet;
      }
    
      Element[] getQueries() {
        return queries;
      }
    
      private Element[] createQueries(Set<Element> elementsInSet, int numQueries) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java

            if (buf.length < max_recv)
                throw new IllegalArgumentException("buffer too small");
    
            if (isStart && !isDirect) { // start of new frag, do trans
                off = in.read(buf, 0, 1024);
            } else {
                off = in.readDirect(buf, 0, buf.length);
            }
    
            if (buf[0] != 5 && buf[1] != 0)
                throw new IOException("Unexpected DCERPC PDU header");
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 3.7K bytes
    - Viewed (0)
  5. internal/bpool/bpool_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package bpool
    
    import "testing"
    
    // Tests - bytePool functionality.
    func TestBytePool(t *testing.T) {
    	size := uint64(4)
    	width := 1024
    	capWidth := 2048
    
    	bufPool := NewBytePoolCap(size, width, capWidth)
    
    	// Check the width
    	if bufPool.Width() != width {
    		t.Fatalf("bytepool width invalid: got %v want %v", bufPool.Width(), width)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 19:13:27 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

    namespace gcs = google::cloud::storage;
    
    // The environment variable that overrides the block size for aligned reads from
    // GCS. Specified in MB (e.g. "16" = 16 x 1024 x 1024 = 16777216 bytes).
    constexpr char kBlockSize[] = "GCS_READ_CACHE_BLOCK_SIZE_MB";
    constexpr size_t kDefaultBlockSize = 64 * 1024 * 1024;
    // The environment variable that overrides the max size of the LRU cache of
    // blocks read from GCS. Specified in MB.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/CacheReferencesTest.java

        // observe a size of 1
        long initialSize = cache.size();
        assertTrue(initialSize == 1 || initialSize == 2);
    
        // wait up to 5s
        byte[] filler = new byte[1024];
        for (int i = 0; i < 500; i++) {
          System.gc();
    
          CacheTesting.drainReferenceQueues(cache);
          if (cache.size() == 1) {
            break;
          }
          try {
            Thread.sleep(10);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 6.1K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

          }
        };
    
        abstract String read(ByteSource byteSource, Charset cs) throws IOException;
      }
    
      @Param({"UTF-8"})
      String charsetName;
    
      @Param ReadStrategy strategy;
    
      @Param({"10", "1024", "1048576"})
      int size;
    
      Charset charset;
      ByteSource data;
    
      @BeforeExperiment
      public void setUp() {
        charset = Charset.forName(charsetName);
        StringBuilder sb = new StringBuilder();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

          }
        };
    
        abstract String read(ByteSource byteSource, Charset cs) throws IOException;
      }
    
      @Param({"UTF-8"})
      String charsetName;
    
      @Param ReadStrategy strategy;
    
      @Param({"10", "1024", "1048576"})
      int size;
    
      Charset charset;
      ByteSource data;
    
      @BeforeExperiment
      public void setUp() {
        charset = Charset.forName(charsetName);
        StringBuilder sb = new StringBuilder();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java

      private static final Supplier<Lock> LOCK_SUPPLIER =
          new Supplier<Lock>() {
            @Override
            public Lock get() {
              return new ReentrantLock();
            }
          };
    
      @Param({"2", "8", "64", "1024", "65536"})
      int numStripes;
    
      @Param Impl impl;
    
      enum Impl {
        EAGER {
          @Override
          Striped<Lock> get(int stripes) {
            return Striped.lock(stripes);
          }
        },
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4K bytes
    - Viewed (0)
Back to top