Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 39 for truncatedTo (0.06 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/event/ExecutionEventLogger.java

            String wallClock = session.getRequest().getDegreeOfConcurrency() > 1 ? " (Wall Clock)" : "";
    
            logger.info("Total time:  {}{}", formatDuration(time), wallClock);
    
            ZonedDateTime rounded = finish.truncatedTo(ChronoUnit.SECONDS).atZone(ZoneId.systemDefault());
            logger.info("Finished at: {}", formatTimestamp(rounded));
        }
    
        @Override
        public void projectSkipped(ExecutionEvent event) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Dec 13 15:40:45 GMT 2024
    - 17.5K bytes
    - Click Count (0)
  2. internal/hash/reader_test.go

    		},
    		{
    			desc:       "Correct sha256, nested, truncated",
    			src:        mustReader(t, bytes.NewReader([]byte("abcd-more-stuff-to-be ignored")), 4, "", "", 4),
    			size:       4,
    			actualSize: -1,
    			sha256hex:  "88d4266fd4e6338d13b845fcf289579d209c897823b9217da3e161936f031589",
    			err:        ioutil.ErrOverread,
    		},
    		7: {
    			desc:       "Correct sha256, nested, truncated, swapped",
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  3. cmd/object-api-datatypes.go

    type ListObjectVersionsInfo struct {
    	// Indicates whether the returned list objects response is truncated. A
    	// value of true indicates that the list was truncated. The list can be truncated
    	// if the number of objects exceeds the limit allowed or specified
    	// by max keys.
    	IsTruncated bool
    
    	// When response is truncated (the IsTruncated element value in the response is true),
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  4. cmd/metacache-server-pool.go

    		return entries, listErr
    	}
    	entries.reuse = true
    	truncated := entries.len() > o.Limit || err == nil
    	entries.truncate(o.Limit)
    	if !o.Transient && truncated {
    		if o.ID == "" {
    			entries.listID = mustGetUUID()
    		} else {
    			entries.listID = o.ID
    		}
    	}
    	if !truncated {
    		return entries, io.EOF
    	}
    	return entries, nil
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 12.9K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

          val fileBuilder = StringBuilder(key).append('.')
          val truncateTo = fileBuilder.length
          for (i in 0 until valueCount) {
            fileBuilder.append(i)
            cleanFiles += directory / fileBuilder.toString()
            fileBuilder.append(".tmp")
            dirtyFiles += directory / fileBuilder.toString()
            fileBuilder.setLength(truncateTo)
          }
        }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed May 28 23:28:25 GMT 2025
    - 34.7K bytes
    - Click Count (0)
  6. cmd/api-response.go

    	KeyMarker string
    
    	// When response is truncated (the IsTruncated element value in the response
    	// is true), you can use the key name in this field as marker in the subsequent
    	// request to get next set of objects. Server lists objects in alphabetical
    	// order Note: This element is returned only if you have delimiter request parameter
    	// specified. If response does not include the NextMaker and it is truncated,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 24 04:05:19 GMT 2025
    - 35K bytes
    - Click Count (0)
  7. ci/official/utilities/extract_resultstore_links.py

              f'{url}\n\n')
          failure_msg += (
              f'Here\'s a fragment of the log containing the failure:\n\n'
              f'[ ... TRUNCATED ... ]\n\n'
              f'{invocation_results["log_fragment"]}\n'
              f'\n[ ... TRUNCATED ... ]\n'
          )
          failure = ElemTree.SubElement(
              testcase, elem_name,
              message=f'Bazel invocation {invocation_id} failed.')
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Wed Nov 08 17:50:27 GMT 2023
    - 10.9K bytes
    - Click Count (0)
  8. src/test/java/jcifs/ntlmssp/av/AvPairsTest.java

            });
    
            assertEquals("Invalid avLen for AvEOL", exception.getMessage(), "Should throw exception for invalid EOL");
        }
    
        /**
         * Test decode with truncated data
         */
        @Test
        @DisplayName("Decode should handle truncated data")
        void testDecodeTruncatedData() {
            byte[] truncatedData = new byte[3]; // Less than 4 bytes
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  9. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

                // Challenge bytes would be at 24-31 but we're truncated
    
                // When & Then
                assertThrows(ArrayIndexOutOfBoundsException.class, () -> new Type2Message(truncatedMessage));
            }
    
            @Test
            @DisplayName("parse should handle truncated message missing target info")
            void testParse_InputLengthTooSmallForTargetInfo() {
                // Given
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 38.9K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

            }
          }
        }
    
      override fun peekTrailers(): Headers? {
        if (trailers === TRAILERS_RESPONSE_BODY_TRUNCATED) {
          throw IOException("Trailers cannot be read because the response body was truncated")
        }
        check(state == STATE_READING_RESPONSE_BODY || state == STATE_CLOSED) {
          "Trailers cannot be read because the state is $state"
        }
        return trailers
      }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 17.5K bytes
    - Click Count (7)
Back to Top