- Sort Score
- Result 10 results
- Languages All
Results 1761 - 1770 of 6,241 for if (0.02 sec)
-
cni/pkg/log/uds.go
func (l *UDSLogger) StartUDSLogServer(sockAddress string, stop <-chan struct{}) error { if sockAddress == "" { return nil } log.Debugf("starting UDS server for CNI plugin logs") unixListener, err := uds.NewListener(sockAddress) if err != nil { return fmt.Errorf("failed to create UDS listener: %v", err) } go func() { if err := l.loggingServer.Serve(unixListener); network.IsUnexpectedListenerError(err) {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jun 28 19:12:54 UTC 2024 - 4.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/IoTestCase.java
} } @CanIgnoreReturnValue private boolean delete(File file) { if (file.isDirectory()) { File[] files = file.listFiles(); if (files != null) { for (File f : files) { if (!delete(f)) { return false; } } } } if (!file.delete()) { logger.log(Level.WARNING, "couldn't delete file: {0}", new Object[] {file});
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 31 12:36:13 UTC 2024 - 5.6K bytes - Viewed (0) -
istioctl/pkg/tag/util.go
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 5.5K bytes - Viewed (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblem.java
public String getLocation() { StringBuilder buffer = new StringBuilder(256); if (!getSource().isEmpty()) { if (buffer.length() > 0) { buffer.append(", "); } buffer.append(getSource()); } if (getLineNumber() > 0) { if (buffer.length() > 0) { buffer.append(", "); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/MIEName.java
*/ MIEName ( byte[] buf ) { int i; int len; if ( buf.length < TOK_ID_SIZE + MECH_OID_LEN_SIZE ) { throw new IllegalArgumentException(); } // TOK_ID for ( i = 0; i < TOK_ID.length; i++ ) { if ( TOK_ID[ i ] != buf[ i ] ) { throw new IllegalArgumentException(); } }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.5K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/PropertyProfileActivator.java
Activation activation = profile.getActivation(); if (activation == null) { return false; } ActivationProperty property = activation.getProperty(); if (property == null) { return false; } String name = property.getName(); boolean reverseName = false; if (name != null && name.startsWith("!")) { reverseName = true;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.6K bytes - Viewed (0) -
docs_src/security/tutorial004_an_py39.py
return pwd_context.hash(password) def get_user(db, username: str): if username in db: user_dict = db[username] return UserInDB(**user_dict) def authenticate_user(fake_db, username: str, password: str): user = get_user(fake_db, username) if not user: return False if not verify_password(password, user.hashed_password): return False return user
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon May 20 17:37:28 UTC 2024 - 4.2K bytes - Viewed (0) -
internal/lock/lock.go
func (r *RLockedFile) Close() (err error) { r.mutex.Lock() defer r.mutex.Unlock() if r.refs == 0 { return os.ErrInvalid } r.refs-- if r.refs == 0 { err = r.File.Close() } return err } // Provides a new initialized read locked struct from *os.File func newRLockedFile(lkFile *LockedFile) (*RLockedFile, error) { if lkFile == nil { return nil, os.ErrInvalid } return &RLockedFile{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 2.5K bytes - Viewed (0) -
bin/retry.sh
local n=1 local max=5 while true; do unset SHELL # Don't let environment control which shell to use if isatty; then if [ "$(uname)" == "Darwin" ]; then script -q -r "${tmpFile}" "${*}" else script --flush --quiet --return "${tmpFile}" --command "${*}" fi else # if we aren't a TTY, run directly as script will always run with a tty, which may output content that # we cannot display
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jun 11 16:08:08 UTC 2021 - 2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/indexer/DocBoostMatcher.java
public float getValue(final Map<String, Object> map) { if (map == null || map.isEmpty()) { return 0.0f; } final Object value = ComponentUtil.getScriptEngineFactory().getScriptEngine(scriptType).evaluate(boostExpression, map); if (value instanceof Integer) { return ((Integer) value).floatValue(); } if (value instanceof Long) { return ((Long) value).floatValue();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 2.8K bytes - Viewed (0)