Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3541 - 3550 of 7,250 for return (0.08 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt

          }
        }
      }
    
      override fun getSelectedProtocol(sslSocket: SSLSocket): String? {
        // No TLS extensions if the socket class is custom.
        if (!matchesSocket(sslSocket)) {
          return null
        }
    
        return try {
          val alpnResult = getAlpnSelectedProtocol.invoke(sslSocket) as ByteArray?
          alpnResult?.toString(Charsets.UTF_8)
        } catch (e: IllegalAccessException) {
          throw AssertionError(e)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

        }
      }
    
      private static boolean isAndroid() {
        return System.getProperty("java.runtime.name", "").contains("Android");
      }
    
      private static boolean isWindows() {
        return OS_NAME.value().startsWith("Windows");
      }
    
      private static boolean isJava8() {
        return JAVA_SPECIFICATION_VERSION.value().equals("1.8");
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/KuromojiTokenizerFactory.java

                if (ruleList == null || ruleList.isEmpty()) {
                    return null;
                }
    
                StringBuilder sb = new StringBuilder();
                for (String line : ruleList) {
                    sb.append(line).append(System.lineSeparator());
                }
                return UserDictionary.open(new StringReader(sb.toString()));
            } catch (IOException e) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

                    }
                    else -> {
                    }
                }
            }
        }
    
        private
        fun containsFailedTest(taskPath: String): Boolean {
            return testPathToBinaryResultsDirs[taskPath]?.let { containsFailedTest(it) } == true
        }
    
        private
        fun addExecutedTaskPath(taskPath: String) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jul 28 16:19:47 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/ListAddTester.java

        E[] array = createArrayWithNullElement();
        collection = getSubjectGenerator().create(array);
        assertTrue("add(nullPresent) should return true", getList().add(null));
    
        List<E> expected = copyToList(array);
        expected.add(null);
        expectContents(expected);
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testAdd_supportedNullPresent()} so that tests
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java

          switch (this) {
            case IMPLIES_FOO:
              return ImmutableSet.of(FOO);
            case IMPLIES_IMPLIES_FOO:
              return ImmutableSet.of(IMPLIES_FOO);
            case IMPLIES_BAR:
              return ImmutableSet.of(BAR);
            case IMPLIES_IMPLIES_FOO_AND_IMPLIES_BAR:
              return ImmutableSet.of(IMPLIES_FOO, IMPLIES_BAR);
            default:
              return ImmutableSet.of();
          }
        }
    
        @Retention(RUNTIME)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api.h

    TF_CAPI_EXPORT extern void TFE_DeleteTensorDebugInfo(
        TFE_TensorDebugInfo* debug_info);
    
    // Returns the number of dimensions used to represent the tensor on its device.
    // The number of dimensions used to represent the tensor on device can be
    // different from the number returned by TFE_TensorHandleNumDims.
    // The return value was current at the time of TFE_TensorDebugInfo creation.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 22.8K bytes
    - Viewed (0)
  8. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuildingRequest.java

        public Source getGlobalToolchainsSource() {
            return globalToolchainsSource;
        }
    
        @Override
        public ToolchainsBuildingRequest setGlobalToolchainsSource(Source globalToolchainsSource) {
            this.globalToolchainsSource = globalToolchainsSource;
            return this;
        }
    
        @Override
        public Source getUserToolchainsSource() {
            return userToolchainsSource;
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. docs_src/sql_databases/tutorial001_an_py310.py

        session.add(hero)
        session.commit()
        session.refresh(hero)
        return hero
    
    
    @app.get("/heroes/")
    def read_heroes(
        session: SessionDep,
        offset: int = 0,
        limit: Annotated[int, Query(le=100)] = 100,
    ) -> list[Hero]:
        heroes = session.exec(select(Hero).offset(offset).limit(limit)).all()
        return heroes
    
    
    @app.get("/heroes/{hero_id}")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/TopKSelector.java

      public static <T extends Comparable<? super T>> TopKSelector<T> least(int k) {
        return least(k, Ordering.natural());
      }
    
      /**
       * Returns a {@code TopKSelector} that collects the lowest {@code k} elements added to it,
       * relative to the specified comparator, and returns them via {@link #topK} in ascending order.
       *
       * @throws IllegalArgumentException if {@code k < 0} or {@code k > Integer.MAX_VALUE / 2}
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top