Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2131 - 2140 of over 10,000 for Switch (0.08 seconds)

  1. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

      /**
       * Creates a {@code MonitorBasedPriorityBlockingQueue} with the default initial capacity (11) that
       * orders its elements according to their {@linkplain Comparable natural ordering}.
       */
      public MonitorBasedPriorityBlockingQueue() {
        q = new PriorityQueue<E>();
      }
    
      /**
       * Creates a {@code MonitorBasedPriorityBlockingQueue} with the specified initial capacity that
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 19K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

            referralData = new DfsReferralDataImpl();
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should initialize with self-referencing next")
            void testConstructorInitialization() {
                DfsReferralDataImpl data = new DfsReferralDataImpl();
                assertNotNull(data.next());
                assertSame(data, data.next());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 30.6K bytes
    - Click Count (0)
  3. fastapi/applications.py

                    # Before this was also used for closing dependencies with yield but
                    # those now have their own AsyncExitStack, to properly support
                    # streaming responses while keeping compatibility with the previous
                    # versions (as of writing 0.117.1) that allowed doing
                    # except HTTPException inside a dependency with yield.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 16:16:24 GMT 2026
    - 178.6K bytes
    - Click Count (0)
  4. src/test/java/jcifs/pac/PacTest.java

            for (int i = 0; i < 8; i++) {
                baos.write((int) ((value >> (i * 8)) & 0xFF));
            }
        }
    
        @Test
        void testEmptyPac() {
            // Test that PAC with size <= 8 is rejected
            byte[] emptyData = new byte[8];
    
            PACDecodingException e = assertThrows(PACDecodingException.class, () -> new Pac(emptyData, keys));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  5. tensorflow/c/eager/gradient_checker.cc

    using namespace std;
    
    // ================== Helper functions =================
    
    // Fills data with values [start,end) with given step size.
    void Range(vector<int32_t>* data, int32_t start, int32_t end,
               int32_t step = 1) {
      for (int32_t i = start; i < end; i += step) {
        (*data)[i] = i;
      }
    }
    
    // Fills out_dims with the dimensions of the given tensor.
    void GetDims(const TF_Tensor* t, int64_t* out_dims) {
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 7.3K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

        void testIsDFSSupported() throws Exception {
            // Test with DFS capability enabled
            setPrivateField(response, "commonCapabilities", Smb2Constants.SMB2_GLOBAL_CAP_DFS);
            when(mockConfig.isDfsDisabled()).thenReturn(false);
            assertTrue(response.isDFSSupported());
    
            // Test with DFS disabled in config
            when(mockConfig.isDfsDisabled()).thenReturn(true);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 32.5K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelParseException.java

     * or more contributor license agreements.  See the NOTICE file
     * distributed with this work for additional information
     * regarding copyright ownership.  The ASF licenses this file
     * to you under the Apache License, Version 2.0 (the
     * "License"); you may not use this file except in compliance
     * with the License.  You may obtain a copy of the License at
     *
     *   http://www.apache.org/licenses/LICENSE-2.0
     *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  8. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/SettingsParseException.java

     * or more contributor license agreements.  See the NOTICE file
     * distributed with this work for additional information
     * regarding copyright ownership.  The ASF licenses this file
     * to you under the Apache License, Version 2.0 (the
     * "License"); you may not use this file except in compliance
     * with the License.  You may obtain a copy of the License at
     *
     *   http://www.apache.org/licenses/LICENSE-2.0
     *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/core/beans/util/CopyOptions.java

        /**
         * Delimiter for Map.
         */
        protected char mapDelimiter = '.';
    
        /**
         * Converter associated with specific properties.
         */
        protected final Map<String, Converter> converterMap = newHashMap();
    
        /**
         * Converter not associated with specific properties.
         */
        protected final List<Converter> converters = newArrayList();
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  10. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            // Number of names
            src[srcIndex] = 0x01;
    
            // Name with trailing spaces
            String nameWithSpaces = "COMPUTER";
            byte[] nameBytes = new byte[16];
            System.arraycopy(nameWithSpaces.getBytes("US-ASCII"), 0, nameBytes, 0, nameWithSpaces.length());
            // Fill rest with spaces (0x20)
            for (int i = nameWithSpaces.length(); i < 15; i++) {
                nameBytes[i] = 0x20;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.3K bytes
    - Click Count (0)
Back to Top