Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 570 for Returns (0.28 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

        assertBitEquals(0.0, a.get());
      }
    
      /** get returns the last value set */
      public void testGetSet() {
        AtomicDouble at = new AtomicDouble(1.0);
        assertBitEquals(1.0, at.get());
        for (double x : VALUES) {
          at.set(x);
          assertBitEquals(x, at.get());
        }
      }
    
      /** get returns the last value lazySet in same thread */
      public void testGetLazySet() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/api/JavaVersion.java

        }
    
        public boolean isJava9() {
            return this == VERSION_1_9;
        }
    
        public boolean isJava10() {
            return this == VERSION_1_10;
        }
    
        /**
         * Returns if the version is Java 11.
         *
         * @since 4.7
         */
        public boolean isJava11() {
            return this == VERSION_11;
        }
    
        /**
         * Returns if the version is Java 12.
         *
         * @since 5.0
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1beta1/customresourcedefinition.go

    	client rest.Interface
    }
    
    // newCustomResourceDefinitions returns a CustomResourceDefinitions
    func newCustomResourceDefinitions(c *ApiextensionsV1beta1Client) *customResourceDefinitions {
    	return &customResourceDefinitions{
    		client: c.RESTClient(),
    	}
    }
    
    // Get takes name of the customResourceDefinition, and returns the corresponding customResourceDefinition object, and an error if there is any.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. cmd/object-api-utils.go

    		if trailingSlash {
    			return s + SlashSeparator
    		}
    		return s
    	}
    	if trailingSlash {
    		dst.WriteByte(SlashSeparatorChar)
    	}
    	return dst.String()
    }
    
    // hasSuffixByte returns true if the last byte of s is 'suffix'
    func hasSuffixByte(s string, suffix byte) bool {
    	return len(s) > 0 && s[len(s)-1] == suffix
    }
    
    // pathNeedsClean returns whether path.Clean may change the path.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/types.go

    		PVCRefCounts:     make(map[string]int),
    	}
    	for _, pod := range pods {
    		ni.AddPod(pod)
    	}
    	return ni
    }
    
    // Node returns overall information about this node.
    func (n *NodeInfo) Node() *v1.Node {
    	if n == nil {
    		return nil
    	}
    	return n.node
    }
    
    // Snapshot returns a copy of this node, Except that ImageStates is copied without the Nodes field.
    func (n *NodeInfo) Snapshot() *NodeInfo {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 19:28:17 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  6. src/sync/once.go

    // arguments to a function to be invoked by Do:
    //
    //	config.once.Do(func() { config.init(filename) })
    //
    // Because no call to Do returns until the one call to f returns, if f causes
    // Do to be called, it will deadlock.
    //
    // If f panics, Do considers it to have returned; future calls of Do return
    // without calling f.
    func (o *Once) Do(f func()) {
    	// Note: Here is an incorrect implementation of Do:
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. cmd/storage-interface.go

    	// if it has a "format.json" then is it correct "format.json" or not.
    	IsOnline() bool
    
    	// Returns the last time this disk (re)-connected
    	LastConn() time.Time
    
    	// Indicates if disk is local or not.
    	IsLocal() bool
    
    	// Returns hostname if disk is remote.
    	Hostname() string
    
    	// Returns the entire endpoint.
    	Endpoint() Endpoint
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/UnsignedBytes.java

          if (next > max) {
            max = next;
          }
        }
        return (byte) max;
      }
    
      /**
       * Returns a string representation of x, where x is treated as unsigned.
       *
       * @since 13.0
       */
      public static String toString(byte x) {
        return toString(x, 10);
      }
    
      /**
       * Returns a string representation of {@code x} for the given radix, where {@code x} is treated as
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  9. cmd/storage-datatypes.go

    		return false
    	}
    	if !fi.TransitionInfoEquals(ofi) {
    		return false
    	}
    	if !fi.ModTime.Equal(ofi.ModTime) {
    		return false
    	}
    	return fi.Erasure.Equal(ofi.Erasure)
    }
    
    // GetDataDir returns an expected dataDir given FileInfo
    //   - deleteMarker returns "delete-marker"
    //   - returns "legacy" if FileInfo is XLV1 and DataDir is
    //     empty, returns DataDir otherwise
    //   - returns "dataDir"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  10. cmd/bucket-lifecycle.go

    		return `ongoing-request="true"`
    	}
    	return fmt.Sprintf(`ongoing-request="false", expiry-date="%s"`, r.expiry.Format(http.TimeFormat))
    }
    
    // Expiry returns expiry of restored object and true if restore-object has completed.
    // Otherwise returns zero value of time.Time and false.
    func (r restoreObjStatus) Expiry() (time.Time, bool) {
    	if r.Ongoing() {
    		return time.Time{}, false
    	}
    	return r.expiry, true
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 33.3K bytes
    - Viewed (0)
Back to top