Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1341 - 1350 of 2,237 for setS (0.03 sec)

  1. okhttp/src/test/java/okhttp3/HeadersJvmTest.kt

        assertThat(headers.getInstant("Test-Instant")).isEqualTo(expected)
      }
    
      @Test fun setDate() {
        val expected = Date(1000)
        val headers =
          Headers.Builder()
            .add("testDate", Date(0L))
            .set("testDate", expected)
            .build()
        assertThat(headers["testDate"]).isEqualTo("Thu, 01 Jan 1970 00:00:01 GMT")
        assertThat(headers.getDate("testDate")).isEqualTo(expected)
      }
    
      @Test fun setInstant() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/DcerpcMessage.java

        /**
         * 
         * @param flag
         * @return whether flag is set
         */
        public boolean isFlagSet ( int flag ) {
            return ( this.flags & flag ) == flag;
        }
    
    
        /**
         * Remove flag
         * 
         * @param flag
         */
        public void unsetFlag ( int flag ) {
            this.flags &= ~flag;
        }
    
    
        /**
         * Set flag
         * 
         * @param flag
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/LinkRenderer.java

    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.Node;
    
    import java.util.HashSet;
    import java.util.Set;
    
    public class LinkRenderer {
        private final Document document;
        private final DslDocModel model;
        private final Set<String> primitiveTypes = new HashSet<String>();
        private final String groovyVersion;
        private final String javaVersion;
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.3K bytes
    - Viewed (0)
  4. doc/next/6-stdlib/99-minor/math/rand/67273.md

    Calls to the deprecated top-level [Seed] function no longer have any effect. To
    restore the old behavior set `GODEBUG=randseednop=0`. For more background see
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Aug 19 20:47:27 UTC 2024
    - 195 bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/transport/Transport.java

    
    import java.io.IOException;
    import java.io.InputStream;
    import java.net.SocketTimeoutException;
    import java.util.Iterator;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.atomic.AtomicLong;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.RuntimeCIFSException;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 01 18:12:21 UTC 2020
    - 24.1K bytes
    - Viewed (0)
  6. docs/sts/client-grants.go

    }
    
    func getTokenExpiry() (*credentials.ClientGrantsToken, error) {
    	data := url.Values{}
    	data.Set("grant_type", "client_credentials")
    	req, err := http.NewRequest(http.MethodPost, idpEndpoint, strings.NewReader(data.Encode()))
    	if err != nil {
    		return nil, err
    	}
    	req.Header.Set("Content-Type", "application/x-www-form-urlencoded")
    	req.SetBasicAuth(clientID, clientSecret)
    	t := &http.Transport{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  7. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/transforms/Minify.kt

    
    @CacheableTransform
    abstract class Minify : TransformAction<Minify.Parameters> {
    
        interface Parameters : TransformParameters {
            @get:Input
            var keepClassesByArtifact: Map<String, Set<String>>
        }
    
        @get:PathSensitive(PathSensitivity.NAME_ONLY)
        @get:InputArtifact
        abstract val artifact: Provider<FileSystemLocation>
    
        override fun transform(outputs: TransformOutputs) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableMap.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    
    import java.util.Collections;
    import java.util.Map;
    import java.util.Set;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * GWT implementation of {@link ImmutableMap} that forwards to another map.
     *
     * @author Hayward Chan
     */
    @ElementTypesAreNonnullByDefault
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 24 16:03:45 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

        // so until evictions begin, the size of the map is the greatest return
        // value seen so far
        while (cache.getUnchecked(nextRandomKey()) < maximumSize) {}
    
        requests.set(0);
        misses.set(0);
      }
    
      @Benchmark
      int time(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          dummy += cache.getUnchecked(nextRandomKey());
        }
        requests.addAndGet(reps);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/util/QueryResponseList.java

        }
    
        @Override
        public boolean retainAll(final Collection<?> c) {
            return parent.retainAll(c);
        }
    
        @Override
        public Map<String, Object> set(final int index, final Map<String, Object> element) {
            return parent.set(index, element);
        }
    
        @Override
        public int size() {
            return parent.size();
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top