Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SerializeObject (0.15 sec)

  1. platforms/ide/ide-native/src/main/java/org/gradle/ide/xcode/internal/xcodeproj/XcodeprojSerializer.java

            this.gidGenerator = gidGenerator;
        }
    
        /**
         * Generate a plist serialization of project bound to this serializer.
         */
        public NSDictionary toPlist() {
            serializeObject(rootObject);
    
            NSDictionary root = new NSDictionary();
            root.put("archiveVersion", "1");
            root.put("classes", new NSDictionary());
            root.put("objectVersion", "46");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters/writers.go

    		writer = flushwriter.Wrap(w)
    	}
    	io.Copy(writer, out)
    }
    
    // SerializeObject renders an object in the content type negotiated by the client using the provided encoder.
    // The context is optional and can be nil. This method will perform optional content compression if requested by
    // a client and the feature gate for APIResponseCompression is enabled.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 07 18:21:43 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters/writers_test.go

    				ctt.statusCode = http.StatusOK
    			}
    			recorder := &fakeResponseRecorder{
    				ResponseRecorder:   httptest.NewRecorder(),
    				fe:                 encoder,
    				errorAfterEncoding: true,
    			}
    			SerializeObject(ctt.mediaType, encoder, recorder, ctt.req, ctt.statusCode, ctt.object)
    			result := recorder.Result()
    			if result.StatusCode != ctt.wantCode {
    				t.Fatalf("unexpected code: %v", result.StatusCode)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 15.7K bytes
    - Viewed (0)
Back to top