Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 98 for Case (0.59 sec)

  1. src/main/java/jcifs/smb/SmbFile.java

            catch ( SmbException se ) {
                log.trace("exists:", se);
                switch ( se.getNtStatus() ) {
                case NtStatus.NT_STATUS_NO_SUCH_FILE:
                case NtStatus.NT_STATUS_OBJECT_NAME_INVALID:
                case NtStatus.NT_STATUS_OBJECT_NAME_NOT_FOUND:
                case NtStatus.NT_STATUS_OBJECT_PATH_NOT_FOUND:
                    break;
                default:
                    throw se;
                }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool.go

    			}
    		}
    		for {
    			select {
    			case <-ctx.Done():
    				return
    			case v := <-updateCloser:
    				update()
    				xioutil.SafeClose(v)
    				return
    			case <-updateTicker.C:
    				update()
    			}
    		}
    	}()
    
    	wg.Wait()
    	ch := make(chan struct{})
    	select {
    	case updateCloser <- ch:
    		<-ch
    	case <-ctx.Done():
    		mu.Lock()
    		if firstErr == nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 80.1K bytes
    - Viewed (0)
  3. src/bufio/bufio_test.go

    	r := NewReader(z)
    
    	c := make(chan error)
    	go func() {
    		_, err := r.ReadByte()
    		c <- err
    	}()
    
    	select {
    	case err := <-c:
    		if err == nil {
    			t.Error("error expected")
    		} else if err != io.ErrNoProgress {
    			t.Error("unexpected error:", err)
    		}
    	case <-time.After(time.Second):
    		t.Error("test timed out (endless loop in ReadByte?)")
    	}
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  4. fastapi/param_functions.py

                Swagger UI (that provides the `/docs` interface) has better support for the
                OpenAPI-specific examples than the JSON Schema `examples`, that's the main
                use case for this.
    
                Read more about it in the
                [FastAPI docs for Declare Request Example Data](https://fastapi.tiangolo.com/tutorial/schema-extra-example/#using-the-openapi_examples-parameter).
                """
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 62.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

            String httpAddress = SystemUtil.getSearchEngineHttpAddress();
            if (StringUtil.isBlank(httpAddress) && (runner == null)) {
                switch (fessConfig.getFesenType()) {
                case Constants.FESEN_TYPE_CLOUD:
                case Constants.FESEN_TYPE_AWS:
                    httpAddress = org.codelibs.fess.util.ResourceUtil.getFesenHttpUrl();
                    break;
                default:
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 84.1K bytes
    - Viewed (0)
  6. tensorflow/c/c_api.h

    // `run_metadata`) are valid.
    //
    //    - `run_options` may be NULL, in which case it will be ignored; or
    //      non-NULL, in which case it must point to a `TF_Buffer` containing the
    //      serialized representation of a `RunOptions` protocol buffer.
    //    - `run_metadata` may be NULL, in which case it will be ignored; or
    //      non-NULL, in which case it must point to an empty, freshly allocated
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

        private boolean isValidProfileId(String id) {
            switch (id.charAt(0)) { // avoid first character that has special CLI meaning in "mvn -P xxx"
                case '+': // activate
                case '-': // deactivate
                case '!': // deactivate
                case '?': // optional
                    return false;
                default:
            }
            return true;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 13:13:07 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

        /**
         * Assuming that all scopes in this List<FirScope> and [base] are surrounding [from], returns whether an element of
         * this List<FirScope> is closer than [base] based on the distance from [from].
         */
        private fun List<FirScope>.hasScopeCloserThan(base: FirScope, from: KtElement) = any { scope ->
            if (scope.isScopeForClass() && base.isScopeForClass()) {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:51:33 GMT 2024
    - 69.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/Futures.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.Function;
    import com.google.common.base.MoreObjects;
    import com.google.common.base.Preconditions;
    import com.google.common.collect.ImmutableList;
    import com.google.common.util.concurrent.CollectionFuture.ListFuture;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

     * See the License for the specific language governing permissions and
     * 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.collect.CollectPreconditions.checkEntryNotNull;
    import static com.google.common.collect.Maps.keyOrNull;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
Back to top