Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1161 - 1170 of 3,798 for createG (0.05 seconds)

  1. android/guava/src/com/google/common/collect/RegularContiguousSet.java

      public C first() {
        // requireNonNull is safe because we checked the range is not empty in ContiguousSet.create.
        return requireNonNull(range.lowerBound.leastValueAbove(domain));
      }
    
      @Override
      public C last() {
        // requireNonNull is safe because we checked the range is not empty in ContiguousSet.create.
        return requireNonNull(range.upperBound.greatestValueBelow(domain));
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/background-tasks.md

    {* ../../docs_src/background_tasks/tutorial001_py310.py hl[1,13] *}
    
    **FastAPI** will create the object of type `BackgroundTasks` for you and pass it as that parameter.
    
    ## Create a task function { #create-a-task-function }
    
    Create a function to be run as the background task.
    
    It is just a standard function that can receive parameters.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/xml/SAXParserFactoryUtil.java

            }
            return factory;
        }
    
        /**
         * Creates a new instance of {@link SAXParser} using the default configuration of {@link SAXParserFactory}.
         *
         * @return A new instance of {@link SAXParser}.
         */
        public static SAXParser newSAXParser() {
            return newSAXParser(newInstance());
        }
    
        /**
         * Creates a new instance of {@link SAXParser} using the specified {@link SAXParserFactory}.
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  4. tests/test_security_oauth2_password_bearer_optional_description.py

        if token is None:
            return {"msg": "Create an account first"}
        return {"token": token}
    
    
    client = TestClient(app)
    
    
    def test_no_token():
        response = client.get("/items")
        assert response.status_code == 200, response.text
        assert response.json() == {"msg": "Create an account first"}
    
    
    def test_token():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  5. samples/tlssurvey/src/main/kotlin/okhttp3/survey/ssllabs/SslLabsClient.kt

      private val moshiConverterFactory = MoshiConverterFactory.create(moshi)
    
      private val retrofit =
        Retrofit
          .Builder()
          .baseUrl(SslLabsApi.BASE_URL)
          .addConverterFactory(moshiConverterFactory)
          .callFactory(callFactory)
          .build()
    
      private val sslLabsApi = retrofit.create(SslLabsApi::class.java)
    
      suspend fun clients(): List<Client> =
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/TestIntegerSortedSetGenerator.java

    import org.jspecify.annotations.NullMarked;
    
    /**
     * Create integer sets for testing collections that are sorted by natural ordering.
     *
     * @author Chris Povirk
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    public abstract class TestIntegerSortedSetGenerator extends TestIntegerSetGenerator {
      @Override
      protected abstract SortedSet<Integer> create(Integer[] elements);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 11 19:03:19 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  7. src/main/java/jcifs/ntlmssp/Type1Message.java

        /**
         * Creates a Type-1 message using default values from the current
         * environment.
         *
         * @param tc
         *            context to use
         */
        public Type1Message(final CIFSContext tc) {
            this(tc, getDefaultFlags(tc), tc.getConfig().getDefaultDomain(), tc.getNameServiceClient().getLocalHost().getHostName());
        }
    
        /**
         * Creates a Type-1 message with the specified parameters.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/llm/RelevanceEvaluationResult.java

        }
    
        /**
         * Creates a result with no relevant documents found.
         *
         * @return evaluation result with no relevant documents
         */
        public static RelevanceEvaluationResult noRelevantResults() {
            return new RelevanceEvaluationResult(Collections.emptyList(), Collections.emptyList(), false);
        }
    
        /**
         * Creates a fallback result that includes all documents as relevant.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 01 08:11:18 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/DfsReferralTest.java

    class DfsReferralTest {
    
        /**
         * Test the constructor and the getData method.
         */
        @Test
        void testConstructorAndGetData() {
            // Create a mock DfsReferralData object
            DfsReferralData mockData = mock(DfsReferralData.class);
    
            // Create a DfsReferral instance with the mock data
            DfsReferral dfsReferral = new DfsReferral(mockData);
    
            // Verify that getData() returns the same mock data object
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java

            } catch (Exception e) {
                assertTrue(true); // Expected exception
            }
        }
    
        @Test
        public void test_getJarFile_exists() throws IOException {
            // Create a mock jar file
            Path jarPath = tempDir.resolve("test-theme.jar");
            Files.createFile(jarPath);
    
            ThemeHelper mockThemeHelper = new ThemeHelper() {
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14.7K bytes
    - Click Count (0)
Back to Top