Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3261 - 3270 of 6,447 for aString (0.09 sec)

  1. cmd/dummy-data-generator_test.go

    		}
    		d.idx = d.length + offset
    	}
    	return d.idx, nil
    }
    
    func TestDummyDataGenerator(t *testing.T) {
    	readAll := func(r io.Reader) string {
    		b, _ := io.ReadAll(r)
    		return string(b)
    	}
    	checkEq := func(a, b string) {
    		if a != b {
    			t.Fatalf("Unexpected equality failure")
    		}
    	}
    
    	checkEq(readAll(NewDummyDataGen(0, 0)), "")
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java

    import org.junit.jupiter.api.Test;
    
    /**
     * Unit tests for DirectoryCacheEntry
     */
    public class DirectoryCacheEntryTest {
    
        private DirectoryCacheEntry entry;
        private Smb2LeaseKey leaseKey;
        private String directoryPath = "/test/dir";
    
        @BeforeEach
        public void setUp() {
            leaseKey = new Smb2LeaseKey();
            entry = new DirectoryCacheEntry(directoryPath, leaseKey, DirectoryCacheScope.IMMEDIATE_CHILDREN);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

            artifactResolver.resolve(b, remoteRepositories(), localRepository());
            assertLocalArtifactPresent(b);
        }
    
        @Override
        protected Artifact createArtifact(String groupId, String artifactId, String version, String type) throws Exception {
            // for the anonymous classes
            return super.createArtifact(groupId, artifactId, version, type);
        }
    
        @Test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Mar 26 10:49:22 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  4. internal/bucket/lifecycle/expiration.go

    	nsec := expDate.Nanosecond()
    	loc := expDate.Location()
    	if hr != 0 || m != 0 || sec != 0 || nsec != 0 || loc.String() != time.UTC.String() {
    		return errLifecycleDateNotMidnight
    	}
    
    	*eDate = ExpirationDate{expDate}
    	return nil
    }
    
    // MarshalXML encodes expiration date if it is non-zero and encodes
    // empty string otherwise
    func (eDate ExpirationDate) MarshalXML(e *xml.Encoder, startElement xml.StartElement) error {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/io/ClassHandler.java

    public interface ClassHandler {
    
        /**
         * Processes a class.
         *
         * @param packageName the package name
         * @param shortClassName the simple class name
         */
        void processClass(String packageName, String shortClassName);
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 975 bytes
    - Viewed (0)
  6. mockwebserver/src/main/kotlin/mockwebserver3/PushPromise.kt

     * limitations under the License.
     */
    package mockwebserver3
    
    import okhttp3.Headers
    
    /** An HTTP request initiated by the server. */
    public class PushPromise(
      public val method: String,
      public val path: String,
      public val headers: Headers,
      public val response: MockResponse,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Jun 14 16:09:26 UTC 2025
    - 849 bytes
    - Viewed (0)
  7. tests/delete_test.go

    	}
    
    	for key, value := range map[string]int64{"Account": 1, "Pets": 2, "Toys": 4, "Company": 1, "Manager": 1, "Team": 1, "Languages": 0, "Friends": 0} {
    		if count := DB.Unscoped().Model(&user).Association(key).Count(); count != value {
    			t.Errorf("user's %v expects: %v, got %v", key, value, count)
    		}
    	}
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/KuromojiPartOfSpeechFilterFactory.java

    public class KuromojiPartOfSpeechFilterFactory extends AbstractTokenFilterFactory {
    
        private final Set<String> stopTags = new HashSet<>();
    
        public KuromojiPartOfSpeechFilterFactory(IndexSettings indexSettings, Environment env, String name, Settings settings) {
            super(indexSettings, name, settings);
            List<String> wordList = Analysis.parseWordList(env, settings, "stoptags", s -> s);
            if (wordList != null) {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/CIFSExceptionTest.java

    @DisplayName("CIFSException Tests")
    class CIFSExceptionTest extends BaseTest {
    
        @Test
        @DisplayName("Should create CIFSException with message")
        void testCIFSExceptionWithMessage() {
            // Given
            String message = "CIFS operation failed";
    
            // When
            CIFSException exception = new CIFSException(message);
    
            // Then
            assertNotNull(exception);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/FallbackTestClientSocketFactory.kt

      ) : DelegatingSSLSocket(socket) {
        override fun setEnabledCipherSuites(suites: Array<String>) {
          val enabledCipherSuites = mutableListOf<String>()
          for (suite in suites) {
            if (suite != TLS_FALLBACK_SCSV) {
              enabledCipherSuites.add(suite)
            }
          }
          delegate!!.enabledCipherSuites = enabledCipherSuites.toTypedArray<String>()
        }
      }
    
      companion object {
        /**
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top