Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 281 - 290 of 724 for uniq (0.02 seconds)

  1. android/guava-tests/test/com/google/common/io/PatternFilenameFilterTest.java

    import java.io.File;
    import java.io.FilenameFilter;
    import java.util.regex.PatternSyntaxException;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link PatternFilenameFilter}.
     *
     * @author Chris Nokleberg
     */
    @NullUnmarked
    public class PatternFilenameFilterTest extends TestCase {
    
      public void testSyntaxException() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  2. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/IntegrationTest.kt

    import org.gradle.api.tasks.InputDirectory
    import org.gradle.api.tasks.PathSensitive
    import org.gradle.api.tasks.PathSensitivity
    
    
    /**
     * Verifies the correct behavior of a feature, as opposed to just a small unit of code.
     * Usually referred to as 'functional tests' in literature, but our code base has historically
     * been using the term 'integration test'.
     */
    @CacheableTask
    abstract class IntegrationTest : DistributionTest() {
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2K bytes
    - Click Count (0)
  3. callbacks/update.go

    						} else if field.AutoUpdateTime == schema.UnixSecond {
    							set = append(set, clause.Assignment{Column: clause.Column{Name: field.DBName}, Value: now.Unix()})
    						} else {
    							set = append(set, clause.Assignment{Column: clause.Column{Name: field.DBName}, Value: now})
    						}
    					}
    				}
    			}
    		}
    	default:
    		updatingSchema := stmt.Schema
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun May 25 07:40:40 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComFindClose2Test.java

    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.Configuration;
    
    /**
     * Unit tests for {@link SmbComFindClose2}.
     * The class is intentionally tiny – the tests mainly verify that the
     * parameter word (the session identifier) is written in little‑endian form
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/primitives/PrimitivesTest.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.testing.NullPointerTester;
    import java.util.Set;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link Primitives}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullUnmarked
    public class PrimitivesTest extends TestCase {
      public void testIsWrapperType() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:07:52 GMT 2025
    - 3K bytes
    - Click Count (0)
  6. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/nullaway/NullawayStatusService.kt

                    }
                }
            }
        }
    
        private fun projectS(num: Int) = if (num == 1) "project" else "projects"
    
        private inline fun printResult(block: NullawayStatusService.() -> Unit) {
            val delimiter = "=".repeat(72)
            println(delimiter)
            block()
            println(delimiter)
        }
    
        companion object {
            val SERVICE_NAME = NullawayStatusService::class.qualifiedName!!
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Aug 20 13:18:23 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  7. android/guava-testlib/test/com/google/common/collect/testing/MinimalIterableTest.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.Collections;
    import java.util.Iterator;
    import java.util.NoSuchElementException;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link MinimalIterable}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    public class MinimalIterableTest extends TestCase {
    
      public void testOf_empty() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 30 16:15:19 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  8. cmd/xl-storage-format-v2.go

    }
    
    // getModTime will return the ModTime of the underlying version.
    func (j xlMetaV2Version) getModTime() time.Time {
    	switch j.Type {
    	case ObjectType:
    		return time.Unix(0, j.ObjectV2.ModTime)
    	case DeleteType:
    		return time.Unix(0, j.DeleteMarker.ModTime)
    	case LegacyType:
    		return j.ObjectV1.Stat.ModTime
    	}
    	return time.Time{}
    }
    
    // getVersionID will return the versionID of the underlying version.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 65.6K bytes
    - Click Count (1)
  9. src/test/java/jcifs/util/StringsTest.java

                // Then
                assertNotNull(uniBytes, "UNI bytes should not be null");
                assertNotNull(asciiBytes, "ASCII bytes should not be null");
                assertNotNull(oemBytes, "OEM bytes should not be null");
                assertEquals(0, uniBytes.length, "UNI bytes should be empty");
                assertEquals(0, asciiBytes.length, "ASCII bytes should be empty");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  10. api/maven-api-core/src/test/java/org/apache/maven/api/JavaPathTypeTest.java

         * {@return dummy paths to use in tests}.
         */
        private static List<Path> paths() {
            return List.of(Path.of("src", "foo.java"), Path.of("src", "bar.java"));
        }
    
        /**
         * Converts paths from Unix style to platform-dependent style.
         *
         * @param expected the option value expected by the test
         * @return the expected value with separators of the host
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Nov 13 14:20:26 GMT 2025
    - 2.9K bytes
    - Click Count (0)
Back to Top