Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 3,107 for false (0.05 sec)

  1. src/bytes/example_test.go

    	// Output:
    	// true
    	// false
    	// true
    	// true
    	// false
    }
    
    func ExampleContainsFunc() {
    	f := func(r rune) bool {
    		return r >= 'a' && r <= 'z'
    	}
    	fmt.Println(bytes.ContainsFunc([]byte("HELLO"), f))
    	fmt.Println(bytes.ContainsFunc([]byte("World"), f))
    	// Output:
    	// false
    	// true
    }
    
    func ExampleCount() {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 07 17:22:36 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  2. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

            socket.close()
            return false
          }
          if (response.socketPolicy === HalfCloseAfterRequest) {
            socket.shutdownOutput()
            return false
          }
          if (response.socketPolicy === NoResponse) {
            // This read should block until the socket is closed. (Because nobody is writing.)
            if (source.exhausted()) return false
            throw ProtocolException("unexpected data")
          }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/AbstractImmutableBiMapMapInterfaceTest.java

    import java.util.Map;
    import java.util.Map.Entry;
    
    @GwtCompatible
    abstract class AbstractImmutableBiMapMapInterfaceTest<K, V> extends MapInterfaceTest<K, V> {
      AbstractImmutableBiMapMapInterfaceTest() {
        super(false, false, false, false, false);
      }
    
      @Override
      protected Map<K, V> makeEmptyMap() {
        throw new UnsupportedOperationException();
      }
    
      private static final Joiner JOINER = Joiner.on(", ");
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/parse.go

    //
    // The expected form of the attribute clause is:
    //
    // empty,           yielding (false, obj.ABI0)
    // "<>",            yielding (true,  obj.ABI0)
    // "<ABI0>"         yielding (false, obj.ABI0)
    // "<ABIInternal>"  yielding (false, obj.ABIInternal)
    //
    // Anything else beginning with "<" logs an error if issueError is
    // true, otherwise returns (false, obj.ABI0).
    func (p *Parser) symRefAttrs(name string, issueError bool) (bool, obj.ABI) {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/RegexRuleTest.java

            assertFalse(regexRule.match(getTestData4()));
        }
    
        public void test_match_or() {
            final RegexRule regexRule = new RegexRule();
            regexRule.defaultRule = false;
            regexRule.allRequired = false;
            regexRule.addRule("url", Pattern.compile("http:.*"));
            regexRule.addRule("mimeType", Pattern.compile("text/html"));
    
            assertTrue(regexRule.match(getTestData1()));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. cmd/iam.go

    func (sys *IAMSys) IsTempUser(name string) (bool, string, error) {
    	if !sys.Initialized() {
    		return false, "", errServerNotInitialized
    	}
    
    	u, found := sys.store.GetUser(name)
    	if !found {
    		return false, "", errNoSuchUser
    	}
    	cred := u.Credentials
    	if cred.IsTemp() {
    		return true, cred.ParentUser, nil
    	}
    
    	return false, "", nil
    }
    
    // IsServiceAccount - returns if given key is a service account
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/OperatingSystemProfileActivator.java

        }
    
        private boolean determineVersionMatch(String version) {
            String test = version;
            boolean reverse = false;
    
            if (test.startsWith("!")) {
                reverse = true;
                test = test.substring(1);
            }
    
            boolean result = Os.OS_VERSION.equals(test);
    
            if (reverse) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/UnmodifiableRowSortedTableRowMapTest.java

    import java.util.SortedMap;
    
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class UnmodifiableRowSortedTableRowMapTest extends RowMapTests {
      public UnmodifiableRowSortedTableRowMapTest() {
        super(false, false, false, false);
      }
    
      @Override
      RowSortedTable<String, Integer, Character> makeTable() {
        RowSortedTable<String, Integer, Character> original = TreeBasedTable.create();
        return unmodifiableRowSortedTable(original);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/UnmodifiableTableRowMapTest.java

    import java.util.Map;
    
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class UnmodifiableTableRowMapTest extends RowMapTests {
      public UnmodifiableTableRowMapTest() {
        super(false, false, false, false);
      }
    
      @Override
      Table<String, Integer, Character> makeTable() {
        Table<String, Integer, Character> original = HashBasedTable.create();
        return unmodifiableTable(original);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. cmd/xl-storage-errors.go

    				return errno == 0x91
    			}
    		}
    	}
    	return false
    }
    
    // Check if the given error corresponds to the specific ERROR_PATH_NOT_FOUND for windows
    func isSysErrPathNotFound(err error) bool {
    	if runtime.GOOS != globalWindowsOSName {
    		var pathErr *os.PathError
    		if errors.As(err, &pathErr) {
    			return pathErr.Err == syscall.ENOENT
    		}
    		return false
    	}
    	var pathErr *os.PathError
    	if errors.As(err, &pathErr) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Mar 06 16:56:29 UTC 2023
    - 3.8K bytes
    - Viewed (0)
Back to top