Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 3,597 for qint (0.03 sec)

  1. guava/src/com/google/common/collect/ImmutableSortedAsList.java

      @GwtIncompatible // ImmutableSortedSet.indexOf
      // TODO(cpovirk): consider manual binary search under GWT to preserve O(log N) lookup
      @Override
      public int indexOf(@CheckForNull Object target) {
        int index = delegateCollection().indexOf(target);
    
        // TODO(kevinb): reconsider if it's really worth making feeble attempts at
        // sanity for inconsistent comparators.
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  2. schema/schema.go

    			schema.FieldsWithDefaultDBValue = append(schema.FieldsWithDefaultDBValue, field)
    		}
    	}
    
    	if field := schema.PrioritizedPrimaryField; field != nil {
    		switch field.GORMDataType {
    		case Int, Uint:
    			if _, ok := field.TagSettings["AUTOINCREMENT"]; !ok {
    				if !field.HasDefaultValue || field.DefaultValueInterface != nil {
    					schema.FieldsWithDefaultDBValue = append(schema.FieldsWithDefaultDBValue, field)
    				}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jun 20 12:19:31 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/stream/StreamUtilTest.java

                Object[] array = s.toArray();
                for (int i = 0; i < 2; i++) {
                    assertEquals(values[i], array[i]);
                }
            });
        }
    
        public void test_ofNull() {
            assertEquals(0, (int) StreamUtil.stream().get(s -> s.toArray().length));
            Object[] o = {};
            assertEquals(0, (int) StreamUtil.stream(o).get(s -> s.toArray().length));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/SortedListsTest.java

          case LAST_BEFORE:
            if (list.contains(key)) {
              assertEquals(list.indexOf(key) - 1, answer);
              return;
            }
            break;
        }
        // key is not present
        int nextHigherIndex = list.size();
        for (int i = list.size() - 1; i >= 0 && list.get(i) > key; i--) {
          nextHigherIndex = i;
        }
        switch (absentBehavior) {
          case NEXT_LOWER:
            assertEquals(nextHigherIndex - 1, answer);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. docs_src/sql_databases_peewee/sql_app/schemas.py

    
    class ItemCreate(ItemBase):
        pass
    
    
    class Item(ItemBase):
        id: int
        owner_id: int
    
        class Config:
            orm_mode = True
            getter_dict = PeeweeGetterDict
    
    
    class UserBase(BaseModel):
        email: str
    
    
    class UserCreate(UserBase):
        password: str
    
    
    class User(UserBase):
        id: int
        is_active: bool
        items: List[Item] = []
    
        class Config:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 868 bytes
    - Viewed (0)
  6. cmd/erasure-server-pool.go

    type HealthResult struct {
    	Healthy       bool
    	HealthyRead   bool
    	HealingDrives int
    	ESHealth      []struct {
    		Maintenance   bool
    		PoolID, SetID int
    		Healthy       bool
    		HealthyRead   bool
    		HealthyDrives int
    		HealingDrives int
    		ReadQuorum    int
    		WriteQuorum   int
    	}
    	WriteQuorum   int
    	ReadQuorum    int
    	UsingDefaults bool
    }
    
    func (hr HealthResult) String() string {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbComWrite.java

    import jcifs.smb1.Config;
    
    class SmbComWrite extends ServerMessageBlock {
    
        private int fid,
            count,
            offset,
            remaining,
            off;
        private byte[] b;
    
        SmbComWrite() {
            super();
            command = SMB_COM_WRITE;
        }
        SmbComWrite( int fid, int offset, int remaining, byte[] b, int off, int len ) {
            this.fid = fid;
            this.count = len;
            this.offset = offset;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/NetServerEnum2.java

            return dstIndex - start;
        }
        int writeDataWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
        int readSetupWireFormat( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
        int readParametersWireFormat( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
        int readDataWireFormat( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/Trans2SetFileInformation.java

            return dstIndex - start;
        }
        int readSetupWireFormat( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
        int readParametersWireFormat( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
        int readDataWireFormat( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
        public String toString() {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java

      }
    
      @Benchmark
      int asciiStringToUpperCase(int reps) {
        String string = noWorkToDo ? Ascii.toUpperCase(testString) : testString;
    
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          dummy += Ascii.toUpperCase(string).length();
        }
        return dummy;
      }
    
      @Benchmark
      int asciiCharSequenceToUpperCase(int reps) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.8K bytes
    - Viewed (0)
Back to top