Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for Truncated (0.16 sec)

  1. cmd/object-api-listobjects_test.go

    						t.Errorf("Test %d: %s: Expected NextMarker to contain a string since listing is truncated, but instead found it to be empty", i+1, instanceType)
    					}
    
    					if !testCase.resultL.IsTruncated && resultL.NextMarker != "" {
    						if !resultL.IsTruncated || len(resultL.Objects) == 0 {
    							t.Errorf("Test %d: %s: Expected NextMarker to be empty since listing is not truncated, but instead found `%v`", i+1, instanceType, resultL.NextMarker)
    						}
    					}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 11:07:40 UTC 2024
    - 73.1K bytes
    - Viewed (0)
  2. src/archive/zip/reader_test.go

    			},
    		},
    	},
    	// Issue 66869: Don't skip over an EOCDR with a truncated comment.
    	// The test file sneakily hides a second EOCDR before the first one;
    	// previously we would extract one file ("file") from this archive,
    	// while most other tools would reject the file or extract a different one ("FILE").
    	{
    		Name:  "comment-truncated.zip",
    		Error: ErrFormat,
    	},
    }
    
    func TestReader(t *testing.T) {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 55.6K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

              )
            }
          } else if (base != null) {
            this.scheme = base.scheme
          } else {
            val truncated = if (input.length > 6) input.take(6) + "..." else input
            throw IllegalArgumentException(
              "Expected URL scheme 'http' or 'https' but no scheme was found for $truncated",
            )
          }
    
          // Authority.
          var hasUsername = false
          var hasPassword = false
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  4. cmd/object-api-multipart_test.go

    				},
    			},
    		},
    		// listMultipartResults - 19.
    		// Testing for listing of 3 uploadID's for a given object, setting maxKeys to be 2.
    		// There are 3 MultipartInfo in the result (uploadIDs[1-3]), it should be truncated to 2.
    		// Since there is only single object for bucketNames[1], the NextKeyMarker is set to its name.
    		// The last entry in the result, uploadIDs[2], that is should be set as NextUploadIDMarker.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 88.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbSessionImpl.java

                    setNetbiosName(ctx.getNetbiosName());
                    byte[] sk = ctx.getSigningKey();
                    if ( sk != null ) {
                        // session key is truncated to 16 bytes, right padded with 0 if shorter
                        byte[] key = new byte[16];
                        System.arraycopy(sk, 0, key, 0, Math.min(16, sk.length));
                        this.sessionKey = key;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
  6. cmd/xl-storage.go

    	if err != nil {
    		w.Close()
    		return err
    	}
    
    	if written < fileSize && fileSize >= 0 {
    		if truncate {
    			w.Truncate(0) // zero-in the file size to indicate that its unreadable
    		}
    		w.Close()
    		return errLessData
    	} else if written > fileSize && fileSize >= 0 {
    		if truncate {
    			w.Truncate(0) // zero-in the file size to indicate that its unreadable
    		}
    		w.Close()
    		return errMoreData
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        val ping = peer.takeFrame()
        assertThat(ping.type).isEqualTo(Http2.TYPE_PING)
      }
    
      /**
       * A server RST_STREAM shouldn't prevent the client from consuming the response body, even if it
       * follows a truncated request body.
       */
      @Test fun clientRequestBodyServerResponseBodyRstStream() {
        // Write the mocking script.
        peer.sendFrame().settings(Settings())
        peer.acceptFrame() // ACK
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  8. docs/changelogs/changelog_3x.md

        instead of the expected `IOException`.
    
     *  Fix: Don't crash with a `NullPointerException` when formatting an error message describing a
        truncated response from an HTTPS proxy.
    
    
    ## Version 3.14.1
    
    _2019-04-10_
    
     *  Fix: Don't crash when an interceptor retries when there are no more routes. This was an
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

            |2
            |
            |CLEAN k1 1 1
            """.trimMargin(),
          )
        }
        createNewCache()
        assertThat(cache["k1"]).isNull()
    
        // The journal is not corrupt when editing after a truncated line.
        set("k1", "C", "D")
        cache.close()
        createNewCache()
        assertValue("k1", "C", "D")
      }
    
      @ParameterizedTest
      @ArgumentsSource(FileSystemParamProvider::class)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  10. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

      // than the name passed. This value will also be combined with a unique suffix.
      // The provided value has the same validation rules as the Name field,
      // and may be truncated by the length of the suffix required to make the value
      // unique on the server.
      //
      // If this field is specified and the generated name exists, the server will return a 409.
      //
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 53.3K bytes
    - Viewed (0)
Back to top