Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1261 - 1270 of 1,886 for Method (0.11 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

     */
    @Throws(IOException::class)
    internal fun BufferedSource.readBomAsCharset(default: Charset): Charset {
      return when (select(UNICODE_BOMS)) {
        // a mapping from the index of encoding methods in UNICODE_BOMS to its corresponding encoding method
        0 -> UTF_8
        1 -> UTF_16BE
        2 -> UTF_32LE
        3 -> UTF_16LE
        4 -> UTF_32BE
        -1 -> default
        else -> throw AssertionError()
      }
    }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. RELEASE.md

    *   Keras:
    
        *   `tf.keras.layers.Conv` now includes a public `convolution_op` method.
            This method can be used to simplify the implementation of Conv
            subclasses. There are two primary ways to use this new method. The first
            is to use the method directly in your own `call` method: `python class
            StandardizedConv2D(tf.keras.layers.Conv2D): def call(self, inputs):
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Oct 22 14:33:53 UTC 2024
    - 735.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/TreeMultiset.java

        }
        return total;
      }
    
      private long aggregateBelowRange(Aggregate aggr, @CheckForNull AvlNode<E> node) {
        if (node == null) {
          return 0;
        }
        // The cast is safe because we call this method only if hasLowerBound().
        int cmp =
            comparator()
                .compare(uncheckedCastNullableTToT(range.getLowerEndpoint()), node.getElement());
        if (cmp < 0) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/CharMatcherTest.java

      // as extremely straightforward pass-throughs to the JDK methods.
    
      // We're testing the is(), isNot(), anyOf(), noneOf() and inRange() methods
      // below by testing their text-processing methods.
    
      // The organization of this test class is unusual, as it's not done by
      // method, but by overall "scenario". Also, the variety of actual tests we
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  5. internal/etag/reader.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package etag
    
    import (
    	"context"
    	"crypto/md5"
    	"fmt"
    	"hash"
    	"io"
    )
    
    // Tagger is the interface that wraps the basic ETag method.
    type Tagger interface {
    	ETag() ETag
    }
    
    type wrapReader struct {
    	io.Reader
    	Tagger
    }
    
    var _ Tagger = wrapReader{} // compiler check
    
    // ETag returns the ETag of the underlying Tagger.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. internal/event/targetlist_test.go

    		panic(err)
    	}
    
    	time.Sleep(time.Duration(b[0]) * time.Millisecond)
    
    	if target.sendErr {
    		return errors.New("send error")
    	}
    
    	return nil
    }
    
    // SendFromStore - interface compatible method does no-op.
    func (target *ExampleTarget) SendFromStore(_ store.Key) error {
    	return nil
    }
    
    func (target ExampleTarget) Close() error {
    	if target.closeErr {
    		return errors.New("close error")
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Dec 05 10:16:33 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt

            subProjectTestClassTimes: List<SubprojectTestClassTime>,
            testCoverage: TestCoverage,
            parallelization: (Int) -> ParallelizationMethod
        ): List<SmallSubprojectBucket> {
            // splitIntoBuckets() method expects us to split large element into N elements,
            // but we want to have a single bucket with N batches.
            // As a workaround, we repeat the bucket N times, and deduplicate the result at the end
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Aug 29 11:04:49 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. RELEASE_BRANCHES.md

            * Use an explicit PR comment command: `/cherry-pick release-X.XX`
            * It is strongly preferred to always apply the correct `cherrypick/` label manually to aid search and tracking, even if you use the comment command method.
    * All changes should have an associated GitHub issue and/or a release note.
        * In the event that a bug cannot be automatically backported, the istio-testing bot creates an issue for a failed
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Sep 16 21:14:17 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/IoTestCase.java

        return tempFile;
      }
    
      /**
       * Gets a temp dir for testing. The returned directory and all contents of it will be deleted in
       * the tear-down for this test. Subsequent invocations of this method will return the same
       * directory.
       */
      protected final File getTempDir() throws IOException {
        if (tempDir == null) {
          tempDir = createTempDir();
        }
    
        return tempDir;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 31 12:36:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/ReflectionFreeAssertThrows.java

                StackOverflowError.class,
                e -> e instanceof StackOverflowError);
          }
        };
    
        // used under GWT, etc., since the override of this method does not exist there
        ImmutableMap<Class<? extends Throwable>, Predicate<Throwable>> exceptions() {
          return ImmutableMap.of();
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top