Search Options

Results per page
Sort
Preferred Languages
Advance

Results 801 - 810 of 928 for uaAppend (0.05 sec)

  1. doc/go1.17_spec.html

    s3 := append(s2, s0...)            // append a slice              s3 == []int{0, 0, 2, 3, 5, 7, 0, 0}
    s4 := append(s3[3:6], s3[2:]...)   // append overlapping slice    s4 == []int{3, 5, 7, 2, 3, 5, 7, 0, 0}
    
    var t []interface{}
    t = append(t, 42, 3.1415, "foo")   //                             t == []interface{}{42, 3.1415, "foo"}
    
    var b []byte
    b = append(b, "bar"...)            // append string contents      b == []byte{'b', 'a', 'r' }
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  2. src/archive/zip/writer_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	if err := w.Close(); err != nil {
    		t.Fatal(err)
    	}
    
    	// Add subfolder into fsys to match what we'll read from the tar.
    	tests = append(tests[:2:2], WriteTest{Name: "subfolder", Mode: 0o555 | os.ModeDir}, tests[2])
    
    	// read it back
    	r, err := NewReader(bytes.NewReader(buf.Bytes()), int64(buf.Len()))
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  3. src/archive/tar/tar_test.go

    		}
    		if !v.wantValid {
    			continue
    		}
    		gotAligned := alignSparseEntries(append([]sparseEntry{}, v.in...), v.size)
    		if !slices.Equal(gotAligned, v.wantAligned) {
    			t.Errorf("test %d, alignSparseEntries():\ngot  %v\nwant %v", i, gotAligned, v.wantAligned)
    		}
    		gotInverted := invertSparseEntries(append([]sparseEntry{}, v.in...), v.size)
    		if !slices.Equal(gotInverted, v.wantInverted) {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  4. finisher_api.go

    			}
    		}
    
    		fallthrough
    	default:
    		selectedUpdate := len(tx.Statement.Selects) != 0
    		// when updating, use all fields including those zero-value fields
    		if !selectedUpdate {
    			tx.Statement.Selects = append(tx.Statement.Selects, "*")
    		}
    
    		updateTx := tx.callbacks.Update().Execute(tx.Session(&Session{Initialized: true}))
    
    		if updateTx.Error == nil && updateTx.RowsAffected == 0 && !updateTx.DryRun && !selectedUpdate {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Ascii.java

          }
          // if the length of the toString() result was > maxLength for some reason, truncate that
          seq = string;
        }
    
        return new StringBuilder(maxLength)
            .append(seq, 0, truncationLength)
            .append(truncationIndicator)
            .toString();
      }
    
      /**
       * Indicates whether the contents of the given character sequences {@code s1} and {@code s2} are
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  6. cmd/encryption-v1.go

    				ETag, err := etag.Parse(object.ETag)
    				if err != nil {
    					continue
    				}
    				if ETag.IsEncrypted() {
    					SSES3SinglePartObjects[i] = true
    					metadata = append(metadata, object.UserDefined)
    					buckets = append(buckets, object.Bucket)
    					names = append(names, object.Name)
    				}
    			}
    		}
    
    		// If there are no SSE-S3 single-part objects
    		// we can skip the decryption process. However,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:06:08 UTC 2024
    - 37.2K bytes
    - Viewed (0)
  7. src/main/webapp/WEB-INF/view/common/admin/sidebar.jsp

    					<input class="form-control form-control-sidebar" name="q" id="query"
    						   maxlength="1000"
    						   placeholder="<la:message key="labels.sidebar.placeholder_search" />">
    					<div class="input-group-append">
    						<button class="btn btn-sidebar" type="submit" name="search" id="search-btn">
    							<em class="fa fa-search">
    						</button>
    					</div>
    				</div>
    			</form>
    		</c:if>
    		<nav class="mt-2">
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Apr 15 20:55:28 UTC 2021
    - 17.8K bytes
    - Viewed (0)
  8. cmd/encryption-v1_test.go

    				UserDefined: udMap(true),
    				Parts:       r,
    			}
    		}
    		// Simple useful utilities
    		repeat = func(k int64, n int) []int64 {
    			a := []int64{}
    			for i := 0; i < n; i++ {
    				a = append(a, k)
    			}
    			return a
    		}
    		lsum = func(s []int64) int64 {
    			sum := int64(0)
    			for _, i := range s {
    				if i < 0 {
    					return -1
    				}
    				sum += i
    			}
    			return sum
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 24 04:17:08 UTC 2022
    - 19.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/DoublesTest.java

          StringBuilder escapedInput = new StringBuilder();
          for (char c : input.toCharArray()) {
            if (c >= 0x20 && c <= 0x7E) {
              escapedInput.append(c);
            } else {
              escapedInput.append(String.format("\\u%04x", (int) c));
            }
          }
          fail("FLOATING_POINT_PATTERN should have matched valid input <" + escapedInput + ">");
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

            } catch (final CrawlingAccessException e) {
                if (logger.isInfoEnabled()) {
                    final StringBuilder buf = new StringBuilder(100);
                    buf.append(e.getMessage());
                    if (e.getCause() != null) {
                        buf.append(e.getCause().getMessage());
                    }
                    logger.info(buf.toString());
                } else if (logger.isDebugEnabled()) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 09 09:29:26 UTC 2024
    - 41K bytes
    - Viewed (0)
Back to top