Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 797 for doappend (0.11 sec)

  1. guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

        reader = new CharSequenceReader(charSequence);
        buf = new char[5];
        StringBuilder builder = new StringBuilder();
        int read;
        while ((read = reader.read(buf, 0, buf.length)) != -1) {
          builder.append(buf, 0, read);
        }
        assertEquals(expected, builder.toString());
        assertFullyRead(reader);
    
        // read all to one CharBuffer
        reader = new CharSequenceReader(charSequence);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

        /* The following fails to compile:
         *
         * The method append(Iterable<? extends FluentIterableTest.A>) in the type
         * FluentIterable<FluentIterableTest.A> is not applicable for the arguments
         * (Iterable<FluentIterableTest.B>)
         */
        // FluentIterable.from(aIterable).append(bIterable);
    
        /* The following fails to compile:
         *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  3. internal/lock/lock_test.go

    		if err != nil {
    			t.Fatal(err)
    		}
    	}()
    
    	_, err = LockedOpenFile(f.Name(), os.O_APPEND, 0o600)
    	if err == nil {
    		t.Fatal("Should fail here")
    	}
    }
    
    // Tests lock directory fail.
    func TestLockDirFail(t *testing.T) {
    	d := t.TempDir()
    
    	_, err := LockedOpenFile(d, os.O_APPEND, 0o600)
    	if err == nil {
    		t.Fatal("Should fail here")
    	}
    }
    
    // Tests rwlock methods.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  4. internal/kms/secret-key.go

    			// In such a case, parsing will fail but we must not return an error. Instead
    			// we return the ciphertext as it is.
    			return b, kms.AES256
    		}
    
    		b = b[:0]
    		b = append(b, c.Bytes...)
    		b = append(b, c.IV...)
    		b = append(b, c.Nonce...)
    		return b, c.Algorithm
    	}
    	return b, kms.AES256
    }
    
    // ciphertext is a structure that contains the encrypted
    // bytes and all relevant information to decrypt these
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. internal/bucket/replication/replication.go

    		if obj.OpType == ResyncReplicationType || obj.OpType == AllReplicationType {
    			rules = append(rules, rule)
    			continue
    		}
    		if obj.ExistingObject && rule.ExistingObjectReplication.Status == Disabled {
    			continue
    		}
    		if !strings.HasPrefix(obj.Name, rule.Prefix()) {
    			continue
    		}
    		if rule.Filter.TestTags(obj.UserTags) {
    			rules = append(rules, rule)
    		}
    	}
    	sort.Slice(rules, func(i, j int) bool {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 28 17:44:56 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  6. cmd/server-main.go

    	}
    
    	if cf.Options.FTP.Address != "" {
    		ctxt.FTP = append(ctxt.FTP, fmt.Sprintf("address=%s", cf.Options.FTP.Address))
    	}
    	if cf.Options.FTP.PassivePortRange != "" {
    		ctxt.FTP = append(ctxt.FTP, fmt.Sprintf("passive-port-range=%s", cf.Options.FTP.PassivePortRange))
    	}
    
    	if cf.Options.SFTP.Address != "" {
    		ctxt.SFTP = append(ctxt.SFTP, fmt.Sprintf("address=%s", cf.Options.SFTP.Address))
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (1)
  7. src/main/java/org/codelibs/fess/util/InputStreamThread.java

                    }
                }
            }
        }
    
        public String getOutput() {
            final StringBuilder buf = new StringBuilder(100);
            for (final String value : list) {
                buf.append(value).append("\n");
            }
            return buf.toString();
        }
    
        public boolean contains(final String value) {
            for (final String line : list) {
                if (line.trim().equals(value)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. cmd/local-locker.go

    			if len(*lri) == 1 {
    				// Remove the write lock.
    				delete(l.lockMap, name)
    			} else {
    				// Remove the appropriate read lock.
    				*lri = append((*lri)[:index], (*lri)[index+1:]...)
    				l.lockMap[name] = *lri
    			}
    			delete(l.lockUID, formatUUID(args.UID, entry.idx))
    			return true
    		}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/endtoend_test.go

    			switch c {
    			case '{', '[':
    				nest++
    			case '}', ']':
    				nest--
    			case ',':
    				buf = append(buf, ',')
    				if nest == 0 {
    					buf = append(buf, ' ')
    				}
    				for i+1 < len(printed) && (printed[i+1] == ' ' || printed[i+1] == '\t') {
    					i++
    				}
    				continue
    			}
    			buf = append(buf, c)
    		}
    
    		f := strings.Fields(string(buf))
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Dec 07 18:42:59 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/orig/view/profile/index.jsp

    							<la:message key="labels.profile.placeholder_old_password" />
    						</c:set>
    						<la:password property="oldPassword" class="form-control"
    									 placeholder="${ph_old_password}" />
    						<div class="input-group-append">
    							<span class="input-group-text"><em class="fa fa-lock fa-fw"></span>
    						</div>
    					</div>
    					<div class="input-group mb-3">
    						<c:set var="ph_new_password">
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top