Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 827 for assert (0.4 sec)

  1. src/cmd/compile/internal/types2/check.go

    	assert(x != nil)
    	assert(typ != nil)
    	if mode == invalid {
    		return // omit
    	}
    	if mode == constant_ {
    		assert(val != nil)
    		// We check allBasic(typ, IsConstType) here as constant expressions may be
    		// recorded as type parameters.
    		assert(!isValid(typ) || allBasic(typ, IsConstType))
    	}
    	if m := check.Types; m != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.suggest.concurrent;
    
    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertTrue;
    import static org.junit.Assert.fail;
    
    import java.util.Collections;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.TimeUnit;
    
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/NtlmTest.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.tests;
    
    
    import static org.junit.Assert.assertArrayEquals;
    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertNull;
    
    import java.io.IOException;
    
    import org.junit.Before;
    import org.junit.Test;
    
    import jcifs.CIFSContext;
    import jcifs.context.SingletonContext;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Dec 16 10:38:43 UTC 2018
    - 4.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/ContextConfigTest.java

                Assert.assertEquals("foo:b%40r", f.getLocator().getURL().getUserInfo());
                NtlmPasswordAuthenticator na = f.getContext().getCredentials().unwrap(NtlmPasswordAuthenticator.class);
                Assert.assertEquals("b@r", na.getPassword());
            }
    
            try ( SmbFile f = new SmbFile(new URL("smb://foo:b%40r@127.0.0.1/")) ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/FileAttributesTest.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.tests;
    
    
    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertNotEquals;
    import static org.junit.Assert.assertNotNull;
    import static org.junit.Assert.assertTrue;
    
    import java.io.IOException;
    import java.net.MalformedURLException;
    import java.net.UnknownHostException;
    import java.util.Collection;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/SessionTest.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.tests;
    
    
    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertFalse;
    import static org.junit.Assert.assertNotNull;
    import static org.junit.Assert.assertTrue;
    
    import java.io.IOException;
    import java.io.InputStream;
    import java.net.MalformedURLException;
    import java.net.UnknownHostException;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/typeset.go

    func (s *_TypeSet) underIs(f func(Type) bool) bool {
    	if !s.hasTerms() {
    		return f(nil)
    	}
    	for _, t := range s.terms {
    		assert(t.typ != nil)
    		// x == under(x) for ~x terms
    		u := t.typ
    		if !t.tilde {
    			u = under(u)
    		}
    		if debug {
    			assert(Identical(u, under(u)))
    		}
    		if !f(u) {
    			return false
    		}
    	}
    	return true
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/TestThread.java

     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static junit.framework.Assert.assertEquals;
    import static junit.framework.Assert.assertNotNull;
    import static junit.framework.Assert.assertNull;
    import static junit.framework.Assert.assertSame;
    
    import com.google.common.testing.TearDown;
    import java.lang.reflect.InvocationTargetException;
    import java.lang.reflect.Method;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/suggest/settings/AnalyzerSettingsTest.java

     */
    package org.codelibs.fess.suggest.settings;
    
    import static org.codelibs.opensearch.runner.OpenSearchRunner.newConfigs;
    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertTrue;
    
    import java.util.List;
    import java.util.Set;
    
    import org.codelibs.fess.suggest.Suggester;
    import org.codelibs.fess.suggest.analysis.SuggestAnalyzer;
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/noder/stencil.go

    // This file will evolve, since we plan to do a mix of stenciling and passing
    // around dictionaries.
    
    package noder
    
    import (
    	"cmd/compile/internal/base"
    )
    
    func assert(p bool) {
    	base.Assert(p)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:52:50 UTC 2023
    - 359 bytes
    - Viewed (0)
Back to top