Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 234 for Representation (0.18 sec)

  1. guava/src/com/google/common/base/Stopwatch.java

       */
      @J2ktIncompatible
      @GwtIncompatible
      @J2ObjCIncompatible
      public Duration elapsed() {
        return Duration.ofNanos(elapsedNanos());
      }
    
      /** Returns a string representation of the current elapsed time. */
      @Override
      public String toString() {
        long nanos = elapsedNanos();
    
        TimeUnit unit = chooseUnit(nanos);
        double value = (double) nanos / NANOSECONDS.convert(1, unit);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/AbstractNetwork.java

            && edgeIncidentNodesMap(this).equals(edgeIncidentNodesMap(other));
      }
    
      @Override
      public final int hashCode() {
        return edgeIncidentNodesMap(this).hashCode();
      }
    
      /** Returns a string representation of this network. */
      @Override
      public String toString() {
        return "isDirected: "
            + isDirected()
            + ", allowsParallelEdges: "
            + allowsParallelEdges()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 13 18:17:09 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-v1.go

    	Dir     bool      `json:"dir"`
    	Mode    uint32    `json:"mode"`
    }
    
    // ErasureInfo holds erasure coding and bitrot related information.
    type ErasureInfo struct {
    	// Algorithm is the string representation of erasure-coding-algorithm
    	Algorithm string `json:"algorithm"`
    	// DataBlocks is the number of data blocks for erasure-coding
    	DataBlocks int `json:"data"`
    	// ParityBlocks is the number of parity blocks for erasure-coding
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. internal/s3select/sql/value.go

    func (v Value) MarshalJSON() ([]byte, error) {
    	if b, ok := v.ToBytes(); ok {
    		return b, nil
    	}
    	return json.Marshal(v.value)
    }
    
    // GetTypeString returns a string representation for vType
    func (v Value) GetTypeString() string {
    	switch v.value.(type) {
    	case nil:
    		return "NULL"
    	case bool:
    		return "BOOL"
    	case string:
    		return "STRING"
    	case int64:
    		return "INT"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 25 20:31:19 UTC 2022
    - 20.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/MoreObjects.java

         *
         * <p>After calling this method, you can keep adding more properties to later call toString()
         * again and get a more complete representation of the same object; but properties cannot be
         * removed, so this only allows limited reuse of the helper instance. The helper allows
         * duplication of properties (multiple name/value pairs with the same name can be added).
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/lex/input.go

    	}
    	fmt.Fprintf(os.Stderr, "%s:%d: %s", in.File(), in.Line(), fmt.Sprintln(args...))
    	os.Exit(1)
    }
    
    // expectText is like Error but adds "got XXX" where XXX is a quoted representation of the most recent token.
    func (in *Input) expectText(args ...interface{}) {
    	in.Error(append(args, "; got", strconv.Quote(in.Stack.Text()))...)
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 06 13:17:27 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Multisets.java

         */
        @Override
        public int hashCode() {
          E e = getElement();
          return ((e == null) ? 0 : e.hashCode()) ^ getCount();
        }
    
        /**
         * Returns a string representation of this multiset entry. The string representation consists of
         * the associated element if the associated count is one, and otherwise the associated element
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Multisets.java

         */
        @Override
        public int hashCode() {
          E e = getElement();
          return ((e == null) ? 0 : e.hashCode()) ^ getCount();
        }
    
        /**
         * Returns a string representation of this multiset entry. The string representation consists of
         * the associated element if the associated count is one, and otherwise the associated element
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  9. cmd/data-usage-cache.go

    	}
    }
    
    // StringAll returns a detailed string representation of all entries in the cache.
    func (d *dataUsageCache) StringAll() string {
    	// Remove bloom filter from print.
    	s := fmt.Sprintf("info:%+v\n", d.Info)
    	for k, v := range d.Cache {
    		s += fmt.Sprintf("\t%v: %+v\n", k, v)
    	}
    	return strings.TrimSpace(s)
    }
    
    // String returns a human readable representation of the string.
    func (h dataUsageHash) String() string {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

                AssertionFailedError.class,
                () ->
                    new EqualsTester().addEqualityGroup(new EqualsBasedOnToString("foo")).testEquals());
        assertThat(e).hasMessageThat().contains("toString representation");
      }
    
      private static void assertErrorMessage(Throwable e, String message) {
        // TODO(kevinb): use a Truth assertion here
        if (!e.getMessage().contains(message)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 12.9K bytes
    - Viewed (0)
Back to top