Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 682 for colored (0.09 seconds)

  1. build-logic/jvm/src/main/kotlin/gradlebuild/jvm/extension/StrictCompileExtension.kt

     */
    package gradlebuild.jvm.extension
    
    import org.gradle.api.tasks.TaskContainer
    import org.gradle.api.tasks.compile.JavaCompile
    import org.gradle.kotlin.dsl.*
    
    
    /**
     * Strict compilation options honored by [gradlebuild.Strict_compile_gradle].
     */
    abstract class StrictCompileExtension(val tasks: TaskContainer) {
    
        fun ignoreDeprecations() {
            tasks.withType<JavaCompile>().configureEach {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Feb 22 11:17:19 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  2. cmd/data-scanner.go

    	weSleep    func() bool
    	shouldHeal func() bool
    
    	disks       []StorageAPI
    	disksQuorum int
    
    	// If set updates will be sent regularly to this channel.
    	// Will not be closed when returned.
    	updates    chan<- dataUsageEntry
    	lastUpdate time.Time
    
    	// updateCurrentPath should be called whenever a new path is scanned.
    	updateCurrentPath func(string)
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 45.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

            // Assert
            assertFalse(it.hasNext(), "No next when opened with null initial");
            verify(tree, times(1)).release(); // closed in constructor
        }
    
        @Test
        @DisplayName("open() throwing CIFSException triggers close and rethrow")
        void constructorOpenThrows() {
            // Arrange
            stubAcquireReturnsSelf();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/io/Closer.java

      Closer(Suppressor suppressor) {
        this.suppressor = checkNotNull(suppressor); // checkNotNull to satisfy null tests
      }
    
      /**
       * Registers the given {@code closeable} to be closed when this {@code Closer} is {@linkplain
       * #close closed}.
       *
       * @return the given {@code closeable}
       */
      // close. this word no longer has any meaning to me.
      @CanIgnoreReturnValue
      @ParametricNullness
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  5. src/test/java/jcifs/SmbPipeHandleTest.java

            }
    
            /**
             * Verifies that the isOpen method returns false for a closed handle.
             */
            @Test
            public void testIsOpen_ReturnsFalseWhenClosed() {
                when(smbPipeHandle.isOpen()).thenReturn(false);
                assertFalse(smbPipeHandle.isOpen(), "isOpen() should return false when the handle is closed.");
            }
        }
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7K bytes
    - Click Count (0)
  6. cmd/update-notifier_test.go

    	for i, testCase := range testCases {
    		output := prepareUpdateMessage(testCase.dlURL, testCase.older)
    		line1 := fmt.Sprintf("%s %s", plainMsg, color.YellowBold(testCase.expectedSubStr))
    		line2 := fmt.Sprintf("Update: %s", color.CyanBold(testCase.dlURL))
    		// Uncomment below to see message appearance:
    		// fmt.Println(output)
    		switch {
    		case testCase.dlURL == "" && output != "":
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Jul 31 15:36:19 GMT 2023
    - 4.1K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/EncryptInvoker.java

    import org.jline.reader.LineReaderBuilder;
    import org.jline.reader.UserInterruptException;
    import org.jline.terminal.Terminal;
    import org.jline.utils.AttributedStyle;
    import org.jline.utils.Colors;
    
    /**
     * mvnenc invoker implementation.
     */
    public class EncryptInvoker extends LookupInvoker<EncryptContext> {
    
        public static final int OK = 0; // OK
        public static final int ERROR = 1; // "generic" error
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/UpgradeInvoker.java

    import org.jline.reader.LineReaderBuilder;
    import org.jline.reader.UserInterruptException;
    import org.jline.terminal.Terminal;
    import org.jline.utils.AttributedStyle;
    import org.jline.utils.Colors;
    
    /**
     * mvnup invoker implementation.
     */
    public class UpgradeInvoker extends LookupInvoker<UpgradeContext> {
    
        public static final int OK = 0; // OK
        public static final int ERROR = 1; // "generic" error
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  9. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt

        )
    
    
    private
    typealias ApiTypeSupplier = () -> ApiType
    
    
    /**
     * Provides [ApiType] instances by Kotlin source name from a class path.
     *
     * Keeps JAR files open for fast lookup, must be closed.
     * Once closed, type graph navigation from [ApiType] and [ApiFunction] instances
     * will throw [IllegalStateException].
     *
     * Limitations:
     * - supports Java byte code only, not Kotlin
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Mar 12 15:56:18 GMT 2025
    - 20.2K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/io/CharSource.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * A readable source of characters, such as a text file. Unlike a {@link Reader}, a {@code
     * CharSource} is not an open, stateful stream of characters that can be read and closed. Instead,
     * it is an immutable <i>supplier</i> of {@code Reader} instances.
     *
     * <p>{@code CharSource} provides two kinds of methods:
     *
     * <ul>
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 25.7K bytes
    - Click Count (0)
Back to Top