- Sort Score
- Num 10 results
- Language All
Results 251 - 260 of 573 for assign (0.04 seconds)
-
README.md
} catch (ClassNotFoundRuntimeException e) { // Handle the wrapped exception logger.error("Class not found: " + className, e); } ``` ## 🏗️ Architecture & Design Patterns ### Core Design Principles CoreLib follows a **utility-class pattern** where most functionality is exposed through static methods:
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sun Aug 31 02:56:02 GMT 2025 - 12.7K bytes - Click Count (0) -
cmd/object-api-utils_test.go
} } // Tests validate bucket name. func TestIsValidBucketName(t *testing.T) { testCases := []struct { bucketName string shouldPass bool }{ // cases which should pass the test. // passing in valid bucket names. {"lol", true}, {"1-this-is-valid", true}, {"1-this-too-is-valid-1", true}, {"this.works.too.1", true}, {"1234567", true}, {"123", true},
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 24.1K bytes - Click Count (0) -
samples/slack/src/main/java/okhttp3/slack/SlackApi.java
* dashboard to create a client ID and secret for this application. * * <p>You must configure your Slack API OAuth and Permissions page with a localhost URL like {@code * http://localhost:53203/oauth/}, passing the same port to this class’ constructor. */ public final class SlackApi { private final HttpUrl baseUrl = HttpUrl.get("https://slack.com/api/"); private final OkHttpClient httpClient; private final Moshi moshi;Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Jul 06 19:30:55 GMT 2018 - 4.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java
assertEquals(NtStatus.NT_STATUS_UNSUCCESSFUL, ex.getNtStatus(), "Status should default to unsuccessful for message+cause ctor"); } // Interaction: passing a mocked cause should not trigger interactions (nothing to call) @Test @DisplayName("Mocked cause: no interactions occur when stored as cause") void mockedCause_isStored_withoutInteraction() { // Arrange
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/FlushablesTest.java
doThrow(new IOException("This should only appear in the logs. It should not be rethrown.")) .when(mockFlushable) .flush(); } } // Flush the flushable using the Flushables, passing in the swallowException // parameter. expectThrown determines whether we expect an exception to // be thrown by Flushables.flush; private void doFlush(Flushable flushable, boolean swallowException, boolean expectThrown)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 20:34:52 GMT 2025 - 3.3K bytes - Click Count (0) -
android/guava/src/com/google/common/io/PatternFilenameFilter.java
* of the supertype that suggests that implementations are expected to tolerate null. That said, I * see calls in Google code that pass a null `dir` to a FilenameFilter.... So let's declare the * parameter as non-nullable (since passing null to a FilenameFilter is unsafe in general), but if * someone still manages to pass null, let's continue to have the method work. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 2.7K bytes - Click Count (1) -
architecture/standards/0001-use-architectural-decision-records.md
The main logic with ADRs is to describe (architectural) decisions made: * To provide best practices and solutions we (as the *build tool* team) want to promote. * To avoid asking the same thing multiple times during code review. * To explain *rejected solutions*, for now, and future development, in case they are proposed again. ADRs can be written by any team.
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 05 12:39:41 GMT 2026 - 2.9K bytes - Click Count (0) -
android/guava-testlib/pom.xml
</parent> <artifactId>guava-testlib</artifactId> <name>Guava Testing Library</name> <description> Guava testlib is a set of java classes used for more convenient unit testing - particularly to assist the tests for Guava itself. </description> <dependencies> <dependency> <groupId>org.jspecify</groupId> <artifactId>jspecify</artifactId> </dependency> <dependency>
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 29 17:59:17 GMT 2025 - 5K bytes - Click Count (0) -
guava-testlib/pom.xml
</parent> <artifactId>guava-testlib</artifactId> <name>Guava Testing Library</name> <description> Guava testlib is a set of java classes used for more convenient unit testing - particularly to assist the tests for Guava itself. </description> <dependencies> <dependency> <groupId>org.jspecify</groupId> <artifactId>jspecify</artifactId> </dependency> <dependency>
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 29 17:59:17 GMT 2025 - 5K bytes - Click Count (0) -
internal/ioutil/ioutil.go
func NewDeadlineWorker(timeout time.Duration) *DeadlineWorker { dw := &DeadlineWorker{ timeout: timeout, } return dw } // Run runs the given function, passing it a stopper channel. If the deadline passes before // the function finishes executing, Run returns context.DeadlineExceeded to the caller. // channel so that the work function can attempt to exit gracefully.
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)