Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for taboret (0.34 sec)

  1. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        setUp(parameters.first, parameters.second)
        set("a", "a", "a")
        val snapshot = cache["a"]!!
        snapshot.close()
        val toAbort = snapshot.edit()!!
        toAbort.setString(0, "b")
        toAbort.abort()
        val editor = snapshot.edit()!!
        editor.setString(1, "a2")
        editor.commit()
        assertValue("a", "a", "a2")
      }
    
      @ParameterizedTest
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 75.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/exception/DataStoreCrawlingException.java

        private final boolean abort;
    
        public DataStoreCrawlingException(final String url, final String message, final Exception e) {
            this(url, message, e, false);
        }
    
        public DataStoreCrawlingException(final String url, final String message, final Exception e, final boolean abort) {
            super(message, e);
            this.url = url;
            this.abort = abort;
        }
    
        public String getUrl() {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  3. architecture-standards/0001-use-architectural-decision-records.md

    ```markdown
    # ADR-000X - Title
    
    ## Date
    
    20YY-MM-DD
    
    ## Context
    
    Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna
    aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
    Plain Text
    - Registered: Wed Feb 14 11:36:15 GMT 2024
    - Last Modified: Wed Feb 07 00:43:19 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  4. architecture/standards/0001-use-architectural-decision-records.md

    ```markdown
    # ADR-000X - Title
    
    ## Date
    
    20YY-MM-DD
    
    ## Context
    
    Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna
    aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Mar 02 21:54:40 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  5. cmd/object-api-putobject_test.go

    	if err != nil {
    		// Failed to create newbucket, abort.
    		t.Fatalf("%s : %s", instanceType, err.Error())
    	}
    
    	// Creating a dummy bucket for tests.
    	err = obj.MakeBucket(context.Background(), "unused-bucket", MakeBucketOptions{})
    	if err != nil {
    		// Failed to create newbucket, abort.
    		t.Fatalf("%s : %s", instanceType, err.Error())
    	}
    
    	var (
    		nilBytes    []byte
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  6. cmd/object-api-multipart_test.go

    	if err != nil {
    		// Failed to create newbucket, abort.
    		t.Fatalf("%s : %s", instanceType, err.Error())
    	}
    	// Initiate Multipart Upload on the above created bucket.
    	res, err := obj.NewMultipartUpload(context.Background(), bucket, object, opts)
    	if err != nil {
    		// Failed to create NewMultipartUpload, abort.
    		t.Fatalf("%s : %s", instanceType, err.Error())
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  7. docs/en/docs/reference/exceptions.md

    When you raise an exception, as would happen with normal Python, the rest of the execution is aborted. This way you can raise these exceptions from anywhere in the code to abort a request and show the error to the client.
    
    You can use:
    
    * `HTTPException`
    * `WebSocketException`
    
    These exceptions can be imported directly from `fastapi`:
    
    ```python
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 597 bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

              try {
                bytesRead = source.read(sink, byteCount)
              } catch (e: IOException) {
                if (!cacheRequestClosed) {
                  cacheRequestClosed = true
                  cacheRequest.abort() // Failed to write a complete cache response.
                }
                throw e
              }
    
              if (bytesRead == -1L) {
                if (!cacheRequestClosed) {
                  cacheRequestClosed = true
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Mar 22 07:09:21 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            }).orElse(new HighlightInfo());
        }
    
        protected void updateHighlightInfo(final HighlightInfo highlightInfo, final int width) {
            if (width < TABLET_WIDTH) {
                float ratio = ((float) width) / ((float) TABLET_WIDTH);
                if (ratio < 0.5) {
                    ratio = 0.5f;
                }
                highlightInfo.fragmentSize((int) (highlightInfo.getFragmentSize() * ratio));
            }
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 40.1K bytes
    - Viewed (2)
  10. okhttp/src/main/kotlin/okhttp3/Cache.kt

                super.close()
                editor.commit()
              }
            }
        }
    
        override fun abort() {
          synchronized(this@Cache) {
            if (done) return
            done = true
            writeAbortCount++
          }
          cacheOut.closeQuietly()
          try {
            editor.abort()
          } catch (_: IOException) {
          }
        }
    
        override fun body(): Sink = body
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
Back to top