Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 693 for APPLY (0.02 sec)

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

        val sslSocketFactory =
          object : DelegatingSSLSocketFactory(systemSslSocketFactory) {
            override fun configureSocket(sslSocket: SSLSocket): SSLSocket {
              return sslSocket.apply {
                if (reuseSession) {
                  this.enableSessionCreation = false
                }
              }
            }
          }
    
        client =
          client.newBuilder()
            .connectionSpecs(listOf(spec))
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/ReflectionFreeAssertThrows.java

                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
          if (predicate.apply(t)) {
            // We are careful to set up INSTANCE_OF to match each Predicate to its target Class.
            @SuppressWarnings("unchecked")
            T caught = (T) t;
            return caught;
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:10:20 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/testing/ReflectionFreeAssertThrows.java

                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
          if (predicate.apply(t)) {
            // We are careful to set up INSTANCE_OF to match each Predicate to its target Class.
            @SuppressWarnings("unchecked")
            T caught = (T) t;
            return caught;
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 22 13:49:09 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java

                if ( !this.nameFilter.accept(this.parent, name) ) {
                    return false;
                }
                return true;
            }
            catch ( CIFSException e ) {
                log.error("Failed to apply name filter", e);
                return false;
            }
        }
    
    
        protected final FileEntry advance ( boolean last ) throws CIFSException {
            FileEntry[] results = getResults();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/NetServerEnumIterator.java

                if ( !this.nameFilter.accept(this.parent, name) ) {
                    return false;
                }
                return true;
            }
            catch ( CIFSException e ) {
                log.error("Failed to apply name filter", e);
                return false;
            }
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see java.util.Iterator#hasNext()
         */
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6K bytes
    - Viewed (0)
  6. docs/sts/assume-role.go

    	flag.StringVar(&bucketToList, "b", "", "Bucket to list (defaults to username)")
    	flag.StringVar(&sessionPolicyFile, "s", "", "File containing session policy to apply to the STS request")
    }
    
    func main() {
    	flag.Parse()
    	if minioUsername == "" || minioPassword == "" {
    		flag.PrintDefaults()
    		return
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 17 01:24:54 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java

            }
    
            return result;
        }
        public int available() throws IOException {
            if( file.log.level >= 3 )
                file.log.println( "Named Pipe available() does not apply to TRANSACT Named Pipes" );
            return 0;
        }
        int receive( byte[] b, int off, int len ) {
            int i;
    
            if( len > ( pipe_buf.length - used )) {
                byte[] tmp;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.6K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

       * ordering that spends a lot of cpu.
       */
      static class ExpensiveComputation implements Function<Integer, BigInteger> {
        @Override
        public BigInteger apply(Integer from) {
          BigInteger v = BigInteger.valueOf(from);
          // Math.sin is very slow for values outside 4*pi
          // Need to take absolute value to avoid inverting the value.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

        reallyTestMatchThenNoMatch(matcher.precomputed().negate(), s);
      }
    
      @SuppressWarnings("deprecation") // intentionally testing apply() method
      private void reallyTestOneCharMatch(CharMatcher matcher, String s) {
        assertTrue(matcher.matches(s.charAt(0)));
        assertTrue(matcher.apply(s.charAt(0)));
        assertEquals(0, matcher.indexIn(s));
        assertEquals(0, matcher.indexIn(s, 0));
        assertEquals(-1, matcher.indexIn(s, 1));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Iterators.java

          Iterator<T> removeFrom, Predicate<? super T> predicate) {
        checkNotNull(predicate);
        boolean modified = false;
        while (removeFrom.hasNext()) {
          if (predicate.apply(removeFrom.next())) {
            removeFrom.remove();
            modified = true;
          }
        }
        return modified;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
Back to top