- Sort Score
- Num 10 results
- Language All
Results 321 - 330 of 772 for safety (0.04 seconds)
-
internal/ioutil/ioutil.go
// that we promised that we would write. if totalSize > 0 && written != totalSize { return written, io.ErrUnexpectedEOF } return written, nil } } } // SafeClose safely closes any channel of any type func SafeClose[T any](c chan<- T) { if c != nil { close(c) return } // Print stack to check who is sending `c` as `nil` // without crashing the server.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 11.1K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/DependencyLicensesTask.java
} // This is just a marker output folder to allow this task being up-to-date. // The check logic is exception driven so a failed tasks will not be defined // by this output but when successful we can safely mark the task as up-to-date. @OutputDirectory public File getOutputMarker() { return new File(getProject().getBuildDir(), "dependencyLicense"); }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Jul 26 12:16:14 GMT 2021 - 14.3K bytes - Click Count (0) -
ci/official/utilities/setup_macos.sh
if [[ "${TFCI_MACOS_PYENV_INSTALL_ENABLE}" == 1 ]]; then # Install the necessary Python, unless it's already present pyenv install -s "$TFCI_PYTHON_VERSION" pyenv local "$TFCI_PYTHON_VERSION" # Do a sanity check to make sure that we using the correct Python version python --version fi # TFCI Mac VM images do not have twine installed by default so we need toCreated: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Mon Oct 06 22:42:26 GMT 2025 - 6.8K bytes - Click Count (0) -
.teamcity/src/test/kotlin/CIConfigIntegrationTests.kt
val projectFoldersWithUnitTests = subProjectFolderList().filter { File(it, "src/test").exists() && it.name != "architecture-test" // architecture-test:test is part of Sanity Check } assertFalse(projectFoldersWithUnitTests.isEmpty()) projectFoldersWithUnitTests.forEach { assertTrue(projectDirsWithUnitTests.contains(it), "Contains unit tests: $it")Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Oct 16 01:27:05 GMT 2025 - 14.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/SparseImmutableTable.java
Cell<R, C, V> cell = cellList.get(i); R rowKey = cell.getRowKey(); C columnKey = cell.getColumnKey(); V value = cell.getValue(); /* * These requireNonNull calls are safe because we construct the maps to hold all the provided * cells. */ cellRowIndices[i] = requireNonNull(rowIndex.get(rowKey)); Map<C, V> thisRow = requireNonNull(rows.get(rowKey));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 5.3K bytes - Click Count (0) -
android/guava/src/com/google/common/eventbus/AllowConcurrentEvents.java
import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Marks an event subscriber method as being thread-safe. This annotation indicates that EventBus * may invoke the event subscriber simultaneously from multiple threads. * * <p>This does not mark the method, and so should be used in combination with {@link Subscribe}. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 1.2K bytes - Click Count (0) -
internal/logger/logrotate.go
FileNameFunc func() string // Compress specify if you want the logs to be compressed after rotation. Compress bool } // Writer is a concurrency-safe writer with file rotation. type Writer struct { // opts are the configuration options for this Writer opts Options // f is the currently open file used for appends.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 5.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableListMultimap.java
} /** * Returns the empty multimap. * * <p><b>Performance note:</b> the instance returned is a singleton. */ // Casting is safe because the multimap will never hold any elements. @SuppressWarnings("unchecked") public static <K, V> ImmutableListMultimap<K, V> of() { return (ImmutableListMultimap<K, V>) EmptyImmutableListMultimap.INSTANCE; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Dec 09 15:58:48 GMT 2025 - 19.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/Tables.java
* that the function is capable of accepting null input. The transformed table might contain null * values, if the function sometimes gives a null result. * * <p>The returned table is not thread-safe or serializable, even if the underlying table is. * * <p>The function is applied lazily, invoked when needed. This is necessary for the returned
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 25.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingSortedMultiset.java
* invoke methods, they invoke methods on the {@code ForwardingSortedMultiset}. * * <p>The {@code standard} methods and any collection views they return are not guaranteed to be * thread-safe, even when all of the methods that they depend on are thread-safe. * * @author Louis Wasserman * @since 15.0 */ @GwtCompatible public abstract class ForwardingSortedMultiset<E extends @Nullable Object>Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 8.6K bytes - Click Count (0)