Search Options

Results per page
Sort
Preferred Languages
Advance

Results 531 - 540 of 1,210 for first (0.03 sec)

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

        // We special-case for 0 or 1 elements, but going further is madness.
        if (!elements.hasNext()) {
          return of();
        }
        E first = elements.next();
        if (!elements.hasNext()) {
          return of(first);
        } else {
          return new ImmutableList.Builder<E>().add(first).addAll(elements).build();
        }
      }
    
      /**
       * Returns an immutable list containing the given elements, in order.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/Authenticator.kt

     * **reactive** authentication after receiving a challenge from either an origin web server or proxy
     * server.
     *
     * ## Preemptive Authentication
     *
     * To make HTTPS calls using an HTTP proxy server OkHttp must first negotiate a connection with
     * the proxy. This proxy connection is called a "TLS Tunnel" and is specified by
     * [RFC 2817][1]. The HTTP CONNECT request that creates this tunnel connection is special: it
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/ResourcesTest.java

        File tempFile = createTempFile();
        PrintWriter writer = new PrintWriter(tempFile, "UTF-8");
        writer.println("rud a chur ar an méar fhada");
        writer.close();
    
        // First check that we can't find it without setting the context loader.
        // This is a sanity check that the test doesn't spuriously pass because
        // the resource is visible to the system class loader.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

                // TODO: SMB2 - do we need to check the MIDs?
                // We only read what we were waiting for, so first guess would be no.
                boolean verify = dgst.verify(buffer, i, size, 0, this);
                this.verifyFailed = verify;
                return !verify;
            }
            return true;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 7.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbTree.java

            request.tid = tid;
            if( inDfs && !service.equals("IPC") && request.path != null && request.path.length() > 0 ) {
                /* When DFS is in action all request paths are
                 * full UNC paths minus the first backslash like
                 *   \server\share\path\to\file
                 * as opposed to normally
                 *   \path\to\file
                 */
                request.flags2 = ServerMessageBlock.FLAGS2_RESOLVE_PATHS_IN_DFS;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 8K bytes
    - Viewed (0)
  6. cmd/dummy-data-generator_test.go

    // DummyDataGen returns a reader that repeats the bytes in `alphabets`
    // upto the desired length.
    type DummyDataGen struct {
    	b           []byte
    	idx, length int64
    }
    
    // NewDummyDataGen returns a ReadSeeker over the first `totalLength`
    // bytes from the infinite stream consisting of repeated
    // concatenations of `alphabets`.
    //
    // The skipOffset (generally = 0) can be used to skip a given number
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 02 15:13:05 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslReferencePlugin.java

        }
    
        /**
         * The name of the module is part of the URI for deep links, changing it will break existing links.
         * The name of the module must match the first header of {@code kotlin/Module.md} file.
         */
        private static void renameModule(Project project) {
            getDokkatooExtension(project).getModuleName().set("gradle");
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. cmd/iam-object-store.go

    	policyDBGroupsListKey   = "policydb/groups/"
    )
    
    func findSecondIndex(s string, substr string) int {
    	first := strings.Index(s, substr)
    	if first == -1 {
    		return -1
    	}
    	second := strings.Index(s[first+1:], substr)
    	if second == -1 {
    		return -1
    	}
    	return first + second + 1
    }
    
    // splitPath splits a path into a top-level directory and a child item. The
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/DuplexTest.kt

        val call =
          client.newCall(
            Request.Builder()
              .url(server.url("/"))
              .post(AsyncRequestBody())
              .build(),
          )
        val response2 = call.execute()
    
        // First duplex request is detached with violence.
        val requestBody1 = (call.request().body as AsyncRequestBody?)!!.takeSink()
        assertFailsWith<IOException> {
          requestBody1.writeUtf8("not authenticated\n")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/UnsignedLongs.java

       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated; use the
       * equivalent {@link Long#compareUnsigned(long, long)} method instead.
       *
       * @param a the first unsigned {@code long} to compare
       * @param b the second unsigned {@code long} to compare
       * @return a negative value if {@code a} is less than {@code b}; a positive value if {@code a} is
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 12 21:04:48 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top