Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 251 for truncate (0.05 sec)

  1. helm/minio/templates/_helpers.tpl

    {{/*
    Expand the name of the chart.
    */}}
    {{- define "minio.name" -}}
      {{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
    {{- end -}}
    
    {{/*
    Create a default fully qualified app name.
    We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
    If release name contains chart name it will be used as a full name.
    */}}
    {{- define "minio.fullname" -}}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Apr 17 06:04:15 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CacheCorruptionTest.kt

      }
    
      @Test
      fun truncatedMetadataEntry() {
        val response =
          testCorruptingCache {
            corruptMetadata {
              // truncate metadata to 1/4 of length
              it.substring(0, it.length / 4)
            }
          }
    
        assertThat(response.body.string()).isEqualTo("ABC.2") // not cached
        assertThat(cache.requestCount()).isEqualTo(2)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. internal/jwt/parser.go

    	}
    
    	bufp := base64BufPool.Get().(*[]byte)
    	defer base64BufPool.Put(bufp)
    
    	tokenBuf := base64BufPool.Get().(*[]byte)
    	defer base64BufPool.Put(tokenBuf)
    
    	token := *tokenBuf
    	// Copy token to buffer, truncate to length.
    	token = token[:copy(token[:base64BufferSize], tokenStr)]
    
    	signer, err := ParseUnverifiedStandardClaims(token, claims, *bufp)
    	if err != nil {
    		return err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. src/bytes/buffer_test.go

    			t.Errorf("Write: got (%d, %v), want (%d, %v)", n, err, want, nil)
    		}
    		check(t, "TestBasicOperations (6)", &buf, testString[0:26])
    
    		buf.Truncate(26)
    		check(t, "TestBasicOperations (7)", &buf, testString[0:26])
    
    		buf.Truncate(20)
    		check(t, "TestBasicOperations (8)", &buf, testString[0:20])
    
    		empty(t, "TestBasicOperations (9)", &buf, testString[0:20], make([]byte, 5))
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Sep 03 20:55:15 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  5. src/main/webapp/WEB-INF/orig/view/index.jsp

    									autocomplete="off" />
    							</div>
    						</div>
    						<c:if test="${!empty popularWords}">
    							<div class="clearfix">
    								<p class="text-truncate">
    									<la:message key="labels.search_popular_word_word" />
    									<c:forEach var="item" varStatus="s" items="${popularWords}">
    										<c:if test="${s.index < 3}">
    											<la:link
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. internal/s3select/select.go

    		}
    		if buf.Bytes()[buf.Len()-1] == '\n' {
    			buf.Truncate(buf.Len() - 1)
    		}
    		buf.WriteString(s3Select.Output.CSVArgs.RecordDelimiter)
    
    		return nil
    	case jsonFormat:
    		err := record.WriteJSON(buf)
    		if err != nil {
    			return err
    		}
    		// Trim trailing newline from non-simd output
    		if buf.Bytes()[buf.Len()-1] == '\n' {
    			buf.Truncate(buf.Len() - 1)
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/UnsignedInteger.java

       * bits, returns the low 32 bits of the result.
       *
       * @since 14.0
       */
      @J2ktIncompatible
      @GwtIncompatible // Does not truncate correctly
      public UnsignedInteger times(UnsignedInteger val) {
        // TODO(lowasser): make this GWT-compatible
        return fromIntBits(value * checkNotNull(val).value);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 18:45:50 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/primitives/UnsignedInteger.java

       * bits, returns the low 32 bits of the result.
       *
       * @since 14.0
       */
      @J2ktIncompatible
      @GwtIncompatible // Does not truncate correctly
      public UnsignedInteger times(UnsignedInteger val) {
        // TODO(lowasser): make this GWT-compatible
        return fromIntBits(value * checkNotNull(val).value);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 18:45:50 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  9. internal/kms/kes.go

    	list := make([]madmin.KMSAPI, 0, len(APIs))
    	for _, api := range APIs {
    		list = append(list, madmin.KMSAPI{
    			Method:  api.Method,
    			Path:    api.Path,
    			MaxBody: api.MaxBody,
    			Timeout: int64(api.Timeout.Truncate(time.Second).Seconds()),
    		})
    	}
    	return list, nil
    }
    
    // Stat returns the current KES status containing a
    // list of KES endpoints and the default key ID.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/SmbResource.java

    
        /**
         * Opens an output stream writing to the file (write only, exclusive write access)
         * 
         * @param append
         *            whether to append to or truncate the input
         * @param openFlags
         *            flags for open operation
         * @param access
         *            desired file access flags
         * @param sharing
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 26K bytes
    - Viewed (1)
Back to top