Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1071 - 1080 of 1,960 for isize (0.03 sec)

  1. src/bufio/bufio_test.go

    	if got, want := NewReader(nil).Size(), DefaultBufSize; got != want {
    		t.Errorf("NewReader's Reader.Size = %d; want %d", got, want)
    	}
    	if got, want := NewReaderSize(nil, 1234).Size(), 1234; got != want {
    		t.Errorf("NewReaderSize's Reader.Size = %d; want %d", got, want)
    	}
    }
    
    func TestWriterSize(t *testing.T) {
    	if got, want := NewWriter(nil).Size(), DefaultBufSize; got != want {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        Multimap<String, Integer> multimap = Multimaps.forMap(map);
        assertEquals(3, multimap.size());
        assertEquals(emptySet(), multimap.removeAll("dog"));
        assertEquals(3, multimap.size());
        assertTrue(multimap.containsKey("bar"));
        assertEquals(singleton(2), multimap.removeAll("bar"));
        assertEquals(2, multimap.size());
        assertFalse(multimap.containsKey("bar"));
      }
    
      public void testForMapAsMap() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

                    Collections.addAll(list, elements);
                    return new AbstractSequentialList<String>() {
                      @Override
                      public int size() {
                        return list.size();
                      }
    
                      @Override
                      public ListIterator<String> listIterator(int index) {
                        return list.listIterator(index);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/SynchronizedTableTest.java

        }
    
        @Override
        public int hashCode() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.hashCode();
        }
    
        @Override
        public int size() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.size();
        }
    
        @Override
        public boolean isEmpty() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.isEmpty();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. cmd/admin-handlers.go

    type dummyFileInfo struct {
    	name    string
    	size    int64
    	mode    os.FileMode
    	modTime time.Time
    	isDir   bool
    	sys     interface{}
    }
    
    func (f dummyFileInfo) Name() string       { return f.name }
    func (f dummyFileInfo) Size() int64        { return f.size }
    func (f dummyFileInfo) Mode() os.FileMode  { return f.mode }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Multimaps.java

                public int getCount() {
                  return backingEntry.getValue().size();
                }
              };
            }
          };
        }
    
        @Override
        int distinctElements() {
          return multimap.asMap().size();
        }
    
        @Override
        public int size() {
          return multimap.size();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  7. cmd/erasure-server-pool.go

    		p[i].Available = 0
    	}
    }
    
    // getAvailablePoolIdx will return an index that can hold size bytes.
    // -1 is returned if no serverPools have available space for the size given.
    func (z *erasureServerPools) getAvailablePoolIdx(ctx context.Context, bucket, object string, size int64) int {
    	serverPools := z.getServerPoolsAvailableSpace(ctx, bucket, object, size)
    	serverPools.FilterMaxUsed(100 - (100 * diskReserveFraction))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  8. docs_src/handling_errors/tutorial005.py

        return JSONResponse(
            status_code=status.HTTP_422_UNPROCESSABLE_ENTITY,
            content=jsonable_encoder({"detail": exc.errors(), "body": exc.body}),
        )
    
    
    class Item(BaseModel):
        title: str
        size: int
    
    
    @app.post("/items/")
    async def create_item(item: Item):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 667 bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

            final String response = getJsonResponse("/api/admin/scheduler/settings");
            final List<Map<String, Object>> itemList = JsonPath.from(response).getList(getResponsePath(namePrefix));
            assertEquals(1, itemList.size());
            return itemList.get(0);
        }
    
        protected static List<String> getSchedulerIds(final String namePrefix) {
            final String response = getJsonResponse("/api/admin/scheduler/settings");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api_remote_test_util.cc

      TFE_Context* ctx = TFE_NewContext(opts, status);
      EXPECT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status);
      TFE_DeleteContextOptions(opts);
    
      TFE_ContextSetServerDef(ctx, 0, serialized.data(), serialized.size(), status);
      EXPECT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status);
    
      TFE_TensorHandle* h0_task0 = TestMatrixTensorHandle(ctx);
      TFE_TensorHandle* h1_task0 = TestMatrixTensorHandle(ctx);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Dec 11 22:56:03 UTC 2020
    - 9.1K bytes
    - Viewed (0)
Back to top