Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 6791 - 6800 of 7,804 for RETURN (0.06 seconds)

  1. internal/dsync/drwmutex_test.go

    	if locked {
    		// fmt.Println("Write lock acquired, waiting...")
    		time.Sleep(testDrwMutexAcquireTimeout)
    
    		drwm3.Unlock(t.Context())
    	}
    	// fmt.Println("Write lock failed due to timeout")
    	return locked
    }
    
    func TestSimpleWriteLockAcquired(t *testing.T) {
    	locked := testSimpleWriteLock(t, 10*testDrwMutexAcquireTimeout)
    
    	expected := true
    	if locked != expected {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  2. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/OpenJSSEPlatform.kt

        val trustManagers = factory.trustManagers!!
        check(trustManagers.size == 1 && trustManagers[0] is X509TrustManager) {
          "Unexpected default trust managers: ${trustManagers.contentToString()}"
        }
        return trustManagers[0] as X509TrustManager
      }
    
      override fun trustManager(sslSocketFactory: SSLSocketFactory): X509TrustManager =
        throw UnsupportedOperationException(
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/CallablesTest.java

        Supplier<String> newName = Suppliers.ofInstance("MyCrazyThreadName");
        Callable<@Nullable Void> callable =
            () -> {
              assertThat(Thread.currentThread().getName()).isEqualTo(newName.get());
              return null;
            };
        Callables.threadRenaming(callable, newName).call();
        assertThat(Thread.currentThread().getName()).isEqualTo(oldName);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // threads
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 4K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/CallablesTest.java

        Supplier<String> newName = Suppliers.ofInstance("MyCrazyThreadName");
        Callable<@Nullable Void> callable =
            () -> {
              assertThat(Thread.currentThread().getName()).isEqualTo(newName.get());
              return null;
            };
        Callables.threadRenaming(callable, newName).call();
        assertThat(Thread.currentThread().getName()).isEqualTo(oldName);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // threads
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 4K bytes
    - Click Count (0)
  5. src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java

         */
        @Test
        void testGetFlags() {
            int expectedFlags = 0xAABBCCDD;
            AvFlags avFlags = new AvFlags(expectedFlags);
            assertEquals(expectedFlags, avFlags.getFlags(), "getFlags should return the correct integer value");
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelCache.java

         * @param version The version of the cache record, must not be {@code null}.
         * @param tag The tag of the cache record, must not be {@code null}.
         * @return The requested data or {@code null} if none was present in the cache.
         */
        Object get(String groupId, String artifactId, String version, String tag);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  7. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.collect-failed-tasks.gradle.kts

        override val collectedInformation: Serializable = failedTaskPaths
    
        override fun shouldInclude(taskPath: String): Boolean {
            // https://github.com/gradle/gradle/issues/21351
            return super.shouldInclude(taskPath) || taskPath.contains("detekt")
        }
    
        override fun action(taskPath: String, taskResult: TaskOperationResult) {
            if (taskResult is TaskFailureResult) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Apr 11 20:57:49 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ExtensionPropertiesSummaryRenderer.java

            this.propertyTableRenderer = propertyTableRenderer;
        }
    
        public void renderTo(ClassExtensionDoc extension, Element parent) {
            if (extension.getExtensionProperties().isEmpty()) {
                return;
            }
    
            Document document = parent.getOwnerDocument();
    
            Element section = document.createElement("section");
            parent.appendChild(section);
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.6K bytes
    - Click Count (0)
  9. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/LanguageProvider.java

     * throughout the Maven build process.
     * <p>
     * Example usage:
     * <pre>
     * public class CustomLanguageProvider implements LanguageProvider {
     *     public Collection&lt;Language&gt; provides() {
     *         return Collections.singleton(language("kotlin"));
     *     }
     * }
     * </pre>
     *
     * @see org.apache.maven.api.Language
     * @see org.apache.maven.api.spi.ExtensibleEnumProvider
     * @since 4.0.0
     */
    @Experimental
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  10. helm-releases/minio-1.0.0.tgz

    $ATTEMPTS -gt $LIMIT ]; then exit 1 ; fi ; sleep 2 ; # 1 second intervals between attempts $MC_COMMAND ; STATUS=$? ; done ; set -e ; # reset `e` as active return 0 } # checkBucketExists ($bucket) # Check if the bucket exists, by using the exit code of `mc ls` checkBucketExists() { BUCKET=$1 CMD=$(${MC} ls myminio/$BUCKET > /dev/null 2>&1) return $? } # createBucket ($bucket, $policy, $purge) # Ensure bucket exists, purging if asked to createBucket() { BUCKET=$1 POLICY=$2 PURGE=$3 VERSIONING=$4 # Purge...
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 20 22:30:54 GMT 2021
    - 13.5K bytes
    - Click Count (0)
Back to Top