Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 511 - 520 of 1,206 for append (0.04 seconds)

  1. src/test/java/jcifs/smb/SmbFileOutputStreamTest.java

            // Create output stream in append mode - note the append flag sets initial fp to 100
            outputStream = new SmbFileOutputStream(mockFile, mockTreeHandle, mockFileHandle,
                    SmbConstants.O_CREAT | SmbConstants.O_WRONLY | SmbConstants.O_APPEND, SmbConstants.FILE_WRITE_DATA,
                    SmbConstants.DEFAULT_SHARING);
    
            byte[] data = "Appended".getBytes();
    
            // When
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/opensearch/extension/analysis/SynonymLoader.java

                final List<String> rules = Analysis.parseWordList(env, settings, "synonyms", s -> s);
                final StringBuilder sb = new StringBuilder();
                for (final String line : rules) {
                    sb.append(line).append(System.getProperty("line.separator"));
                }
                reader = new StringReader(sb.toString());
            } else if (settings.get("synonyms_path") != null) {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun May 18 02:59:16 GMT 2025
    - 6.7K bytes
    - Click Count (1)
  3. cmd/admin-handlers-users-race_test.go

    		// Init and run test on ErasureSet backend.
    		{serverType: "ErasureSet", signer: signerV4},
    	}
    	testCases := []*TestSuiteIAM{}
    	for _, bt := range baseTestCases {
    		testCases = append(testCases,
    			newTestSuiteIAM(bt, false),
    			newTestSuiteIAM(bt, true),
    		)
    	}
    	for i, testCase := range testCases {
    		etcdStr := ""
    		if testCase.withEtcdBackend {
    			etcdStr = " (with etcd backend)"
    		}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4K bytes
    - Click Count (0)
  4. internal/lru/lru.go

    	maps := make(map[K]V)
    	now := time.Now()
    	for ent := c.evictList.Back(); ent != nil; ent = ent.PrevEntry() {
    		if now.After(ent.ExpiresAt) {
    			continue
    		}
    		maps[ent.Key] = ent.Value
    		// keys = append(keys, ent.Key)
    	}
    	return maps
    }
    
    // Keys returns a slice of the keys in the cache, from oldest to newest.
    // Expired entries are filtered out.
    func (c *LRU[K, V]) Keys() []K {
    	c.mu.RLock()
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  5. internal/bucket/object/lock/lock.go

    	if config.Rule != nil {
    		if config.Rule.DefaultRetention.Mode != "" {
    			parts = append(parts, fmt.Sprintf("Mode: %s", config.Rule.DefaultRetention.Mode))
    		}
    		if config.Rule.DefaultRetention.Days != nil {
    			parts = append(parts, fmt.Sprintf("Days: %d", *config.Rule.DefaultRetention.Days))
    		}
    		if config.Rule.DefaultRetention.Years != nil {
    			parts = append(parts, fmt.Sprintf("Years: %d", *config.Rule.DefaultRetention.Years))
    		}
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  6. internal/s3select/sql/record.go

    			if err != nil {
    				return nil, err
    			}
    			if typ == simdjson.TypeNone {
    				break
    			}
    			v, err := IterToValue(next)
    			if err != nil {
    				return nil, err
    			}
    			dst = append(dst, v)
    		}
    		return dst, err
    	case simdjson.TypeNull:
    		return nil, nil
    	}
    	return nil, fmt.Errorf("IterToValue: unknown JSON type: %s", iter.Type().String())
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/net/MediaType.java

          toString = result;
        }
        return result;
      }
    
      private String computeToString() {
        StringBuilder builder = new StringBuilder().append(type).append('/').append(subtype);
        if (!parameters.isEmpty()) {
          builder.append("; ");
          Multimap<String, String> quotedParameters =
              Multimaps.transformValues(
                  parameters,
                  (String value) ->
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 02 01:46:40 GMT 2025
    - 48K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

                        // add missing '/' between url and path
                        url.append('/');
                    }
    
                    url.append(path);
    
                    // ensure resulting url ends with slash if initial url was
                    if (initialUrlEndsWithSlash && !path.endsWith("/")) {
                        url.append('/');
                    }
                }
            }
    
            @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/UpgradeContext.java

            addInHeader(AttributedStyle.DEFAULT, text);
        }
    
        public void addInHeader(AttributedStyle style, String text) {
            AttributedStringBuilder asb = new AttributedStringBuilder();
            asb.style(style).append(text);
            header.add(asb.toAttributedString());
        }
    
        /**
         * Increases the indentation level for nested logging.
         */
        public void indent() {
            indentLevel++;
        }
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

        public void test_reload_withLargeFile() throws Exception {
            // Create content with many items
            StringBuilder sb = new StringBuilder();
            for (int i = 1; i <= 100; i++) {
                sb.append("test").append(i).append("\n");
            }
    
            // Write content to test file
            writeTestFile(sb.toString());
    
            // Reload the file
            protwordsFile.reload(null);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.2K bytes
    - Click Count (0)
Back to Top