Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 42 for Ftruncate (0.36 sec)

  1. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

          }
        }
    
        // The future may complete while calculating the toString, so we check once more to see if the
        // future is done
        if (isDone()) {
          // Truncate anything that was appended before realizing this future is done
          builder.delete(truncateLength, builder.length());
          addDoneString(builder);
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 63.1K bytes
    - Viewed (1)
  2. guava/src/com/google/common/util/concurrent/AbstractFuture.java

          }
        }
    
        // The future may complete while calculating the toString, so we check once more to see if the
        // future is done
        if (isDone()) {
          // Truncate anything that was appended before realizing this future is done
          builder.delete(truncateLength, builder.length());
          addDoneString(builder);
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 62.8K bytes
    - Viewed (1)
  3. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/working_with_files.adoc

    For example, the following task truncates filenames:
    
    ====
    include::sample[dir="snippets/files/copy/kotlin",files="build.gradle.kts[tags=truncate-names-example]"]
    include::sample[dir="snippets/files/copy/groovy",files="build.gradle[tags=truncate-names-example]"]
    ====
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 70.5K bytes
    - Viewed (0)
  4. pkg/kubelet/nodestatus/setters_test.go

    	images := make([]kubecontainer.Image, len(imageList))
    	copy(images, imageList)
    	// sort images by size
    	sort.Sort(sliceutils.ByImageSize(images))
    	// convert to []v1.ContainerImage and truncate the list of names
    	expectedImages := make([]v1.ContainerImage, len(images))
    	for i := range images {
    		image := &images[i]
    		expectedImage := &expectedImages[i]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 21:47:24 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  5. src/runtime/mgcscavenge.go

    //
    // max is a hint for how big of a region is desired. If max >= pallocChunkPages, then
    // findScavengeCandidate effectively returns entire free and unscavenged regions.
    // If max < pallocChunkPages, it may truncate the returned region such that size is
    // max. However, findScavengeCandidate may still return a larger region if, for
    // example, it chooses to preserve huge pages, or if max is not aligned to min (it
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:48:45 UTC 2024
    - 52.3K bytes
    - Viewed (0)
  6. cmd/admin-handlers-users.go

    	}
    
    	if createReq.Expiration != nil && !createReq.Expiration.IsZero() {
    		// truncate expiration at the second.
    		truncateTime := createReq.Expiration.Truncate(time.Second)
    		createReq.Expiration = &truncateTime
    	}
    
    	// service account access key cannot have space characters beginning and end of the string.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:19:04 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  7. cmd/xl-storage.go

    		bucketMetaPrefix, healingTrackerFilename)
    	b, err := os.ReadFile(healingFile)
    	if err != nil {
    		return nil
    	}
    	if len(b) == 0 {
    		// 'healing.bin' might be truncated
    		return nil
    	}
    	h := newHealingTracker()
    	_, err = h.UnmarshalMsg(b)
    	bugLogIf(GlobalContext, err)
    	return h
    }
    
    // checkODirectDiskSupport asks the disk to write some data
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc

            OpBuilder builder(last_store);
            builder.setInsertionPointAfter(last_store);
            auto cast = builder.create<TF::CastOp>(
                last_store.getLoc(), read_type, last_store.getValue(),
                /*Truncate=*/builder.getBoolAttr(false));
            read_variable_op.getValue().replaceAllUsesWith(cast);
          } else {
            read_variable_op.getValue().replaceAllUsesWith(last_store.getValue());
          }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  9. src/net/http/request.go

    	// The server can (and will, if it's a net/http server) reject
    	// the request if it doesn't consider the host valid.
    	if !httpguts.ValidHostHeader(host) {
    		// Historically, we would truncate the Host header after '/' or ' '.
    		// Some users have relied on this truncation to convert a network
    		// address such as Unix domain socket path into a valid, ignored
    		// Host header (see https://go.dev/issue/61431).
    		//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  10. src/crypto/tls/conn.go

    			}
    			c.out.Unlock()
    			// Return an error which wraps both the handshake error and
    			// any alert error we may have sent, or alertInternalError
    			// if we didn't send an alert.
    			// Truncate the text of the alert to 0 characters.
    			c.handshakeErr = fmt.Errorf("%w%.0w", c.handshakeErr, AlertError(a))
    		}
    		close(c.quic.blockedc)
    		close(c.quic.signalc)
    	}
    
    	return c.handshakeErr
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
Back to top