Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 731 - 740 of 2,497 for Case (0.02 seconds)

  1. src/bytes/bytes_test.go

    	toFn := func(name string) (func([]byte, string) []byte, func([]byte, []byte) []byte) {
    		switch name {
    		case "Trim":
    			return Trim, nil
    		case "TrimLeft":
    			return TrimLeft, nil
    		case "TrimRight":
    			return TrimRight, nil
    		case "TrimPrefix":
    			return nil, TrimPrefix
    		case "TrimSuffix":
    			return nil, TrimSuffix
    		default:
    			t.Errorf("Undefined trim function %s", name)
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Dec 23 23:54:14 GMT 2025
    - 62.9K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Preconditions.checkPositionIndex;
    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.collect.CollectPreconditions.checkRemove;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 33.9K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/plugin/MavenPluginPrerequisitesChecker.java

    @FunctionalInterface
    public interface MavenPluginPrerequisitesChecker extends Consumer<PluginDescriptor> {
        /**
         *
         * @param pluginDescriptor the plugin descriptor to check
         * @throws IllegalStateException in case the checked prerequisites are not met
         */
        @Override
        void accept(PluginDescriptor pluginDescriptor);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 09 16:35:21 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  4. clause/order_by_test.go

    				},
    			},
    			"SELECT * FROM `users` ORDER BY FIELD(id, ?,?,?)",
    			[]interface{}{1, 2, 3},
    		},
    	}
    
    	for idx, result := range results {
    		t.Run(fmt.Sprintf("case #%v", idx), func(t *testing.T) {
    			checkBuildClauses(t, result.Clauses, result.Result, result.Vars)
    		})
    	}
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Jan 06 07:02:53 GMT 2022
    - 1.6K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/AdminDuplicatehostAction.java

            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new DuplicateHost()).map(entity -> {
                    entity.setCreatedBy(username);
                    entity.setCreatedTime(currentTime);
                    return entity;
                });
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/ProjectBuildFailureException.java

     * under the License.
     */
    package org.apache.maven;
    
    import org.apache.maven.plugin.MojoFailureException;
    
    /**
     * Exception which occurs when a normal (i.e. non-aggregator) mojo fails to
     * execute. In this case, the mojo failed while executing against a particular
     * project instance, so we can wrap the {@link MojoFailureException} with context
     * information including projectId that caused the failure.
     *
     *
     */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  7. src/cmd/asm/internal/lex/lex_test.go

    func firstError(input *Input) (err error) {
    	panicOnError = true
    	defer func() {
    		panicOnError = false
    		switch e := recover(); e := e.(type) {
    		case nil:
    		case error:
    			err = e
    		default:
    			panic(e)
    		}
    	}()
    
    	for {
    		tok := input.Next()
    		if tok == scanner.EOF {
    			return
    		}
    	}
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 5.8K bytes
    - Click Count (0)
  8. cmd/signature-v2.go

    		keyval := strings.SplitN(query, "=", 2)
    		if len(keyval) != 2 {
    			return ErrInvalidQueryParams
    		}
    		switch keyval[0] {
    		case xhttp.AmzAccessKeyID:
    			accessKey = keyval[1]
    		case xhttp.AmzSignatureV2:
    			gotSignature = keyval[1]
    		case xhttp.Expires:
    			expires = keyval[1]
    		default:
    			filteredQueries = append(filteredQueries, query)
    		}
    	}
    
    	// Invalid values returns error.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

            } catch (final ErrorResponseException e) {
                final String code = e.errorResponse().code();
                switch (code) {
                case "NoSuchBucket":
                    throw new CrawlingAccessException("Bucket not found: bucket=" + bucketName, e);
                case "NoSuchKey", "NoSuchObject":
                    if (logger.isDebugEnabled()) {
                        logger.debug("Object not found: bucket={}, path={}", bucketName, path);
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 20K bytes
    - Click Count (2)
  10. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/ImmutableCollections.java

                return emptyMap();
            } else if (map instanceof AbstractImmutableMap) {
                return map;
            } else {
                switch (map.size()) {
                    case 0:
                        return emptyMap();
                    case 1:
                        Map.Entry<K, V> entry = map.entrySet().iterator().next();
                        return singletonMap(entry.getKey(), entry.getValue());
                    default:
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Jul 07 11:47:42 GMT 2025
    - 7.8K bytes
    - Click Count (0)
Back to Top