Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 83 for Ftruncate (0.16 sec)

  1. src/net/dnsclient_unix_test.go

    				Header: dnsmessage.Header{
    					ID:       q.Header.ID,
    					Response: true,
    					RCode:    dnsmessage.RCodeSuccess,
    				},
    				Questions: q.Questions,
    			}
    			if n == "udp" {
    				r.Header.Truncated = true
    			}
    			return r, nil
    		},
    	}
    	r := Resolver{PreferGo: true, Dial: fake.DialContext}
    	for _, tt := range dnsTransportFallbackTests {
    		ctx, cancel := context.WithCancel(context.Background())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/lower_tf.mlir

    // CHECK-DAG:       %[[CST1:.*]] = "tf.Const"() <{value = dense<0> : tensor<1x24xi32>}> : () -> tensor<1x24xi32>
    // CHECK:           %[[CAST0:.*]] = "tf.Cast"(%arg0) <{Truncate = false}> : (tensor<1x24xi1>) -> tensor<1x24xi32>
    // CHECK:           %[[CAST1:.*]] = "tf.Cast"(%arg2) <{Truncate = false}> : (tensor<1x2xi1>) -> tensor<1x2xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 18:35:42 UTC 2024
    - 92K 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: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.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. 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: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
  7. 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)
  8. 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top