Search Options

Results per page
Sort
Preferred Languages
Advance

Results 711 - 720 of 1,327 for array (0.04 sec)

  1. okhttp/src/main/kotlin/okhttp3/Handshake.kt

              listOf()
            }
    
          return Handshake(
            tlsVersion,
            cipherSuite,
            localCertificates.toImmutableList(),
          ) { peerCertificatesCopy }
        }
    
        private fun Array<out Certificate>?.toImmutableList(): List<Certificate> {
          return if (this != null) {
            immutableListOf(*this)
          } else {
            emptyList()
          }
        }
    
        @Throws(IOException::class)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. mockwebserver/README.md

    from your test's `tearDown()`.
    
    ### API
    
    #### MockResponse
    
    Mock responses default to an empty response body and a `200` status code.
    You can set a custom body with a string, input stream or byte array. Also
    add headers with a fluent builder API.
    
    ```java
    MockResponse response = new MockResponse()
        .addHeader("Content-Type", "application/json; charset=utf-8")
        .addHeader("Cache-Control", "no-cache")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Dec 17 15:34:10 UTC 2023
    - 5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/lang/StringUtil.java

                return null;
            }
            s = s.toLowerCase();
            final String[] array = StringUtil.split(s, "_");
            if (array.length == 1) {
                return StringUtil.capitalize(s);
            }
            final StringBuilder buf = new StringBuilder(40);
            for (final String element : array) {
                buf.append(StringUtil.capitalize(element));
            }
            return buf.toString();
        }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  4. tests/test_response_model_as_return_annotation.py

                                            "title": "Response Response Model List Of Model No Annotation Response Model List Of Model No Annotation Get",
                                            "type": "array",
                                            "items": {"$ref": "#/components/schemas/User"},
                                        }
                                    }
                                },
                            }
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Aug 14 09:49:57 UTC 2023
    - 47.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

      }
    
      static void testSort(int[] input, int[] expected) {
        input = Arrays.copyOf(input, input.length);
        UnsignedInts.sort(input);
        assertThat(input).isEqualTo(expected);
      }
    
      static void testSort(int[] input, int from, int to, int[] expected) {
        input = Arrays.copyOf(input, input.length);
        UnsignedInts.sort(input, from, to);
        assertThat(input).isEqualTo(expected);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

        streamCode: ErrorCode,
        cause: IOException?,
      ) {
        this.assertThreadDoesntHoldLock()
    
        ignoreIoExceptions {
          shutdown(connectionCode)
        }
    
        var streamsToClose: Array<Http2Stream>? = null
        this.withLock {
          if (streams.isNotEmpty()) {
            streamsToClose = streams.values.toTypedArray()
            streams.clear()
          }
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

      }
    
      private static <X extends Exception> X newWithCause(Class<X> exceptionClass, Throwable cause) {
        // getConstructors() guarantees this as long as we don't modify the array.
        @SuppressWarnings({"unchecked", "rawtypes"})
        List<Constructor<X>> constructors = (List) Arrays.asList(exceptionClass.getConstructors());
        for (Constructor<X> constructor : preferringStringsThenThrowables(constructors)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableMap.java

           * If entries is full, or if hash flooding is detected, then this implementation may end up
           * using the entries array directly and writing over the entry objects with non-terminal
           * entries, but this is safe; if this Builder is used further, it will grow the entries array
           * (so it can't affect the original array), and future build() calls will always copy any
           * entry objects that cannot be safely reused.
           */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/collect/ImmutableSetHashFloodingDetectionBenchmark.java

                  }
                }
                return true;
              }
            }
            return false;
          }
        };
    
        abstract boolean hashFloodingDetected(Object[] array);
      }
    
      @Benchmark
      public int detect(int reps) {
        int count = 0;
        for (int i = 0; i < reps; i++) {
          if (impl.hashFloodingDetected(tables[i & 0xFF])) {
            count++;
          }
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 03 20:16:35 UTC 2021
    - 6.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

            this.client = client;
            this.settings = settings;
            this.indexName = indexName;
            supportedFields = settings.array().get(SuggestSettings.DefaultKeys.SUPPORTED_FIELDS);
            totalDocNum = getTotal();
        }
    
        @Override
        public synchronized Map<String, Object> read() {
            while (!isFinished.get() && queue.isEmpty()) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top