- Sort Score
- Num 10 results
- Language All
Results 1171 - 1180 of 1,837 for New (0.01 seconds)
-
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/HelpTest.java
import static org.junit.jupiter.api.Assertions.assertEquals; /** * Unit tests for the Help goal. */ class HelpTest { private Help help; @BeforeEach void setUp() { help = new Help(); } private UpgradeContext createMockContext() { return TestUtils.createMockContext(); } @Test void testHelpExecuteReturnsZero() throws Exception {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Aug 29 12:46:51 GMT 2025 - 3.4K bytes - Click Count (0) -
cmd/api-errors_test.go
{err: crypto.ErrCustomerKeyMD5Mismatch, errCode: ErrSSECustomerKeyMD5Mismatch}, {err: errObjectTampered, errCode: ErrObjectTampered}, {err: nil, errCode: ErrNone}, {err: errors.New("Custom error"), errCode: ErrInternalError}, // Case where err type is unknown. } func TestAPIErrCode(t *testing.T) { ctx := t.Context() for i, testCase := range toAPIErrorTests {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 3.4K bytes - Click Count (0) -
cmd/bitrot-whole.go
} // Returns whole-file bitrot writer. func newWholeBitrotWriter(disk StorageAPI, volume, filePath string, algo BitrotAlgorithm, shardSize int64) io.WriteCloser { return &wholeBitrotWriter{disk, volume, filePath, shardSize, algo.New()} } // Implementation to verify bitrot for the whole file. type wholeBitrotReader struct { disk StorageAPI volume string filePath string verifier *BitrotVerifier // Holds the bit-rot info
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Jan 31 02:11:45 GMT 2024 - 2.7K bytes - Click Count (0) -
cmd/etcd.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "errors" "fmt" etcd "go.etcd.io/etcd/client/v3" ) var errEtcdUnreachable = errors.New("etcd is unreachable, please check your endpoints") func etcdErrToErr(err error, etcdEndpoints []string) error { if err == nil { return nil } switch err { case context.DeadlineExceeded:
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 2.9K bytes - Click Count (0) -
KEYS.md
## Verification instructions ### Importing the key You can import the key into your GPG keyring in one of two ways. First, copy the public key block below into a new file called `gradle_pubkey.asc`, then import it with this command: ```bash gpg --import gradle_pubkey.asc ``` Alternatively, you can fetch the key directly from a key server: ```bash
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Dec 04 14:29:13 GMT 2025 - 4.7K bytes - Click Count (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild.test-fixtures.gradle.kts
*/ import org.gradle.plugins.ide.idea.model.IdeaModel /** * Test Fixtures Plugin. * * Configures the Project as a test fixtures producer if `src/testFixtures` is a directory: * - adds a new `testFixtures` source set which should contain utilities/fixtures to assist in unit testing * classes from the main source set, * - the test fixtures are automatically made available to the test classpath. *
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Jun 24 14:00:52 GMT 2025 - 3.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultEvent.java
} @Override public Optional<MojoExecution> getMojoExecution() { return Optional.ofNullable(delegate.getMojoExecution()).map(me -> new DefaultMojoExecution(session, me)); } @Override public Optional<Exception> getException() { return Optional.ofNullable(delegate.getException()); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Nov 29 20:53:26 GMT 2024 - 2.1K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/SimpleLookup.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2K bytes - Click Count (0) -
build-logic/documentation/src/test/resources/org/gradle/test/JavaClassWithConstants.java
public class JavaClassWithConstants { public static final String STRING_CONST = "some-string"; static final char CHAR_CONST = 'a'; static final int INT_CONST = 9; protected static final Object OBJECT_CONST = new JavaClassWithConstants(); static String ignored = "ignore"; String ignored2 = "ignore";Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 353 bytes - Click Count (0) -
internal/config/identity/plugin/config.go
CloseRespFn: closeRespFn, RolePolicy: rolePolicy, RoleARN: roleArn, } if err = args.Validate(); err != nil { return args, err } return args, nil } // New - initializes Authorization Management Plugin. func New(shutdownCtx context.Context, args Args) *AuthNPlugin { if args.URL == nil || args.URL.Scheme == "" && args.AuthToken == "" { return nil } plugin := AuthNPlugin{ args: args,
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 13.3K bytes - Click Count (0)