Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 7111 - 7120 of 7,804 for RETURN (0.12 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

        for (log in logs) {
          if (type in log) {
            return log
          }
        }
        return null
      }
    
      private fun countFrames(
        logs: List<String>,
        message: String,
      ): Int {
        var result = 0
        for (log in logs) {
          if (log == message) {
            result++
          }
        }
        return result
      }
    
      /**
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 67.5K bytes
    - Click Count (0)
  2. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        for (Class<?> mutableClass : mutableClasses) {
          Object instance = ArbitraryInstances.get(mutableClass);
          assertWithMessage("Expected to return non-null for: %s", mutableClass)
              .that(instance)
              .isNotNull();
          assertWithMessage("Expected to return fresh instance for: " + mutableClass)
              .that(ArbitraryInstances.get(mutableClass))
              .isNotSameInstanceAs(instance);
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java

       * can suppress it. See {@link CollectionAddTester#getAddNullSupportedMethod()} for details.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getAddNullSupportedMethod() {
        return getMethod(ListAddAtIndexTester.class, "testAddAtIndex_nullSupported");
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/RequestParamTest.java

        @Test
        @DisplayName("values() returns all declared constants in order")
        void valuesContainsAllInOrder() {
            RequestParam[] values = RequestParam.values();
    
            assertNotNull(values, "values() must not return null");
            assertEquals(4, values.length, "There must be exactly 4 constants");
            assertArrayEquals(
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtilsTest.java

            assertEquals("", root.childText("description"), "Should get empty description text");
    
            // Test getting text from non-existing element
            assertNull(root.childText("nonexistent"), "Should return null for non-existing element");
        }
    
        @Test
        void testAddGAVElements() throws Exception {
            String pomXml = """
                <?xml version="1.0" encoding="UTF-8"?>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 31.3K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java

        }
    
        @Test
        void testLoadBalancerAccess() {
            ChannelLoadBalancer balancer = channelManager.getLoadBalancer();
            assertNotNull(balancer);
    
            // Should return same instance
            assertSame(balancer, channelManager.getLoadBalancer());
        }
    
        @Test
        void testChannelFailureHandling() throws UnknownHostException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/resources/checkstyle.xml

      <module name="SuppressWarningsFilter" />
    
      <!-- Checks Java files and forbids empty Javadoc comments. -->
      <!-- Although you can use the "JavadocStyle" rule for this, it considers Javadoc -->
      <!-- that only contains a "@return" line to be empty. -->
      <module name="RegexpMultiline">
        <property name="id" value="EmptyJavadoc" />
        <property name="format" value="\/\*[\s\*]*\*\/" />
        <property name="fileExtensions" value="java" />
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 13 12:48:46 GMT 2021
    - 6K bytes
    - Click Count (0)
  8. .teamcity/src/main/kotlin/configurations/GradleBuildConfigurationDefaults.kt

        }
    }
    
    fun BuildFeatures.publishBuildStatusToGithub() {
        if (VersionedSettingsBranch.fromDslContext().isExperimental) {
            // don't publish xperimental commit status that might bother developer
            return
        }
    
        commitStatusPublisher {
            vcsRootExtId = VersionedSettingsBranch.fromDslContext().vcsRootId()
            publisher =
                github {
                    githubUrl = "https://api.github.com"
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 13 05:03:56 GMT 2026
    - 8.5K bytes
    - Click Count (0)
  9. samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java

          @Override public EventListener create(Call call) {
            long callId = nextCallId.getAndIncrement();
            System.out.printf("%04d %s%n", callId, call.request().url());
            return new PrintingEventListener(callId, System.nanoTime());
          }
        };
    
        final long callId;
        final long callStartNanos;
    
        PrintingEventListener(long callId, long callStartNanos) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 16 23:20:49 GMT 2020
    - 6.1K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java

                }
            }
        }
    
        /**
         * Helper method to check if a number is a power of two
         */
        private boolean isPowerOfTwo(int n) {
            return n > 0 && (n & (n - 1)) == 0;
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 7.5K bytes
    - Click Count (0)
Back to Top