Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for rawTypes (0.25 sec)

  1. android/guava/src/com/google/common/collect/Maps.java

       * use the {@code TreeMap} constructor directly, taking advantage of <a
       * href="http://goo.gl/iz2Wi">"diamond" syntax</a>.
       *
       * @return a new, empty {@code TreeMap}
       */
      @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
      public static <K extends Comparable, V extends @Nullable Object> TreeMap<K, V> newTreeMap() {
        return new TreeMap<>();
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 159.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Maps.java

       * use the {@code TreeMap} constructor directly, taking advantage of <a
       * href="http://goo.gl/iz2Wi">"diamond" syntax</a>.
       *
       * @return a new, empty {@code TreeMap}
       */
      @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
      public static <K extends Comparable, V extends @Nullable Object> TreeMap<K, V> newTreeMap() {
        return new TreeMap<>();
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 165.9K bytes
    - Viewed (0)
  3. src/database/sql/sql.go

    	}
    	return rs.raw
    }
    
    // setrawbuf updates the RawBytes buffer with the result of appending a new value to it.
    // It returns the new value.
    func (rs *Rows) setrawbuf(b []byte) RawBytes {
    	if rs == nil {
    		// convertAssignRows can take a nil *Rows; for simplicity handle it here
    		return RawBytes(b)
    	}
    	off := len(rs.raw)
    	rs.raw = b
    	return RawBytes(rs.raw[off:])
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  4. src/database/sql/sql_test.go

    // Issue #65201.
    //
    // If a RawBytes is reused across multiple queries,
    // subsequent queries shouldn't overwrite driver-owned memory from previous queries.
    func TestRawBytesReuse(t *testing.T) {
    	db := newTestDB(t, "people")
    	defer closeDB(t, db)
    
    	if _, err := db.Exec("USE_RAWBYTES"); err != nil {
    		t.Fatal(err)
    	}
    
    	var raw RawBytes
    
    	// The RawBytes in this query aliases driver-owned memory.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
Back to top