Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2151 - 2160 of 2,189 for else_ (0.25 seconds)

  1. cmd/bucket-handlers_test.go

    			req, err = newTestSignedRequestV4(http.MethodPost, getDeleteMultipleObjectsURL("", testCase.bucket),
    				int64(len(testCase.objects)), bytes.NewReader(testCase.objects), testCase.accessKey, testCase.secretKey, nil)
    		} else {
    			req, err = newTestRequest(http.MethodPost, getDeleteMultipleObjectsURL("", testCase.bucket),
    				int64(len(testCase.objects)), bytes.NewReader(testCase.objects))
    		}
    		if err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 39.8K bytes
    - Click Count (0)
  2. cmd/object_api_suite_test.go

    		if err.Error() != "Object not found: bucket/dir1" {
    			t.Errorf("%s: Expected the Error message to be `%s`, but instead found `%s`", instanceType, "Object not found: bucket/dir1", err.Error())
    		}
    	} else {
    		if err.Error() != "fails" {
    			t.Errorf("%s: Expected the Error message to be `%s`, but instead found it to be `%s`", instanceType, "fails", err.Error())
    		}
    	}
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 34.5K bytes
    - Click Count (0)
  3. cmd/api-errors.go

    	case dns.ErrBucketConflict:
    		apiErr = ErrBucketAlreadyExists
    	default:
    		if strings.Contains(err.Error(), "request declared a Content-Length") {
    			apiErr = ErrIncompleteBody
    		} else {
    			apiErr = ErrInternalError
    		}
    	}
    
    	return apiErr
    }
    
    var noError = APIError{}
    
    // toAPIError - Converts embedded errors. Convenience
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 16 07:34:24 GMT 2025
    - 93K bytes
    - Click Count (3)
  4. src/main/webapp/css/admin/bootstrap.min.css.map

    &,\n    .disable-responsive-font-size &,\n    &.disable-responsive-font-size {\n      @content;\n    }\n  }\n  @else {\n    @content;\n  }\n}\n\n// Internal mixin that adds enable classes to the selector if needed.\n@mixin _rfs-enable-class {\n  @if $rfs-class == \"enable\" {\n    .enable-responsive-font-size &,\n    &.enable-responsive-font-size {\n      @content;\n    }\n  }\n  @else {\n    @content;\n  }\n}\n\n// Internal mixin used to determine which media query needs to be used\n@mixin _rfs...
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Oct 26 01:49:09 GMT 2024
    - 639.3K bytes
    - Click Count (1)
  5. src/main/java/org/codelibs/fess/helper/SystemHelper.java

                    final char c = path.charAt(i);
                    if (CharUtil.isUrlChar(c) || c == '^' || c == '{' || c == '}' || c == '|' || c == '\\') {
                        buf.append(c);
                    } else {
                        buf.append(URLEncoder.encode(String.valueOf(c), filterPathEncoding));
                    }
                }
                return buf.toString();
            } catch (final UnsupportedEncodingException e) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Dec 20 08:30:43 GMT 2025
    - 36.6K bytes
    - Click Count (0)
  6. cmd/object-api-multipart_test.go

    			if len(expectedResult.Parts) != len(actualResult.Parts) {
    				t.Errorf("Test %d: %s: Expected the result to contain info of %d Parts, but found %d instead", i+1, instanceType, len(expectedResult.Parts), len(actualResult.Parts))
    			} else {
    				// Iterating over the partInfos and asserting the fields.
    				for j, actualMetaData := range actualResult.Parts {
    					//  Asserting the PartNumber in the PartInfo.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 89.4K bytes
    - Click Count (0)
  7. cmd/xl-storage_test.go

    	}
    
    	var volInfos []VolInfo
    	// TestXLStorage empty list vols.
    	if volInfos, err = xlStorage.ListVols(t.Context()); err != nil {
    		t.Fatalf("expected: <nil>, got: %s", err)
    	} else if len(volInfos) != 1 {
    		t.Fatalf("expected: one entry, got: %v", volInfos)
    	}
    
    	// TestXLStorage non-empty list vols.
    	if err = xlStorage.MakeVol(t.Context(), "success-vol"); err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 66K bytes
    - Click Count (0)
  8. internal/ringbuffer/ring_buffer_test.go

    		t.Fatalf("got: %q; want: %q", err, io.ErrUnexpectedEOF)
    	}
    	for writeErr := range done {
    		if writeErr != ErrWriteOnClosed {
    			t.Errorf("got: %q; want: %q", writeErr, ErrWriteOnClosed)
    		} else {
    			t.Log("ok")
    		}
    	}
    	result := string(buf[0:n])
    	if result != "hello" {
    		t.Errorf("got: %q; want: %q", result, "hello")
    	}
    }
    
    func timeout(after time.Duration) (cancel func()) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  9. internal/grid/grid_test.go

    		time.Sleep(time.Millisecond)
    	}
    	cancel()
    	<-serverCanceled
    	local.debugMsg(debugIsOutgoingClosed, st.muxID, func(closed bool) {
    		if !closed {
    			t.Error("expected outgoing closed")
    		} else {
    			t.Log("outgoing was closed")
    		}
    	})
    
    	// Drain responses and check if error propagated.
    	err = st.Results(func(b []byte) error {
    		return nil
    	})
    	if !errors.Is(err, context.Canceled) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 36.1K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

              // JDK 11 response to the FAIL_HANDSHAKE
              val jvmVersion = System.getProperty("java.specification.version")
              assertThat(jvmVersion).isEqualTo("11")
            }
            else -> throw expected
          }
        }
      }
    
      @Test
      fun tlsHostnameVerificationFailure() {
        assumeNotWindows()
        platform.assumeNotBouncyCastle()
    
        server.enqueue(MockResponse())
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 147.4K bytes
    - Click Count (0)
Back to Top